4 ms·
This is just completely wrong. I learned and used SNOBOL for RBK Dewar's compiler classes at NYU, 78-79. (Dewar was one of the authors of SPITBOL, an implement
by geophile 3y ago
This is just completely wrong.
I learned and used SNOBOL for RBK Dewar's compiler classes at NYU, 78-79. (Dewar was one of the authors of SPITBOL, an implementation of the language).
Because of this, experience, a couple of years later, in grad school elsewhere, I was able to help someone in the computing center debug a client's SNOBOL program.
Sure, this wasn't a huge insurance company writing their payroll system, but SNOBOL was a real language. But ignoring that: SNOBOL was a completely unique language, beautiful in its own way. It looked like a very sparse form of assembler language. Control flow was bizarre: a statement could "succeed" or "fail", and a statement could specify goto targets for either, both, or none of these cases. (I don't know the exact dates, but SNOBOL must have been designed around the same time as the famous "Goto considered harmful" letter.)
As a measure of how good the language was: SNOBOL is famously based on the idea of string pattern matching. I found SNOBOL completely intuitive and easy to use. By contrast, I find UNIX regular expressions incomprehensible, and they send me to RTFM each time I use them. I have a similar view of Perl. Ugly and unintuitive, the exact opposite of SNOBOL.
Also, I would like to recommend the Griswold, Poage, and Polonski book on SNOBOL4. I remember it as a truly excellent language book, on the level of K&R.
- codeulike 3y agoSeems like you know a lot about computer languages
- geophile 3y agoI assume that you are attempting sarcasm here, but I'm missing your point.
- 1n3nt0r 3y agoNice to hear mention of RBK Dewar. He was well known in the programming languages field as a professor at NYU, but also was quite successful as an entrepreneur with his various compilers (I think his company was called "Realia"). I took one of his classes as an undergraduate at NYU, but used SNOBOL, SETL, and some other early languages as part of a young scholars high school program at NYU in the early 80s.
- geophile 3y agoI remember SETL, and it made a huge impression on me -- just the idea of sets as a primitive datatype. I remember one lecture on using SETL to specify language optimizations, which were set-oriented. Also, that experience primed me for appreciating the relational model, and relational algebra, and I went on to specialize in DBMSs.