You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all the necessary context to reproduce the examples (e.g. definitions for the nfa1 and nfa2 referenced under "Subset for NFAs")
expected outputs to compare against
Personally I would prefer encapsulation in example scripts structured so that we can import and reuse those objects. Sticking the entire first example code block in a file will produce a valid script that only does one thing, whereas wrapping the input loop in a function definition would allow my_dfa to be imported into the next example. Similarly, making a words_within(edit_distance) function or something similar would give the new user something to play with a bit more interactively.
(These are suggestions to consider, not demands.)
The text was updated successfully, but these errors were encountered:
In the provided examples at https://caleb531.github.io/automata/examples/fa-examples/ it would be helpful if we could get
Personally I would prefer encapsulation in example scripts structured so that we can import and reuse those objects. Sticking the entire first example code block in a file will produce a valid script that only does one thing, whereas wrapping the input loop in a function definition would allow
my_dfa
to be imported into the next example. Similarly, making awords_within(edit_distance)
function or something similar would give the new user something to play with a bit more interactively.(These are suggestions to consider, not demands.)
The text was updated successfully, but these errors were encountered: