Our great sponsors
-
automata
A Python library for simulating finite automata, pushdown automata, and Turing machines (by caleb531)
-
noam
JavaScript library for working with automata and grammars for regular and context-free languages
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I recommend looking at https://github.com/caleb531/automata which is another automata library in Python (also for pushdown automata, Turing machines) I've found useful in the past. One thing that wasn't so great about it was the assumption that states and symbols are Python strings. Using tuples mostly works, but sometimes it still breaks.
Not sure if you've seen these projects: http://grail.smcs.upei.ca/Mirrors/www.csd.uwo.ca/research/Grail/ https://github.com/izuzak/noam