ftomassetti / LangSandbox

Project to illustrate how to build a programming language
Apache License 2.0
694 stars 90 forks source link

UnaryMinusExpression not implemented #5

Open AlexP11223 opened 7 years ago

AlexP11223 commented 7 years ago

Am I missing something or did you forget about UnaryMinusExpression? Looks like it's not created anywhere in mapping, and there are no tests for it.

ftomassetti commented 7 years ago

Well, this code was written to illustrate some tutorials so it is not complete. I will add the mapping for the UnaryMinusExpression