Comments (3)
No, I just forgot :D The example was originally meant to illustrate dsl::times so kept very minimal. It's just a matter of adding a + dsl::eof
at the end.
from lexy.
"should" is relative.
The code as written does not consume entire input that is correct, but this is not a bug in the library: unless you tell it, it does not consume the entire input.
However, the example implementation should probably do that? I'll fix it.
from lexy.
If that is out of scope of example, a comment indicating the behavior would suffice to clear the confusion. Thanks
(library looks amazing!)
from lexy.
Related Issues (20)
- Issues building the docs HOT 3
- Installed target names do not match aliases HOT 1
- Capturing all characters from a terminator's list
- Constructor not considered for `lexy::dsl::nullopt` HOT 3
- Compile-time parsing and dynamic memory allocation HOT 2
- Grammar/AST code works when parsed as tree, but not when parsed normally HOT 1
- Compile-time parsing quoted lists does not work HOT 3
- Parsing to bools and enums HOT 1
- context_identifier and using it in a delimited scenario
- Autocomplete State HOT 1
- Surprising debug behavior when re-using `lexy::scan_result<>` HOT 2
- Assertion failure on scan rule failure HOT 2
- Confusing error messages. HOT 3
- Parsing C++ expression statements HOT 1
- Documentation suggestion HOT 1
- Multiple input files HOT 1
- Wrong callback for `dsl::curly_bracketed.opt` HOT 2
- Problems using the scan action with parser state HOT 1
- Custom allocator causes fold_inplace cannot be compiled on MSVC HOT 1
- missing lexyConfig.cmake.in in release file HOT 2
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 lexy.