Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a printer for String_automata #38

Open
EmileTrotignon opened this issue Feb 19, 2024 · 0 comments
Open

Write a printer for String_automata #38

EmileTrotignon opened this issue Feb 19, 2024 · 0 comments
Labels
good first issue Good for newcomers large

Comments

@EmileTrotignon
Copy link
Collaborator

EmileTrotignon commented Feb 19, 2024

The string_automata module should have a printer, that would used in unit-tests.

The representation should be human-readable, this will make the tests useful as documenation, and a failing test will have a useful diff. An idea for such a representation would an ascii-tree like this :

|-- a
|   |-- b
|   |   `-- d     
|   `-- c 
`-- d

I am very open to other designs, provided they are readable enough.

A PR does have to include extensive tests, but minimal tests to show that the printer work are necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers large
Projects
None yet
Development

No branches or pull requests

1 participant