eldoy / weblang

Low code programming language for safe, portable and efficient code.
https://weblang.org
MIT License
3 stars 0 forks source link

Error handling, display name of function that failed? #5

Open eldoy opened 2 years ago

eldoy commented 2 years ago

And error function passed to extension? Same for log?

eldoy commented 1 year ago

Need to know exactly which line of code that failed, along with the function. This may be more complicated due to the support of dot-notation. Build something like an AST before run? Can be faster as well, since the program gets "compiled" and can (possibly) be cached.