Skip to content
Snippets Groups Projects
Commit c963d87f authored by Nathanael Sandy's avatar Nathanael Sandy
Browse files

docs: wording

parent 3ace47dc
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,11 @@ lit ../comptech-more-tests/tests/parser
(Your virtual environment which has `lit` and `choco-opt` in `PATH` needs to be activated.)
## Generating new tests
If you want to add a new test, the easiest way is to add a new `.choc` file in `gen-input/tests/**/*.choc`. Then run the `gen.py` script:
If you want to add a new test, the easiest way is to add a new `.choc` file in `gen-input/tests/**/*.choc`. This is only a regular `.choc` file, demonstrating the syntax that should be tested. For example a file containing `i: [[int]] = 0` to test nested list types.
(Note: This workflow will probably need to adapted for further assignments, but for the first one - Parser - it should be fine.)
Then run the `gen.py` script:
``` sh
./gen.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment