17 Aug
2020
17 Aug
'20
12:58 a.m.
Horváth Ágoston János wrote on 16/08/2020 19:57:> The ripe whois database (https://github.com/RIPE-NCC/whois) has an
excellent (=clean, performant and heavily tested) RPSL parser in it for java. It's minimal work to copy the package, or, since this is BSD licence, you could release a copy of it for others to use too.
yip but do I understand it correctly that this is a syntactic parser only? I.e. there is no semantic expression evaluator. If this is the case, you'd need a lot of glue to be able to convert rpsl expressions into structures suitable for injection into templating engines. This is the hard bit in irrtoolset that wrecked everyones' heads. Nick