An interesting project to study Antlr

I am learning Antlr from Antlr Defining Link. I'm still in the initial stages. I like to do something in my hands, so I thought it was a great experience for a good project. I am looking for a project with a decent size, not too big. But just big and complex enough to help me learn Antlr well.

Your data will be very grateful!

Thanks!

+6
antlr
source share
4 answers

Write a parser and CSS macro system. Yes, there are several of them already, but this does not make the project less interesting, plus you can use it much faster, you know whether it is right or not.

For fun, port it to JS so you can upload them on the fly on web pages.

+2
source share

Write yourself a grammar for the rule engine. Then write a Rete algorithm to use them.

+1
source share

I am implementing my own programming language as an ANTLR training exercise. I found this to work well if working on one project and monitoring its development complements your learning style.

My language project started doing nothing useful just by playing with the lexer and parser syntax. Then we added the variables and printed them. As knowledge grows, you can build on this by adding additional things, such as governance structures, etc.

0
source share

Write a cron utility that is configured using syntax, for example:

every 12 hours every 5 minutes from 10:00 to 14:00 2nd,third mon,wed,thu of march 17:00 every monday 09:00 1st monday of sep,oct,nov 17:00 every day 00:00 
0
source share

All Articles