nlfiedler / bakeneko

Scheme R7RS interpreter in Go
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Compile bundled Scheme and save to disk #52

Open nlfiedler opened 10 years ago

nlfiedler commented 10 years ago

Once quasi-quotation and hygienic macros are supported, most of the derived expressions in Scheme can be implemented within Scheme source files that are bundled with bakeneko. To save time, this code should be compiled and saved to disk so subsequent runs do not need to compile the same code again. This compiled code could be saved on disk somewhere under GOPATH (e.g. bin/data); saving to the source path would be a bad idea since it modifies the version-controlled working tree. Check out go.rice [1] for ideas on the best way to do this.

[1] https://github.com/GeertJohan/go.rice