aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Parser&Walker: Support nested command substitutionHEADmasterAndré Aparício2012-08-192-4/+13
|
* Walker: Support string operations on arraysAndré Aparício2012-08-191-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äty2012-08-191-1/+9
|\
| * Parser: Accept semicolons inside builtin variable definitionsAndré Aparício2012-08-031-0/+1
| |
| * Parser: Multiline string declarationAndré Aparício2012-08-031-1/+8
| | | | | | | | Support quoted strings line breaks in builtin variable definitions
* | Parser: Support line break after pipeAndré Aparício2012-08-192-1/+2
| |
* | Parser: Support appending strings with special charactersAndré Aparício2012-08-091-2/+2
|/
* Walker: Fix appending to an array of size 1André Aparício2012-08-031-1/+1
|
* Parser&Walker: Escape 'André Aparício2012-08-032-1/+3
|
* Parser&Walker: Escape '[' and ']'André Aparício2012-08-032-1/+5
|
* Parser&Walker: Support redirectionAndré Aparício2012-08-0312-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 evalAndré Aparício2012-07-201-1/+1
|
* Parser: Support line continuation inside keyword testAndré Aparício2012-07-201-2/+2
|
* Builtin: Support variable declarations in declareAndré Aparício2012-07-202-3/+7
|
* Parser&Walker: Support for loop without listAndré Aparício2012-07-082-7/+11
|
* Walker: Improve command list to support "command && command && command"André Aparício2012-07-081-3/+4
|
* Builtin: Implement set builtinAndré Aparício2012-07-031-1/+1
|
* Parser&Walker: improve escaped double quote handlingMu Qiao2012-03-263-2/+4
|
* Walker: support appending array to arrayMu Qiao2012-03-261-7/+22
|
* Parser: allow ';' after local and exportMu Qiao2012-03-262-1/+3
|
* Walker: fix single quoted argument handlingMu Qiao2012-03-261-0/+1
|
* Walker: allow empty case commandMu Qiao2012-03-021-1/+2
|
* Parser&Walker: support literals in regular expMu Qiao2012-03-023-2/+12
|
* Walker: allow bash expansions in regular expressionsMu Qiao2012-03-021-1/+3
|
* Parser: Allow EOLs in builtin array definitionMu Qiao2012-03-012-1/+24
|
* Parser: allow empty replacement patternMu Qiao2012-03-012-1/+5
|
* Parser: allow multiple operands in test expressionMu Qiao2012-03-012-4/+8
|
* Parser: allow ANSI C quoting in expansion valuesMu Qiao2012-03-012-1/+3
|
* Walker: support indirect ref in runtimeMu Qiao2012-03-011-1/+1
|
* Parser: support indirect ref in parameter expansionMu Qiao2012-03-012-0/+18
|
* Parser: allow double quotes in arithmetic expressionMu Qiao2012-02-291-1/+1
|
* Parser&Walker: allow multiple arithmetic expressionsMu Qiao2012-02-2810-125/+145
|
* Parser&Walker: respect precedence in builtin testMu Qiao2012-02-233-17/+29
| | | | | Builtin test does not support shortcut capability. Tests are added to verify that.
* Walker: support shortcut in keyword testMu Qiao2012-02-231-2/+14
|
* Parser: respect operator precedence in keyword testMu Qiao2012-02-232-1/+6
|
* Build: install public headersMu Qiao2011-08-031-1/+1
| | | | We need to put all public headers into the include directory.
* Parser: improve the rule for regular expressionMu Qiao2011-08-021-3/+11
|
* Parser: allow 'function' to be string literalMu Qiao2011-08-025-19/+22
|
* Parser: allow 'test' to be string literalMu Qiao2011-08-023-5/+15
|
* Walker: support expansions without colonMu Qiao2011-08-021-3/+26
|
* Parser: split token compositionsMu Qiao2011-08-021-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 > optionalMu Qiao2011-08-022-8/+10
| | | | | Only < and > is optional for keyword test. Some unit tests in cond_main.gunit are fixed.
* Parser: support ${?}Mu Qiao2011-08-022-0/+2
|
* Parser: support process sub as redirection destMu Qiao2011-08-022-4/+11
|
* Walker: support brace expansion for local and exportMu Qiao2011-08-024-7/+9
|
* Builtin: reimplement the local built-inMu Qiao2011-08-024-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 redirectionMu Qiao2011-08-022-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 handlingMu Qiao2011-08-021-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 placeMu Qiao2011-08-021-1/+2
|
* Parser: make the lexer code thread-safeMu Qiao2011-08-021-5/+22
|