|
|
|
|
|
by tehologist
1252 days ago
|
|
I didn't really understand forth till I tried implementing eforth in c. https://github.com/tehologist/forthkit Managed to write a compiler/interpreter that could understand enough forth to implement the entire system. Less than 500 lines and only uses stdio.h and compiles using TCC https://bellard.org/tcc/ That was so much fun I built a second one in under 300 lines of javascript for experimenting with canvas api in web browser. Single file doesn't require a server, you can drag and drop code onto text window. https://github.com/tehologist/ecma6-forth Runs standalone, I want to get back to it again. |
|