I read this guide, but I'm still thinking about a few problems. http://www.eighty-twenty.org/repos/jone ... nesforth.S I never used pbForth or made a compiler before, so any help is appreciated.
First of all, NBC is a fairly high level assembly, if such a thing exists

It is quite easy to use arrays for the stacks, but there are a few difficulties.
One problem is the immediate mode. It is troublesome to evaluate code on the NXT, even more so because it is not possible to allocate memory on runtime. No doubt someone has tackled the problem of AOTing Forth, but I haven't figured it out yet. It would be cool to have a REPL on the NXT though.
Most Forth implementations use an indirect threaded interpreter. One option is that I use subroutines and forget about it, the other is filling my code with labels. Or is there a reliable way to do the required pointer magic in NBC?