Joshua Barretto

Results 755 comments of Joshua Barretto

I just made an initial attempt at this, but ran into problems: it led to a constraint such that `just` required the input to implement `ValueInput`, which isn't always practical,...

> What's the problem with returning `I::MaybeToken`, which, depending on the type of input, will be by reference or by value? Because `just([a, b, c])` also works, i.e: multiple tokens...

I'll try to find time to do this over the next few days. Thanks for the reminder!

Version 0.4.0 has been released (`pollster-macro` and `pollster` now both use the same version number).

Eurgh, drat. I'll fix that tonight. Must have been half asleep!

Is this using the latest `main`? If so, I have an inkling...

What's the error, out of interest? I think I know what's causing this, but resolving it in the general case is... a little finickey, I think.

So when a parser succeeds, it leaves the input pointing at the next token after whatever it parsed. But when a parser fails, the state it leaves the parser in...

I believe the warnings should be fixed now. The errors in the example are deliberate: they're showcasing chumsky's error recovery features. One can trivially remove the syntax errors if desired.