Comments (2)
relates to #45 as well
from tokay.
Both problems of this issue had been resolved meanwhile:
1. `(1,)` shall be considered as a list with one item, therefore a list object is being generated
This is already the case since b48b420
2. The pos-repetition operator is not valid in this case Latter case may be heavy to resolve, but an error message should occur that no positive repetition on a list is allowed.
This is now correctly detected with 3338b5c and some commits before:
Tokay 0.6.0
>>> (1,)+
Line 1, column 1: Operator '+' has no effect on non-consuming sequence
>>>
Anyway, this issue will remain open until #10 is resolved, as this faces the same problem as well.
from tokay.
Related Issues (20)
- Misleading error message on undefined constant `I: X` HOT 1
- `cargo install tokay` fails with Rust toolchain >= 1.68 HOT 2
- `print(Int ast("int"))` causes `assertion failed: n <= tos - self.frame0().capture_start` HOT 3
- Alternative keyword syntax for `parselet` and `function` definitions
- Remove build-dependency on `tokay = "0.4"` for `build.rs` HOT 2
- Run program once over all provided files or in parallel HOT 1
- `"x".upper.replace("y")` throws `"Method 'method_replace' not found"`
- bug: Assign of consumable to variable should call (like an expression)
- Turn `Capture` into object HOT 1
- `1(2+3)`: The value Int(1) is generally not callable! - hint for user? HOT 1
- `Context::collect()` collects everything, even severity 0
- Requirement for inlined parselets
- Implement builtin `Keyword<P>` HOT 2
- Capture access should downgrade captured items
- Bug with `Repeat<P>`: Match in `Pos<P>` sequence fails without severity
- Function call with multiple, same arguments should be rejected
- Compile-time `static : void` should unregister static HOT 1
- Implement indirect left-recursion HOT 1
- Implement parselet capture variable `$` as a dict HOT 1
- Improving `testmode:repl` facilities
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 tokay.