2 ms·
Skimming this the impression I get is that you could reduce the dependencies and rewrite it on top of a more modern parser approach such as a PEG [Parsing Expre
by WorldMaker 11y ago
Skimming this the impression I get is that you could reduce the dependencies and rewrite it on top of a more modern parser approach such as a PEG [Parsing Expression Grammar] or parser-combinator and in fact the SNOBOL pattern matching here is very PEG-like and you could get away with just renaming/aliasing some of the basic PEG combinators to do this pattern matching and learning the PEG library of choice's conventions and likely get the bonus of IDE autocomplete/intellisense.