Language now uses full grammar
This commit is contained in:
@@ -4,4 +4,4 @@ product : <value> (('*' | '/') <value>)*;
|
||||
|
||||
value : /[0-9]+/ | '(' <expression> ')';
|
||||
|
||||
maths : /^\\w*/ <expression> /\\w*$/;
|
||||
maths : /^/ <expression> /$/;
|
Reference in New Issue
Block a user