4 ms·
https://github.com/tehologist/forthkit https://github.com/tehologist/forthkit I did exactly this, was curious if I could write an outer and inner interpreter i
by tehologist 9y ago
https://github.com/tehologist/forthkit https://github.com/tehologist/forthkit
I did exactly this, was curious if I could write an outer and inner interpreter in pure c in under 500 lines with only 5 c functions. I then used that to boot strap an image that can run using only the inner interpreter.
http://chiselapp.com/user/tehologist/repository/compc/index http://chiselapp.com/user/tehologist/repository/compc/index
Also several experimental versions. Final version includes a pdf that documents how the c code works.