How to Create Pragmatic, Lightweight Languages

How to Create Pragmatic, Lightweight Languages

Build programming languages like a pro.

Learn how to build something usable in the real world. A true programming language, with an efficient parser and a complete compiler. A language with its own editor. This is not about building toys.

There is no need to reinvent the wheel: we reuse open-source components and organize them together, to get something usable with a targeted effort.

Do you think it is impossible to build a parser, an interpreter, an editor and a simulator in less than 1.000 lines of code? Think again.

For those of you who have decided to build your own language or tool, and thus have the necessary impetus, I can recommend this as THE entry level guide to lexing, parsing and compiling. No prior experience required!

Nikos Vaggalisi-programmer