How to write languges that parses languages

#1

The ANTLR Mega Tutorial

2 Likes

#2

Back in '81 I wrote a Fortran program that would take a Fortran 77 program and convert it to really ugly COBOL… Does that count?

3 Likes

#3

Not much to add here, but ANTLR is awesome :+1:. I’ve written DSL’s with it before and it’s an absolute pleasure to work with compared to other offerings like lex/yacc (flex/bison).

2 Likes

#4

Today I learned https://martinfowler.com/books/dsl.html

2 Likes

#5

The bit of messing with Perl 6 Grammars I did was fantastic, except that the end result was slower than I would have liked.

0 Likes