Comments (4)
hi @Mrmumu, first glad to see that you looked at CSLY.
for now nested groups are supported. And I have no plan to support it any soon as I son't see any usefull use case.
for your specific case the best solution is I guess :
Expr : OptinnalExpr ?
OptionnalExpr: STRING (COMMA [d] STRING)*
May I ask you what you arelooking at in CSLY ?
Are you planning to use it for any special purpose ?
from csly.
The repeated error annoy me so I will look at it more precisely.
from csly.
for now nested groups are supported. And I have no plan to support it any soon as I son't see any usefull use case.
You mean are not supported I think.
Yes, I have solved it just like that:)
I was going to send an email to you actually, after I have finished the core of my project.
I am trying to implement XPath support for .net core. Right now, .net core only support XPath 1.0 but there is already XPath 3.1 recommendation on W3C. I'm trying to implement a lexer, parser for this grammar by using your project. There are other approaches but I would like to use the published grammar.
I have searched other lexer, parser approaches but your "embeddable" solution got me^^
from csly.
Great project that tout have! I am happy that the "embeddedable" feature of CSLY got you. It was my main concern when I started it. Glad to see that I am not tottaly wrong.
from csly.
Related Issues (20)
- Is it possible to have intermediate types? HOT 3
- What's the order of priority for Generic Tokens? HOT 9
- Parser<TIn,TOut>.Parse(code) Stack overflow HOT 8
- 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
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.