Source

sh142 / src / main.c

Author Commit Message Labels Comments Date
Steven! Ragnarök
Chomp input from files.
Steven! Ragnarök
Break main into functions, add config file loading.
Steven! Ragnarök
Interpreter sets exit status variables.
Steven! Ragnarök
Add value and variable parsing. There's currently a bug in interpreting though.
Steven! Ragnarök
Add Tokenizer. This tokenizer splits on spaces only and uses a linked list implementation defined in sh142types.h. The reason for the switch is to make popping values off the front of the list easier. It also means we have to clean up our linked list after parsing.
Steven! Ragnarök
Add a great many examples.
Steven! Ragnarök
Many updates.
Steven! Ragnarök
Big update. Reshuffle file heirarchy completely. The makefile has been greatly enhanced and generified. There are several new folders of note. - bin : The location of the compiled sh142 binary - dylibs : Dynamic libraries generated for unit testing - examples : Just me messing around, but could be useful example code - features : The Cucumber features describing the shell - include : Location for header files to be stored - obj : Object code gen…