binford2k
03/11/2026, 7:15 PM- in class names, variables, etc. It was a mess and the parser code was unmaintainable. It was basically a bunch of regexes in a trench coat, not an actual parser. It had all kinds of weird little edge cases like the - under discussion, but you didn't know about any of them until you stumbled into it.
The major part of the transition from Puppet 3 to Puppet 4 was the parser designed by @helindbe. It properly generated an AST and all the computer sciencey things that make an actual real parser. It now has an actual language spec and doesn't allow the weird bits. When it has edge cases, those are bugs and those are fixed.