lutaml / expressir

Ruby parser for the ISO EXPRESS language
3 stars 2 forks source link

Stability fixes, additional tests and verification #116

Closed maxirmx closed 2 years ago

maxirmx commented 2 years ago

This PR includes the following enhancements:

maxirmx commented 2 years ago

UPD
This PR includes the following enhancements:

ronaldtse commented 2 years ago

@maxirmx please feel free to merge when ready, thanks!

maxirmx commented 2 years ago

Great job, a lot of improvements

@maxirmx to be on the same page did antlr4 upgrade lead to any breaking changes? I see a lot of exp files was updated

I'm asking because recently we faced with such situation in lutaml/lutaml#35

ANTLR README says: " Generated 4.10 lexers and parsers are incompatible with code generated by previous versions of ANTLR. You must regenerate all of your code from grammars to use the new runtime."
So I regenerated all C++ files. However, there was no need to touch Ruby expressir code or fix anything in rspec tests. I assume that all C++ changed are hidden by Rice and Ruby wrappers.

ronaldtse commented 2 years ago

Hope it works!

maxirmx commented 2 years ago

I am waiting for https://github.com/camertron/antlr4-native-rb/pull/13 to be accepted so that this code refers to released gem and not to my patch

maxirmx commented 2 years ago

UPD 2 This PR includes the following enhancements:

The version built with antlr 4.10.1 / antlr4-native-rb 2.1.0 is unstable Upgrade to antlr 4.10.1 has been removed from this PR