Skip to content

Write a printer for String_automata #38

@EmileTrotignon

Description

@EmileTrotignon

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions