3 ms·
The original open source Ada83 compiler that grew into GNAT for Ada95 was written in setl. The author of GNU setl has said he would release the source, but we'
by 1vuio0pswjnm7 6y ago
The original open source Ada83 compiler that grew into GNAT for Ada95 was written in setl.
The author of GNU setl has said he would release the source, but we're still waiting. There are binaries here:
https://setl.org/setl/bin/ https://setl.org/setl/bin/
(No NetBSD ones though, forcing us to use emulation)
Ada reminds me of spitbol, and setl can be written in spitbol. R K Dewar's spitbol, written in a portable assembly language called MINIMAL, has been open-sourced. There's a version of setl written in spitbol, too. Hopefully we will have the source for setl one day.
The author's dissertation on setl is a favourite of mine:
https://web.archive.org/web/20060823004442if_/http://www.cs.nyu.edu:80/~bacon/phd-thesis/diss.pdf https://web.archive.org/web/20060823004442if_/http://www.cs....
See also
https://web.archive.org/web/20100217021505if_/http://www.setl-lang.org:80/docs/setlprog.pdf https://web.archive.org/web/20100217021505if_/http://www.set...
- Rochus 6y agoInteresting. Never heard of SETL before. There is even a Wikipedia entry: https://en.wikipedia.org/wiki/SETL https://en.wikipedia.org/wiki/SETL. References 1 and 2 confirm that it was indeed used to implement the first validated Ada compiler. Didn't know that.
- 1vuio0pswjnm7 6y agoAnother factoid: It was actually SNOBOL (later SPITBOL from Dewar, who was a founder and president of Ada Core), not AWK, that was the first language to offer "associative arrays", which are simply called "tables".
- Rochus 6y agoI like the story why they renamed from SEXI to SNOBOL, see https://en.wikipedia.org/wiki/SNOBOL#Naming https://en.wikipedia.org/wiki/SNOBOL#Naming.