Comments (8)
Oh, I see. My cargo pulled 0.9.2
(which I misremembered as 1.9.2
, hence my comment). I changed it to just pull from git directly and the examples work fine (needed to enable the label
feature which took a little bit of figuring out, but nothing drastic).
This seems to be resolved now, thanks!
from chumsky.
Are you viewing them via docs.rs?
from chumsky.
I was viewing via GitHub but I don't believe that would make a difference?
from chumsky.
The guide is intended to be viewed through docs.rs (by hosting them there, we get the ability to precisely control the version of things we link to, as well as having inline examples that can be tested with CI).
from chumsky.
To minimise future confusion, I've added a README.md
to improve things :)
from chumsky.
Looks good! That link does go to 1.0.0alpha4, instead of a newer version. Was that intentional?
from chumsky.
As an aside, the examples/
directory is sort of strange. It's built against the latest main
build, but that isn't identical to the latest cargo release. Perhaps this should also be clarified in a similar way (if there is some better way to view the examples)?
from chumsky.
Looks good! That link does go to 1.0.0alpha4, instead of a newer version. Was that intentional?
Yes, 1.0-alpha.4
is the latest version on crates.io.
It's built against the latest main build, but that isn't identical to the latest cargo release
It's not identical (this is fairly standard, fwiw) but they are similar enough for (I think) most of the examples to just work. Make sure that you're depending on one of the 1.0 alpha releases instead of 0.9. 0.9 is pretty much in legacy maintenance mode at this point, 1.0 is a complete rewrite of the crate.
from chumsky.
Related Issues (20)
- Better Developer Experience HOT 1
- alpha-1.0.0-alpha.6 release broken? HOT 4
- Indentation example: incorrect "end of input" HOT 2
- Idea: conditonal parser, which takes a parser and a condition HOT 4
- or combinator prefers output of second parser, even if first parser succeeds HOT 14
- when use tokio::spawn i meet problem anyone can help HOT 6
- `nested_in()` + `repeated()` produce incorrect error spans. HOT 5
- Failed to compile benches: no method named `slice` found
- `ContainerExactly` impls for `Rc` and `Arc` are unsound HOT 2
- Clone trait bounds not satisfied HOT 2
- Trait bound not satisfied on foldl HOT 2
- Input lifetimes HOT 4
- bug: couldn't build `examples/foo.rs` HOT 1
- Query : Create a parser that parses a vec of patterns HOT 7
- Crashed while parsing markup text HOT 4
- Fix SpannedInput HOT 1
- Trying to run the `nano_rust.rs` example using `chumsky = "1.0.0-alpha.6"` HOT 4
- Question: Using `map_with` to get spans HOT 2
- Question: Writing a Ternary Operator Parser HOT 5
- Can't build example 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 chumsky.