Don’t like Java? Create your own language!

Nowadays, it’s easier than ever to create your own computer language. Whether it’s a simple rule-system, or a full-blown language, you can create the tokenizer (or ‘lexer’) and the parser quite easily.

There are a few well-known tools that help you with this. ANTLR and JavaCC are the most common.

Here’s a MEGA tutorial about ANTLR.

The definitive tutorial on ANTLR4. Learn everything you need to know to use it; with code in Javascript, Python, Java and C#. Best practices included.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.