masak / bel

An interpreter for Bel, Paul Graham's Lisp language
GNU General Public License v3.0
27 stars 1 forks source link

Add a bytecode compiler #362

Closed masak closed 3 years ago

masak commented 3 years ago

Closes #106.

This is a good first stab at things, but a number of improvements can be done, mostly to reduce technical debt:

None of this needs to happen before merge, but can serve as a list of good ideas for the near future.

Oh, but there is an XXX case introduced in the code which I would like to fix before merge. Mostly because that one is easy to fix, and orthogonal to everything else. Just need an additional test file for it. Fixed!