blenderskool / vyaakaran

📜 Visualize formal languages and automata
https://vyaakaran.now.sh
MIT License
35 stars 5 forks source link

Grammar generation from example strings #14

Open blenderskool opened 1 year ago

blenderskool commented 1 year ago

Defining example strings that are a part of your language is easier than writing the grammar directly.

There can be a feature in Vyaakaran that allows the user to enter strings that are a part of the language and Vyaakaran generates the grammar code directly from that. Not sure about feasibility and complexity of this, but it should possibly be explored in following order: