| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-05-01 | Silence parser conflicts caused by IF NOT | Bert Münnich | |
| 2018-03-26 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-03-20 | whitespace cleanup | Toby Goodwin | |
| 2018-03-05 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-03-02 | Unify bodies of if and if-else statements | Bert Münnich | |
| Fixes issue #31 of rakitzis/rc. | |||
| 2018-02-09 | wip | Toby Goodwin | |
| 2017-06-23 | fix prefix redir precedence bug, github #33 | Toby Goodwin | |
| 2017-04-17 | Parse equals sign as keyword | Bert Münnich | |
| The parser treats unexpected keyword tokens (eg. if, while, ~) as literals and not as syntax errors. It does not do this for the equals sign, but it could, as it only has a special meaning at the beginning of a command, much like the keywords. Doing this allows one to write commands like this: dd if'='/dev/zero of'='data bs'='1024 count'='1 without the quotes around the equals signs. All shells from the Bourne family do this. For this to work, the lexer must not automatically terminate words at equals signs, instead it has to generate a free caret around it like for the twiddle and other such special characters. In the parser's grammar we need to get rid of the left recursion in the rules for 'simple' to turn the reduce/reduce conflict at 'first' on '=' (empty -> 'optcaret' or 'first' -> 'simple') into a shift/reduce conflict, which then can be solved with precedence/associativity so that the reduction of the empty 'optcaret' wins over shifting '='. | |||
| 2015-05-16 | Bug: more wrongly ordered header file includes (thanks Callum | tjg | |
| Gibson). | |||
| 2015-05-16 | Bug: it's no longer possible to use parentheses to sneak a word that | tjg | |
| needs quoting past the "quoting detector", so `fn x { echo $(x.y) }' now works both in the current rc and its descendants. | |||
| 2015-05-16 | remove all equals hacks! | tjg | |
| 2015-05-16 | yet another go at equals hack | tjg | |
| 2015-05-16 | another attempt at the equals hack | tjg | |
| 2015-05-16 | new equals hack | tjg | |
| 2015-05-16 | Feature: the "equals hack". | tjg | |
| 2015-05-16 | remove lint definition | tgoodwin | |
| 2015-05-16 | Initial revision | tgoodwin | |
| 2015-05-16 | Initial revision | tim | |
| 2015-05-16 | release: rc-1.4 | Byron Rakitzis | |