the lexer was setup as if it would be multiple lexers. That is not the case in ANTLR, unless it is a modal lexer. Which this is not.
This fixes most ADL 2 problems, but it has several problems left:
{hh:mm:ss; 12:30:45} is a C_TIME with both a pattern and an assumed value. it detects the first part as an URI. Fix should be to allow URIs only between '<', as URI matching will be unpossible otherwise. Really a proper fix would be to just make URIs strings, like all other serializating formats do.
more problems, but needs further testing
ADL 1.4 is unmodified in this PR, but it needs the exact same fixes.
the lexer was setup as if it would be multiple lexers. That is not the case in ANTLR, unless it is a modal lexer. Which this is not.
This fixes most ADL 2 problems, but it has several problems left:
{hh:mm:ss; 12:30:45}
is a C_TIME with both a pattern and an assumed value. it detects the first part as an URI. Fix should be to allow URIs only between '<', as URI matching will be unpossible otherwise. Really a proper fix would be to just make URIs strings, like all other serializating formats do.ADL 1.4 is unmodified in this PR, but it needs the exact same fixes.