Comments (7)
Could you give an example grammar and input that produces this error?
from canopy.
Try to parse error on lines with "\t". You may construct such a case faster than me.
from canopy.
Sorry, I was asking for an example so I can make sure I've understood the problem you're seeing, because I was unsure from reading your initial report. For example, I don't know where the parser error is actually happening.
from canopy.
oh, the error in my example should be pointed like this
Line 3: expected [A-Za-z0-9], "\t"
ifindex 3
^
expecting a "\t", but met a " ".
from canopy.
Thanks for explaining that. But I was mentioning that as one example of how, without an explicit example from you, I'm going to be guessing at the cause and solution to this problem.
The quickest way to make sure I can reproduce your problem would be if you put a grammar and input file on gist.github.com that cause this error, then I can begin to debug it.
from canopy.
Sorry for that I would not provide such an example.
Because this library falls short of my expectations, I've already abandoned using it. Provide an example need extra time that I'm short of.
This issue raised simply try to make this a better one, even I'm not using it. Maybe somebody using it also found this issue will provide one.
from canopy.
I'm closing this since @jamesruan has moved on from using this package.
from canopy.
Related Issues (20)
- installation via npm is broken HOT 4
- TypeError: Invalid options argument HOT 3
- Installation via npm does not work HOT 1
- Can we have predicates? HOT 1
- `make test` does not work so as the installation instruction HOT 3
- Parsing spaces in a string with Choices HOT 1
- Make the package web-friendly HOT 7
- Allow Java actions to throw ParserError? HOT 1
- Incorrect call to java.lang.String#substring() HOT 2
- Don't throw a bounds exception when reporting Java errors at EOF. HOT 1
- Add -h and --help flags to the command line tool
- Pass cross-references / named nodes to actions HOT 1
- Question about Improving a grammar HOT 2
- Develop/debug grammar online HOT 2
- Discarding white-space (or any other matched rule) by not a creating node. HOT 3
- When running canopy I get TypeError: mkdirp is not a function HOT 6
- TypeError: mkdirp is not a function HOT 1
- Question about character classes HOT 8
- Missing output for optional nodes HOT 1
- Ordered choices failed to switch to the next choice 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 canopy.