Open Thaina opened 5 years ago
@sklose
Will changing this
To this
NAME : '[' ( (options {greedy=false;} : ~('[' | ']')*) NAME* )* ']'
;
Did the job?
Today I have clone your repo and change it to antlr4
This rule work for me
NAME : '[' (~('[' | ']') | NAME)*? ']'
;
If you interest https://github.com/Thaina/NCalc2
@Thaina, I believe it'll be better to use EvaluateOptions.IterateParameters
like this:
I wish I could write parameter name with bracket like this
If possible I would like to have it allow arbitrary nested bracket