3 ms·
Not to be confused with Forthon.
by DonHopkins 4y ago
Not to be confused with Forthon.
- timbit42 4y agoSo a Python interpreter implemented in Forth? That reminds me of some code I came across one time which was a BASIC implemented in Forth. It was less than 100 lines of code, which I thought was impressive.
- lebuffon 4y agoI believe the first version of that interpreter was written by Charles Moore himself. "Lines" in Forth are rather fluid but I have a version here that is 154 lines when formatted as a text file rather than 1K disk blocks.
- 6177c40f 4y agoI read that initially as "Forthtran" and I can't tell if that sounds like a good idea or an awful one
- throwaway17_17 4y agoA compiled, number crunching dialect of Forth with a very good vocabulary (and the accompanying semantics) for n-dimensions matrix calculations sounds pretty neat. I’m surprised no one jumped in with a an APL reference, however there are some significant differences between an array processing language and a concatenative language with Fortran semantics.
- lebuffon 4y agoDr. Julian Noble (RIP) went down that road but realized it was overkill and switched to providing a "formula translator" for Forth. So it takes infix notation and translates it to RPN Forth code than is compiled interactively like normal Forth.
- deleted 4y ago[deleted]