Joshua Barretto

Results 565 comments of Joshua Barretto

I think a fundamental problem with Atto is that the extremely terse syntax results in a situation in which a syntax error cannot be easily diagnosed. Even omitting a single...

That's a very clever hack! Just so you're aware, there are `__less` and `__lesseq` operators that are supported by the language, so these can be used to implement these operators.

`core.at` defines what it can, but there are certain intrinsic operators that the language simply can't function without. However, there aren't many of them.

@nilq Any chance I could get your review on this? I've not got much experience with NaN tagging.

No specific plans, but I wouldn't object to working with someone trying to implement it. As I understand from my admittedly limited research, the mechanisms required to safely implement concurrent...

The solution is surprisingly simple! Instead of doing the following: ```rust just('5').padded().map_with_span(|_, s: Span| s) ``` You can do this: ```rust just('5').map_with_span(|_, s: Span| s).padded() ``` `map_with_span` works on any...

Good luck, let me know if you run into issues!

Oh? Remember that you can use `map_with_span` both before and after `delimited_by` to change whether you include the delimiters in the span or not.

So really, you want something like `a.and_is(b.not()).repeated().then(b)`? i.e: lazily consume `a`, provided it *doesn't* match `b`, and then consume a `b`?

Right. In that case, I'll probably close this in favour of #181 because it contains a little more discussion about these.