jducoeur: (Default)
jducoeur ([personal profile] jducoeur) wrote2009-11-03 01:44 pm
Entry tags:

Another month, another language: pi

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...

Post a comment in response:

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting