Comments (2)
👍
A good error message will do great help!
from peg.
I'd also like to note that I would love cleaner error messages, like pegjs has. It provides errors that tell you what was expected in the input like so:
Line 1, column 7: Expected ")", "*" or "+" but end of input found.
from peg.
Related Issues (20)
- more doc? HOT 3
- Add StringX methods for every PrintX method. HOT 6
- Adopt semantic versioning and add -version flag HOT 2
- Use go generate HOT 1
- Weird behavior with alternivies. HOT 2
- Exported methods returning unexported types with unexported fields, why?
- matchDot declared but not used
- README.md needs updating
- Parser hangs forever HOT 3
- The color of `peg -syntax` or `p.AST().Print(p.Buffer)` is hard to read.
- c.peg cannot parse wide-string literals
- c.peg support c99 struct initialize
- Rule redeclaration causes segmentation fault
- Bug: an error occurs when importing a repository that contains numeric character HOT 5
- using peg with io.RuneReader HOT 4
- Support unicode character please HOT 2
- Unpredictable "Code generated by" comment when invoking peg with "go run"
- Add example: Arithmetic Calculator HOT 1
- Interest in a GoCode Element?
- Request features to simplify AST
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 peg.