irken-compiler
irken-compiler copied to clipboard
modernize the source to the compiler
Over the years, many new features have been added, but older source files often do not utilize these features. The most glaring example is the print-insn function in cps.scm, which really needs to be rewritten using printf/format/etc...
Another example: use fold/foldr rather than explicit loops when reasonable.