You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am now writing every port for the PostgreSQL grammar. But, I'm finding that the grammar is not Target Agnostic
In PostgreSQLLexer.g4, checkLA('-') cannot be target agnostic because not all languages can automatically cast a character literal (or string literal) '-' to an integer (e.g., JavaScript).
All actions in the .g4's must be parameterless method calls.
The text was updated successfully, but these errors were encountered:
kaby76
added a commit
to kaby76/grammars-v4
that referenced
this issue
Nov 13, 2024
I am now writing every port for the PostgreSQL grammar. But, I'm finding that the grammar is not Target Agnostic
In PostgreSQLLexer.g4, checkLA('-') cannot be target agnostic because not all languages can automatically cast a character literal (or string literal)
'-'
to an integer (e.g., JavaScript).All actions in the .g4's must be parameterless method calls.
The text was updated successfully, but these errors were encountered: