NHacker Next
login
▲Compiling a Forthhealeycodes.com
16 points by healeycodes 16 hours ago | 3 comments
Loading comments...
codr7 3 minutes ago [-]
Forth is a great starting point for designing interpreters/languages.

A while ago I tried to put together a kit to make it easier to get started writing interpreters:

https://github.com/codr7/shi

roggenbuck 4 minutes ago [-]
This was a well written post! It makes me want to create my own forth-like language
Quitschquat 30 minutes ago [-]
I don’t think a tokenizer like that is a good idea for Forth. You’ve got to read the next space separated thing, find out if it’s supposed to be compiled or run.

Eg the naive tokenizer would probably not work for .” for example.