Regular language parser generator
Gram is a macro substitution utility for regular expressions. Create huge regexes with ease:
const BABY_ENGLISH = WORD: /\w+/ ADJECTIVE: /good|bad/ SENTENCE: /\s+/ ; const sent = ; // produces: /(good|bad)\s+(\w+)/