Go-Bt: Minimalist Behavior Trees for Go
Injected clock enables instant time-travel testing of timeout nodes without waiting.
A notation for writing trees and a parser for it
Another custom markup syntax competing with Markdown, Org-mode, and S-expression variants.
Developers interested in DSL design, markup languages, or personal knowledge management tools.
Markdown · Org-mode · S-expressions
* Keep the notation as small as possible and non-intrusive. * Have a parser that assigns as little meaning as possible and returns a tree that is easy to work with. * Do everything else by walking the tree. * Avoid having to come up with syntaxes and parsers all the time.
I think the design is complete because nothing can be taken away from the syntax or the parser.
I have been using this system for many years now. When I am writing brashtag documents I am think of constructing trees not of typing text.
Injected clock enables instant time-travel testing of timeout nodes without waiting.
Fan-out tree pathing is clever; tree editors like FileZilla and VS Code already handle hierarchies.
90x faster incremental parsing in pure Go—tree-sitter without C toolchain friction.
Pure Python interpreter with C FFI, but performance caps at Python speeds.
LSM-Tree from scratch in Go: WAL, SkipList, SSTables, compaction—education-grade.
O(1) fork latency makes tree search 1000x faster than vLLM for agentic workloads.