Commit Graph

14 Commits

Author SHA1 Message Date
Kelvin Sherlock 33dd3228f8 update the parser/lexer to make it more reusable. For example, subshells are now handled. 2016-08-16 16:47:20 -04:00
Kelvin Sherlock 56f945ce29 simplify argv0 lookup a little bit. 2016-07-28 16:30:17 -04:00
Kelvin Sherlock 0524d10590 parse | pipe lines. 2016-07-26 14:20:11 -04:00
Kelvin Sherlock c28cfb0710 rewrite phase-2 lexical analysis. It splits on ; ( ) || && and I've deferred the invalid string checks until later. 2016-07-23 11:54:46 -04:00
Kelvin Sherlock b4db751cbe fix parenthesis processing. left-paren is only a command when it's argv0. Otherwise it's a normal character. (but must be balanced with right-paren to know when right-paren is a separator. ). 2016-06-26 13:04:32 -04:00
Kelvin Sherlock ef99bb40de version bump 2016-06-16 21:55:39 -04:00
Kelvin Sherlock 92ddf18766 FOR var IN ... ; END support. 2016-06-16 00:04:29 -04:00
Kelvin Sherlock 322a32af65 support for Loop ... End, Break, and Continue. 2016-06-15 23:01:03 -04:00
Kelvin Sherlock f58f6d4115 fixes for travis ci / abort support. 2016-02-05 12:42:22 -05:00
Kelvin Sherlock 475bd392ad process vector of commands all at once. 2016-02-02 16:20:32 -05:00
Kelvin Sherlock 5723656988 lots of updates! 2016-02-01 20:38:29 -05:00
Kelvin Sherlock 1219a40d07 phase parsing improvements 2016-01-31 00:41:02 -05:00
Kelvin Sherlock bc2a530355 update phase2 2016-01-30 12:44:42 -05:00
Kelvin Sherlock 2157dc0ba8 pipe-lined lexing/parsing. 2016-01-29 22:23:14 -05:00