nixpulvis / oursh

Your comrade through the perilous world of UNIX.
http://nixpulvis.com/oursh/oursh
MIT License
67 stars 6 forks source link

Custom Lexer #37

Closed nixpulvis closed 5 years ago

nixpulvis commented 5 years ago

Define and lex our own set of custom Token types. This will allow us to match on whitespace and handle words correctly in the future. Additional changes to the lexer will be needed after this PR to support IO redirection, and variables/environments.

fixes #22