Archive for December, 2010
My goals are simple: Represent an AST in Haskell and have the type system accurately describe what is permitted in the language. Almost immediately I was foiled. Consider this deceptively simple language: L ::= A | B | C | D A ::= 'a' B ::= 'b' C ::= 'c' '[' {B} ']' D ::= [ READ MORE ]
Get every new post delivered to your Inbox.