charly-lang / charly

🐈 The Charly Programming Language | Written by @KCreate
https://charly-lang.github.io/charly/
MIT License
199 stars 10 forks source link

Argument order is switched with nested call expressions #35

Closed KCreate closed 7 years ago

KCreate commented 7 years ago

This is how the code should run

test(1)(2)(3)

This is how it behaves:

test(3)(2)(1);

This is most likely a bug caused by recursion in the parsing of call expressions.