boginka's corner

Formal Grammars for Pyre

September 21, 2024

Today, I narrowed down the syntax of my new language. It was a little difficult to think of a concept that I enjoyed. The main focus of my language will be to focus on the order of which logic happens. Instead of "returning" values, it will emit values so that the next set of instructions can use that value. The grammar is quite long so I may not post it here, I verified the grammar with Chat GPT by asking it to write an example program using this grammar so hopefully it's mostly correct!

Grammar Notes