Comments (2)
yes, there is always a trade-off between trying to enforce too much in syntax versus later with semantic checking. Is very challenging to match one of several elements but at most one using syntax. Often implies delineating all possible combinations.
from grammars-v4.
Thanks, I suspected it might be on purpose, but as I am totally new to this it's good to know why. I thought briefly about how it might be fixed but also thought it might be hard!
from grammars-v4.
Related Issues (20)
- [csharp grammar] CSharp and Java producing different error messages for expected tokens HOT 1
- Fortran f90 grammar: problems parsing END SELECT HOT 8
- [fortran] Add latest Fortran grammar, addressing issues in older versions HOT 14
- [Go target] Dependabot removes the dependency to Antlr4.13.1 and so breaks the Go builds HOT 1
- Fortran90: status can be a legit variable, not always a keyword HOT 11
- Contribution: C++ Object Notation (CPPON)
- [fortran90] Parser does not distinguish between "fixed form" or "free form"--but they cannot mix!
- [fortran90] "primary" rule deviates from the Draft Spec, with no explanation, and does not work!
- How to recognize schema name at CreateTable HOT 13
- mkindex.py/reindex.py produces invalid json HOT 1
- _scripts/mkindex.py doesn't work on Windows with Pwsh.exe
- [static-check]Deprecated module [email protected] / [email protected] HOT 4
- [build] "perf" workflow isn't working because Octave cannot install
- Quoted sequence in range bound parsed incorrectly (PCRE.g4) HOT 4
- TSQL dynamic sql not parsed on single quotes HOT 1
- [build] CSharp templates slightly out of date
- [plsql] rule range_partition_desc contains an optional block with at least one alternative that can match an empty string
- [build] Python3 driver program Test.py has wrong syntax for string comparison of command-line options
- [r] The R grammar contains an ambiguity in the desc.xml
- [DB2] - why not support DB2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grammars-v4.