-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error in Functions #140
Comments
There are more such bugs... I was very surprised to see that the evaluator not uses a parser. (It must not be a 1 file project, you could manage code easier if it would be splitted (node lexer parser definitions etc.) You can combine them easy with a regex for a 1 file version) |
I see now #58... I coded such a parser once, only for math expresions. But it was at the beginning of my c# lerning, so the code is terrible and I can not but it in to public. But I can sey, your project would greatly benefit from a tree parser. Hope you can upgrade it. You will need then less code and coplexity. |
@Alisis33 feel free to check https://github.com/WattleScript/wattlescript. Currently I'm working on gradual typing, help is welcome :) @codingseb in case you'd be interested we would definitely welcome your contributions as well <3 |
The evaluator not throw a exeption it too many parameters ar given.
Sin(1,2,3,4)
(Similar to Sign error 1 * ---+-+-2)
The text was updated successfully, but these errors were encountered: