Conversation
ooo mecrisp-across is really neat. a proper optimizing forth environment running in a tethered arrangement so when you define a function its created and optimised on your powerful host computer before its written to the microcontroller's flash via jtag
2
0
1
beanforth's scope creeps on and on forever
0
0
1
@coolbean mecrisp code i've looked at was prob some of the nicest forth i've seen
1
0
1
@coolbean if you wanna look at optimizing forths, flk is also interesting iirc. But it's more for bigger self hosted systems
1
0
1
@snacks ive never even considered that this is a thing tbh
1
0
1
@snacks like it makes sense once you remember that with llvm for instance, you implement a language by like turning the code into llvm intermediary representation and then thats what actually gets optimised so having a forth that compiles to intermediary representation instead of assembly just kinda works out
2
0
1
@snacks im gonna have to write a qbe forth, im afraid

q4th
1
0
1
@coolbean i've also seen people cross compile forth to c so they could use gcc lmao
1
0
1
@snacks i mean ghc also uses a subset of c as its intermediary representation
1
0
1
@snacks quake 3 uses its compiler intermediary representation for the qvm
0
0
1
@snacks update: hold the fuck on i could implement this as a set of m4 macros thatd be so fucking funny
1
0
0