a good stab at array anf hash constants

This commit is contained in:
Torsten Ruger
2014-05-12 21:36:38 +03:00
parent 25a7c3ea68
commit fdb5dd4f67
14 changed files with 126 additions and 24 deletions

View File

@@ -2,7 +2,7 @@ module Parser
module Expression
include Parslet
rule(:simple_expression) { function_call | integer | string | name }
rule(:value_expression) { function_call | basic_type }
rule(:expression) { (while_do | conditional | operator_expression | function_call ) >> newline }