Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Parser&Walker: Support nested command substitutionHEADmaster | André Aparício | 2012-08-19 | 2 | -4/+13 |
| | |||||
* | Walker: Support string operations on arrays | André Aparício | 2012-08-19 | 1 | -35/+48 |
| | | | | | When a variable expansion applies some string operation like replace on the whole array, apply the operation to every element in the array. | ||||
* | Merge remote-tracking branch 'aparicio/multiline_string_declaration' | Petteri Räty | 2012-08-19 | 1 | -1/+9 |
|\ | |||||
| * | Parser: Accept semicolons inside builtin variable definitions | André Aparício | 2012-08-03 | 1 | -0/+1 |
| | | |||||
| * | Parser: Multiline string declaration | André Aparício | 2012-08-03 | 1 | -1/+8 |
| | | | | | | | | Support quoted strings line breaks in builtin variable definitions | ||||
* | | Parser: Support line break after pipe | André Aparício | 2012-08-19 | 2 | -1/+2 |
| | | |||||
* | | Parser: Support appending strings with special characters | André Aparício | 2012-08-09 | 1 | -2/+2 |
|/ | |||||
* | Walker: Fix appending to an array of size 1 | André Aparício | 2012-08-03 | 1 | -1/+1 |
| | |||||
* | Parser&Walker: Escape ' | André Aparício | 2012-08-03 | 2 | -1/+3 |
| | |||||
* | Parser&Walker: Escape '[' and ']' | André Aparício | 2012-08-03 | 2 | -1/+5 |
| | |||||
* | Parser&Walker: Support redirection | André Aparício | 2012-08-03 | 12 | -48/+63 |
| | | | | | | | The order of the arguments for commands in the AST was changed, it was 'command_atom redirection', and now it's 'redirection command_atom'. This is due to the need of having the redirection set before evaluating the expression. | ||||
* | Walker: Support local declaration inside eval | André Aparício | 2012-07-20 | 1 | -1/+1 |
| | |||||
* | Parser: Support line continuation inside keyword test | André Aparício | 2012-07-20 | 1 | -2/+2 |
| | |||||
* | Builtin: Support variable declarations in declare | André Aparício | 2012-07-20 | 2 | -3/+7 |
| | |||||
* | Parser&Walker: Support for loop without list | André Aparício | 2012-07-08 | 2 | -7/+11 |
| | |||||
* | Walker: Improve command list to support "command && command && command" | André Aparício | 2012-07-08 | 1 | -3/+4 |
| | |||||
* | Builtin: Implement set builtin | André Aparício | 2012-07-03 | 1 | -1/+1 |
| | |||||
* | Parser&Walker: improve escaped double quote handling | Mu Qiao | 2012-03-26 | 3 | -2/+4 |
| | |||||
* | Walker: support appending array to array | Mu Qiao | 2012-03-26 | 1 | -7/+22 |
| | |||||
* | Parser: allow ';' after local and export | Mu Qiao | 2012-03-26 | 2 | -1/+3 |
| | |||||
* | Walker: fix single quoted argument handling | Mu Qiao | 2012-03-26 | 1 | -0/+1 |
| | |||||
* | Walker: allow empty case command | Mu Qiao | 2012-03-02 | 1 | -1/+2 |
| | |||||
* | Parser&Walker: support literals in regular exp | Mu Qiao | 2012-03-02 | 3 | -2/+12 |
| | |||||
* | Walker: allow bash expansions in regular expressions | Mu Qiao | 2012-03-02 | 1 | -1/+3 |
| | |||||
* | Parser: Allow EOLs in builtin array definition | Mu Qiao | 2012-03-01 | 2 | -1/+24 |
| | |||||
* | Parser: allow empty replacement pattern | Mu Qiao | 2012-03-01 | 2 | -1/+5 |
| | |||||
* | Parser: allow multiple operands in test expression | Mu Qiao | 2012-03-01 | 2 | -4/+8 |
| | |||||
* | Parser: allow ANSI C quoting in expansion values | Mu Qiao | 2012-03-01 | 2 | -1/+3 |
| | |||||
* | Walker: support indirect ref in runtime | Mu Qiao | 2012-03-01 | 1 | -1/+1 |
| | |||||
* | Parser: support indirect ref in parameter expansion | Mu Qiao | 2012-03-01 | 2 | -0/+18 |
| | |||||
* | Parser: allow double quotes in arithmetic expression | Mu Qiao | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Parser&Walker: allow multiple arithmetic expressions | Mu Qiao | 2012-02-28 | 10 | -125/+145 |
| | |||||
* | Parser&Walker: respect precedence in builtin test | Mu Qiao | 2012-02-23 | 3 | -17/+29 |
| | | | | | Builtin test does not support shortcut capability. Tests are added to verify that. | ||||
* | Walker: support shortcut in keyword test | Mu Qiao | 2012-02-23 | 1 | -2/+14 |
| | |||||
* | Parser: respect operator precedence in keyword test | Mu Qiao | 2012-02-23 | 2 | -1/+6 |
| | |||||
* | Build: install public headers | Mu Qiao | 2011-08-03 | 1 | -1/+1 |
| | | | | We need to put all public headers into the include directory. | ||||
* | Parser: improve the rule for regular expression | Mu Qiao | 2011-08-02 | 1 | -3/+11 |
| | |||||
* | Parser: allow 'function' to be string literal | Mu Qiao | 2011-08-02 | 5 | -19/+22 |
| | |||||
* | Parser: allow 'test' to be string literal | Mu Qiao | 2011-08-02 | 3 | -5/+15 |
| | |||||
* | Walker: support expansions without colon | Mu Qiao | 2011-08-02 | 1 | -3/+26 |
| | |||||
* | Parser: split token compositions | Mu Qiao | 2011-08-02 | 1 | -4/+4 |
| | | | | | '<=' will generate one token so that some expressions cannot be fully parsed. Now '>=' and '<=' are split to parse these expressions. | ||||
* | Parser: make spaces around < and > optional | Mu Qiao | 2011-08-02 | 2 | -8/+10 |
| | | | | | Only < and > is optional for keyword test. Some unit tests in cond_main.gunit are fixed. | ||||
* | Parser: support ${?} | Mu Qiao | 2011-08-02 | 2 | -0/+2 |
| | |||||
* | Parser: support process sub as redirection dest | Mu Qiao | 2011-08-02 | 2 | -4/+11 |
| | |||||
* | Walker: support brace expansion for local and export | Mu Qiao | 2011-08-02 | 4 | -7/+9 |
| | |||||
* | Builtin: reimplement the local built-in | Mu Qiao | 2011-08-02 | 4 | -22/+27 |
| | | | | | | | Now the local built-in is not handled only in parser grammar so that expansions can happen for the arguments. '=' is not checked in the local and export built-in anymore because we do not generate empty AST for "export foo". | ||||
* | Parser: support empty command with redirection | Mu Qiao | 2011-08-02 | 2 | -11/+29 |
| | | | | | | Now only '>' is supported because there would be a lot of conflicts if we want to fully support this. Also the operator other than '>' doesn't make sense. | ||||
* | Parser: improve exported variable handling | Mu Qiao | 2011-08-02 | 1 | -6/+7 |
| | | | | | | The double quotes were not reserved when calling export. So when the walker called back to parser, the white spaces inside double quotes would be problematic. Now this is fixed. | ||||
* | Parser: put includes to more proper place | Mu Qiao | 2011-08-02 | 1 | -1/+2 |
| | |||||
* | Parser: make the lexer code thread-safe | Mu Qiao | 2011-08-02 | 1 | -5/+22 |
| |