Caleb Evans

Results 100 comments of Caleb Evans

@tcosmo Excellent! Well, if you mean you would be comfortable writing the Python code to implement this, then you are certainly welcome to. Just submit me a pull request when...

@tcosmo Oh, and as for the API design, I would prefer the method be called `to_regex`, under the `NFA` class. You are welcome to construct the functionality using multiple functions,...

@eohomegrownapps Yes, it's still open! Please fork the repository and submit me a Pull Request if you'd like to take a stab at working in your logic. Please see my...

@abhinavsinha-adrino What do you mean when you say the regular expressions not unique every time? Does the conversion process not produce the same regular expression given the same DFA/NFA?

@abhinavsinha-adrino I see. Well, if the algorithm for choosing among states with equal connectivity is a deterministic algorithm (i.e. always returns the same output given the same input), then I...

@abhinavsinha-adrino Oh right, I forgot that this entire library is set-based. 🤦🏻‍♂️ I finally understand what you're saying—thank you for the explanation. That is,, our version of the expected output...

Just an update for everyone: I have merged @abhinavsinha-adrino's generous contributions in #46, and will be publishing v6 of this library relatively soon. However, if you don't want to wait,...

Great news, everyone! Automata v6 is finally out with an API for working with regular expressions. Please see the README for details: https://pypi.org/project/automata-lib/ With that, I will be closing this...

@eliotwrobson Maybe... would you be able to guarantee Python 3.6 compatibility? I am reading that Type Annotations have had somewhat of a messy history in Python 3: https://towardsdatascience.com/type-annotations-in-python-d90990b172dc What are...

@eliotwrobson Yeah, I'd say go for it! Please submit me a PR to `master` when you're all done. I'm guessing you won't bother to annotate the tests as well, just...