Comment on FORTH? Really!?Comments−anthk7moMuxleq and Subleq:https://github.com/howerj/subleqhttps://github.com/howerj/muxleqMuxleq because of performance: cd muxleq cc -O2 -ffast-math -o muxleq muxleq.c Edit muxleq.fth, set these values like this: 1 constant opt.multi ( Add in large "pause" primitive ) 1 constant opt.editor ( Add in Text Editor ) 1 constant opt.info ( Add info printing function ) 0 constant opt.generate-c ( Generate C code ) 1 constant opt.better-see ( Replace 'see' with better version ) 1 constant opt.control ( Add in more control structures ) 0 constant opt.allocate ( Add in "allocate"/"free" ) 1 constant opt.float ( Add in floating point code ) 0 constant opt.glossary ( Add in "glossary" word ) 1 constant opt.optimize ( Enable extra optimization ) 1 constant opt.divmod ( Use "opDivMod" primitive ) 0 constant opt.self ( self-interpreter [NOT WORKING] ) Then run:./muxleq ./muxleq.dec < muxleq.fth > new.decnew.dec it's the enhanced SUBLEQ EForth image.To run it: ./muxleq new.dec For the available words, run words inside the interpreter.Enter bye to exit.Get Starting Forth but the ANS version (there's some PDF in search engines) and Thinking Forth.
Comments
Muxleq and Subleq:
https://github.com/howerj/subleq
https://github.com/howerj/muxleq
Muxleq because of performance:
Edit muxleq.fth, set these values like this: Then run:./muxleq ./muxleq.dec < muxleq.fth > new.dec
new.dec it's the enhanced SUBLEQ EForth image.
To run it:
For the available words, run inside the interpreter.Enter
to exit.Get Starting Forth but the ANS version (there's some PDF in search engines) and Thinking Forth.