2 ms·
I wrote a little parser-DSL the last few days, mainly to parse the input of Advent of Code problems (because the manual '.split(...)' approach always looks so u
by mckirk 3y ago
I wrote a little parser-DSL the last few days, mainly to parse the input of Advent of Code problems (because the manual '.split(...)' approach always looks so ugly and unsatisfying).
https://github.com/mckirk/aocparser https://github.com/mckirk/aocparser
Granted, at this point the syntax has become convoluted enough that I'm not sure anymore whether it would actually be faster to type, which was also part of the motivation, but I think it at least looks cool :D