Skip to content

/dev/null

The black hole…

  • Wishlist
  • About Me

Tag: bnf

Computer Science programming Rust

Tree-Sitter-BNF: Graphics Galore

June 11, 2026June 11, 2026ambsLeave a Comment on Tree-Sitter-BNF: Graphics Galore
Tree-Sitter-BNF: Graphics Galore

Here I am again sharing news from my recent toy-project. The version 0.3.0 of tree-sitter-bnf-tools is out. If you did not run my tree-sitter grammars in plain BNF notation instead of JavaScript. It hips a CLI called ts-bnf-tool to convert, check, format, and analyse those grammars. Versions 0.1.0 and 0.2.0 were covered in earlier posts; […]

programming Rust

Tree-Sitter BNF Tool, version 0.2.0

June 2, 2026June 2, 2026ambsLeave a Comment on Tree-Sitter BNF Tool, version 0.2.0
Tree-Sitter BNF Tool, version 0.2.0

A few weeks ago I wrote about Writing Tree-sitter grammars in BNF, introducing a new toy project, a utility to write grammars in a clean BNF notation and convert them to the Tree-Sitter JavaScript syntax. The project repository is on GitHub: ambs/tree-sitter-bnf-tools. Version 0.2.0 is out now. I introduced a couple of new sub-commands to […]

Computer Science programming Rust

Writing Tree-Sitter Grammars in BNF

May 23, 2026May 23, 2026ambsLeave a Comment on Writing Tree-Sitter Grammars in BNF
Writing Tree-Sitter Grammars in BNF

If you keep up with my blog, you might remember a tutorial series on using Tree-sitter. At that time, I expressed my frustration on using it to write grammars, as they are expressed in JavaScript. But I ended up learning it, and for that, I invested some time in the tutorial. The tutorial example was […]

All Rights Reserved.