Ömer Sinan Ağacan

Results 317 comments of Ömer Sinan Ağacan

No need to apologize! We're assuming that the host supports Wasm *and* JS (like in a browser), and that you can pass a Wasm GC object to JS (I think...

This plan implements both transferring the ownership *and* sharing. You just need to make sure whenever you introduce a reference to the linear memory object you increment the reference count,...

> @kzhui125 - is the request here that if the item you are jumping to is already within view, don't scroll the editor at all? Exactly. Here's a recording that...

Thanks for the pointers. I'll give it a try, but I'll need some help with #13 before that..

I just came across this similar feature in a peg parser library and they also call it "cut": https://tatsu.readthedocs.io/en/stable/syntax.html#id20. Copying here in case the page gets updated: > ``` >...

A simple way to implement this would be to replace `char`s in the DFA (and NFA, code generator) with `u8`. When a `char` is encoded as multiple bytes introduce new...

> How would we implement this for character classes, e.g. $$XID_Start? If we convert the whole table to an utf8 DFA, it will be huge. However, will it be larger...

Another example: ```rust let whitespace = ['\t' '\n' '\u{B}' '\u{C}' '\r' ' ' '\u{85}' '\u{200E}' '\u{200F}' '\u{2028}' '\u{2029}']; rule DecInt { ($dec_digit | '_')* $int_suffix?, $ => |lexer| { let...

With `new_from_iter` it's more important to avoid clones in `set_accepting_state` as not all iterators will be cheap to clone. For example, ropey's char iterator is quite a bit larger than...

I had moved to issues section to file a new issue, but since this is exactly what my problem is, even though it's not updated for last 6 months I...