aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
AgeCommit message (Collapse)Author
2021-12-10Checkin: small sprawling updatesNicholas Noll
Small touches to multiple locations in base. Nothing major
2021-12-05Chore: updated fs·walk to use new data structuresNicholas Noll
Completes the port to our standard library (up to malloc).
2021-12-05feat(huge): huge refactor (in progress).Nicholas Noll
Commented out libc includes to uncover all explicit dependencies. A large fraction has now been ported over (no testing). I did not port over the command line tools, such as the rc shell. These will be done independently - as of now I just want the library to stand independent. Compilation currently fails due to the lack of math functions.
2021-12-05Feat: libbase partitioning. Cleaned up hash map macros.Nicholas Noll
Additionally, fixed varargs cleanup when done with fmt.write. Some system constants were added to allow for directory walking.
2021-12-04chore(rm): removed small os package. moved functions to filesystemNicholas Noll
2021-12-04Chore(REMOVE): finished deprecation of old io functions.Nicholas Noll
The old methods were simple wrappers of C standard library functions. We've moved (painfully) over to a new interface that allows for files to live on the stack. All users of the functionality are ported over.
2021-12-02Chore(config): changed font sizes for desktopNicholas Noll
Also updated libraries in makefiles that were deprecated.
2021-11-20chore: simplify makefilesNicholas
2021-11-20Chore: reorganize libutf and libfmt into baseNicholas
I found the split to be arbitrary. Better to include the functionality in the standard library. I also split the headers to allow for more granular inclusion (but the library is still monolithic). The only ugliness is the circular dependency introduced with libutf's generated functions. We put explicit prereqs with the necessary object files instead.
2021-11-17fix: mkfile namesNicholas
2021-11-17checkinNicholas
2021-11-16checkinNicholas Noll
2021-11-16Feat: added fd duplicationsNicholas Noll
2021-11-16chore: integrated redir codeNicholas Noll
2021-11-16Feat: added heredocsNicholas Noll
Heredocs are simply strings written to tmp files. There was minimal bug testing here. Also, various bug fixes are included
2021-11-15Feat: added functionsNicholas
2021-11-15Feat: added match keywordNicholas
However, it is not tested in the slightest.
2021-11-15Feat: globbingNicholas
Introduced shell globbing
2021-11-15Feat: added if/else branching and switch statementNicholas
Unsure about my modification to the language. I found the parsing of the case body within switches to be odd - specifically that it parses liberally and then checks that it has case -> cmd structuring while it walks the code. This means the language is more permissive than the semantics. I modified it to be more explicit, but at the cost of having to end each case statement with a semicolon. I wanted a colon, but this is a valid word character and thus will be lexed as part of the word.
2021-11-12chore: error->intNicholas
2021-11-12chore: simplified organizational structurelaptopNicholas