Re:Retro: A Modern, Pragmatic Forth
by RodgerTheGreat on Thursday May 23, 2019 @10:10PM
(#19997895)
It's also important to observe that Forth's approach to metaprogramming is very powerful, but completely different from Lisp's approach. It's not just another retread of the same ideas. CREATE...DOES>, immediate words, parsing words, fancy tricks with the rstack and other fun Forth stuff has at best very loose analogs in Lisp macros.
[ Parent
| on HN ]
Where could I get a good tutorial on Forth metaprogramming?
Re:Retro: A Modern, Pragmatic Forth
by RodgerTheGreat on Friday May 24, 2019 @05:39PM
(#20005523)
I think the late J.V. Noble's "A Beginner's Guide to Forth" does a good job introducing the language and touching on some metaprogramming features. Near the end he demonstrates a library which extends the language to support infix math expressions (a "FORTRAN") to make scientific computing more convenient.
https://www.taygeta.com/fsl/docs/551.jvn.fall01/primer.htm#c...