Hi,
Well, the antlr4 grammar needed some hammer blows :-), but looks like
we'll be able to parse that rust file after all... [1].
I tried to do a PR against tomlj, but it's too complicated for me to
modify within my available time slots (I think it'll require changing
the grammar, seems to be using tabs vs. spaces, NetBeans says all unit
tests pass even when they fail, etc.).
Cheers,
Antonio
[1]
https://github.com/vieiro/toml-java
https://github.com/vieiro/toml-java/tree/6298049f12271c4943f3ff2b52b0ccc902331cbb/src/main/antlr4/net/vieiro/toml/antlr4
https://github.com/vieiro/toml-java/blob/6298049f12271c4943f3ff2b52b0ccc902331cbb/src/test/java/net/vieiro/toml/TOMLParserTest.java#L188
On 25/9/23 21:23, Michael Bien wrote:
b.2) To maintain the TOML/ANTLRv4 parser at [3]?
This might be a good option, since grammar files are usually fairly
compact, esp those for config file formats. You think the existing
grammar of the grammar-v4 repo would be able to parse the rust file in
question?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists