3 ms·
Cirru: indentation-based grammar for languages
I'm trying to make a new grammar named Cirru, which is based on indentations rather than curly brackets. And it's designed for representing syntax trees. It's inspired by Lisp, but with far less brackets.
There is also a structured editor for editing code as syntax tree. The grammar is heavily influenced by its editor. In the hope that there are prople using Cirru, I wrote some highlighting plugins. You may find more at https://github.com/cirru
I recorded a video introducing the grammar and design choices of Cirru http://www.tudou.com/programs/view/1pXGFRWtDXM/ The voice is in Chinese, but you can still get the ideas behind Cirru's grammar.
For the purpose of learning, I implemented an interpreter in Go experimentally. However, I'm not sure about the plan of this interpreter or its debugger in the future. For the next months, I will not be spending time on them.
Cirru is not trying to be a programming language, but a grammar that people may create they own dialects based on such grammar, which is designed for indentations and simplicity.
Is there anyone interested in Cirru now?