clseibold / Lydrige

Lydrige is a simple statically typed interpreted programming language inspired by lisp and C.
https://www.krixano.x10host.com/projects/Lydrige/
MIT License
6 stars 0 forks source link

Parsing and Reading Lag #1

Open ghost opened 8 years ago

ghost commented 8 years ago

There is a big lag that happens when beginning the program, or when running a file. I have already identified that part of the problem is the parsing of lambdas. By removing the ability to use symbols and sexpressions for lambda arguments and bodies, we can decrease the time it takes to run test2.lydg by around .5 seconds!

ghost commented 8 years ago

I am currently rewriting all of the parsing and evaluation code, along with the majority of the built-in functions (and how arguments are handled), which will be in the new version (v0.6.0). Hopefully, this will greatly reduce the lag with the parsing and evaluation of code.