Caleb Bassi

Results 118 comments of Caleb Bassi

Oh I must have missed `prepare_recognition`. That looks like exactly what I need, thanks! Yes, I'm calling `disconnect`, `connect`, and then `do_recognition` but it doesn't seem to be working and...

I'm trying to create a compound rule where certain words can be repeated. For my use case, the syntax that I would most prefer is `word*` for repetitions of 0...

Oh you can specify it as an extra already? Is there some documentation for this that I missed? I specifically need it to work with a Choice extra, if that's...

I got it to work based on the examples you provided, so thanks for that. At this point, the only question here is whether the CompoundRule should provide syntax support...

I've already implemented this in an application I'm writing: https://github.com/osprey-voice/osprey/blob/master/osprey/voice.py#L138, and the way I've implemented it is both `*` and `+` return an array of the matches. `*` is implemented...

Is it possible to have an unbounded number of repetitions? Otherwise we are going to have to put a limit on the number of repetitions for `*` and `+`. If...

That didn't work for me unfortunately. It still checks `max` which is 1 by default. Maybe we should add another repetition parameter called `unbounded`, which makes it so that it...

Unfortunately it is not possible to specify default features in python: https://github.com/pypa/setuptools/issues/1139 So if the dependencies are modularized, it would be a breaking change and dependent projects would have to...

I'm glad that this is something that's open to being fixed. Another idea might be to split dragonfly into a bunch of sub packages and publish those separately, like dragonfly_grammar,...

[jedi-vim](https://github.com/davidhalter/jedi-vim) has a `goto-definition` command that implements vim's jump stack and allows for using `C-t`. It looks like the relevant python code is located [here](https://github.com/davidhalter/jedi-vim/blob/77924398bd594e238766153cec97ace62650f082/pythonx/jedi_vim.py#L266). I haven't taken enough time...