Another month, another language: pi
Nov. 3rd, 2009 01:44 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
The latest programming language to come to my attention is rather neat: in the pi language, the entire focus is on declaring patterns -- EBNF-style declarations of syntax, and their associated meanings. See the linked page for a little more info and some cool (if simple) examples of how easy it is to define new syntax in this language.
My initial reaction is that it's a bit scary, and almost certainly *much* too easy to completely hang yourself (I'd love to see what you could do with an obfuscated-code contest in this language), but also quite powerful for certain sorts of problems. Probably extremely well-suited to defining DSLs and the like, once it gets more mature...
My initial reaction is that it's a bit scary, and almost certainly *much* too easy to completely hang yourself (I'd love to see what you could do with an obfuscated-code contest in this language), but also quite powerful for certain sorts of problems. Probably extremely well-suited to defining DSLs and the like, once it gets more mature...
(no subject)
Date: 2009-11-03 08:31 pm (UTC)Interesting nest of adverbs there. A mean? I don't think they intend to say that their language is average.
(no subject)
From:(no subject)
Date: 2009-11-04 01:10 am (UTC)If C is an implementation of the von Neumann architecture, and Lisp & Scheme are implementations of Alonzo Church's lambda-calculus, these languages can be thought of as implementations of Emil Post's production rules.
(no subject)
From:(no subject)
From: