etaoins / llambda

Scheme R7RS frontend for LLVM
Other
69 stars 6 forks source link

Investigate parser performance #17

Closed etaoins closed 10 years ago

etaoins commented 10 years ago

Currently the compiler spends most of its time parsing Scheme code. As the standard library grows and incorporates more functionality implemented in Scheme this will become worse.

At the same time support for datum labels and case sensitivity directives should be considered.

It would be interesting to use a common definition that could generate code both for Scala and for C++. This could be used to implement (read).

etaoins commented 10 years ago

The parser has been rewritten to use parboiled2. Performance is improved immensely without any functional regression.