In order to have a better understanding of context-free grammars, lexers and parsers,
I have developed a basic JSON editor with Vuejs ( ) by going through chapters and exercices of Compilers, Principles, Techniques, & Tools (
The #ANTLR project ( ) has been of tremendous help to generate parsers from grammars ( ). This side project reminded me of times when David Nowinsky, Sophie Despeisse and I, had to edit many configuration files by hand, which was quite error-prone without adequate tooling.
Would anyone want me to write a short article on the topic, I would gladly describe how to implement the aforementioned editor from Backus-Naur form notation technique to the edition of tokens implemented as many Vue components.
I've published a prototype, along with its sources ( ). It is still at its early stage but I'm looking for some additional insights about how the job could have been done so comments about this project which main purpose is to learn are very welcome).