🇺🇦 haxadecimal 🚫👑

Proud to be Antifa, like my grandfather, who was killed fighting fascism in WWII, and was posthumously awarded the Air Medal and the Purple Heart.

(SW Defined Radio)

HP calculator simulation at level
Maker (with John Doran) of
CHM PDP-1 Restoration Team
cis male
atheist
Damned dirty ape
Not a tame programmer
Some assembly required
No user serviceable parts inside

📝

Допісы

🇺🇦 haxadecimal 🚫👑
🌍 16.08.2026 22:37

The last time I wrote a program using PEGTL (C++ header-only PEG parser using templates), I used actions to build my own AST, rather than using the native PEGTL AST tree builder, because I needed actions anyhow.
This time I'm trying the PEGTL tree builder. I quickly learned why you want your default selector to be false, and use explicit selector specializations with true only for the rules for which you want nodes. Otherwise you get a big mess.

Падабаецца 0 Рэпосты 0