The Language So far In the prior post I described how Tuplet came to be. This post is going to lay out where the language stands today. What is actually written As of today, it's just a grammar. Antlr can convert this into a lexer and parser for me, but before I do that I'll have to create a new language target for Antlr. Specifically, I need to create a target for Janet.
Building an Antlr4 Language Target As mentioned in the last post I need to create an Antlr4 language target for Janet (the language Tuplet will compile to). There are 4 minor problems. I've never created an Antlr language target There are no existing Antlr language targets for a lisp to learn / copy from. I haven't touched Java since like 2009 (13yrs). I've never programmed anything more sophisticated than a "hello world" in Janet.
This first development diary is going to be long. There's a lot of thinking to write down before I can catch you up to where I today; July 23, 2022. The origins of Tuplet I write a lot of utility scripts. For years I've been writing them in Bash becasue I've wanted them to be something I could share with my peers. One day, I just got sick of having to fight with yet another piece of Bash's weird syntax.