5 ms·
I worked on a project in the early 90's that was written mostly in PostScript (NeWS) and Common Lisp - two languages that have rather more in common than you mi
by arethuza 8y ago
I worked on a project in the early 90's that was written mostly in PostScript (NeWS) and Common Lisp - two languages that have rather more in common than you might think!
Edit: Wasn't so much just PostScript environment but the NeWS/HyperNeWS environment that made that graphical programming rather good fun...
- macintux 8y agoPeople have described Forth as Lisp without the parentheses. Definitely some interesting parallels.
- arethuza 8y agoI toy with the idea occasionally of writing a Lispish language (probably a whitespace lisp) that transforms itself down to a Forth/PostScript style engine for execution - one of many things on my ToDo list ;-)
- kazinator 8y agoStack-based byte code machines for Lisps are not uncommon. Emacs Lisp has one, CLISP too, I think. It keeps the instructions small, since operand references are implicit.
- arethuza 8y agoI was more thinking about a runtime conversion from a Lisp style AST to RPN primitives rather than a more traditional compiling stuff down to a separate VM - but clearly not something I've thought through in that much detail!
- sctb 8y agoYou can have both! https://github.com/sctb/woe/blob/master/boot.w https://github.com/sctb/woe/blob/master/boot.w
- kazinator 8y agoThose people were horribly misinformed.
- macintux 8y agoSure, they're very different languages, but they nonetheless have a lot in common. http://wiki.c2.com/?ForthVsLisp http://wiki.c2.com/?ForthVsLisp is quite an interesting read.
- exikyut 8y agoInteresting. What was the project about?
- arethuza 8y agoIt was an EU ESPRIT 2 project to develop "Intelligent Training Systems" for complex industrial plants. I worked in an academic partner - the team I worked in was mostly control engineers and mathematicians and I was the lone CS guy who got to actually build stuff.