Comments (4)
https://github.com/b3b00/csly/wiki/EBNF-parser#alternate-choice
from csly.
Love this addition! Would it be possible to add ignore [d] to a group or alternate choice containing only terminals?
Like this? [LEND | PLEND] [d]
from csly.
it could be done even if it is not that simple. i will not look at it right now though
from csly.
done, finally not that complicated. Only terminal alternative are discardable.
from csly.
Related Issues (20)
- Lexical Error, line 0, column 0 : Unrecognized symbol '#' HOT 1
- error : unexpected end of stream. Expecting <<EOS>>. HOT 3
- empty singleline comment causes error
- syntax tree visitor
- String escaping with backslash seems to escape too much of the string HOT 7
- Ensure parsing has reached EOF / end of string? HOT 3
- Issue in math operation using getting-started example HOT 1
- Generic parser and lexer sometimes allow partial strings to be parsed, without reaching EOF HOT 7
- Better syntax error reporting HOT 3
- error accuracy problem
- Very long execution time and large memory consumption HOT 10
- Parser Error with zero or more parentheses pairs around expression HOT 6
- Memoization (release 2.9.8) is not always good HOT 2
- indented language failed on empty line
- Empty data causes "Unexpected end of stream" error? HOT 5
- using keyword without explicitly defining an identifier lexeme creates an identifier lexeme
- indented languages : automatically add closing unindent lexemes HOT 1
- Multiple Issues with Lexer HOT 15
- error lexing when last line is a single line comment
- AOT/Trimming HOT 5
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 csly.