Fix a few references to the removed examples/ dir

This commit is contained in:
Louis Gesbert 2024-01-16 17:11:54 +01:00
parent fcb7ef61ff
commit 8809e6efa2
2 changed files with 10 additions and 8 deletions

View File

@ -21,10 +21,10 @@ distributed under the Apache2 license.
Before writing Catala code, please read the
[tutorial](https://catala-lang.org/en/examples/tutorial). You can run the
programs of the tutorial yourself by following the instruction in the
[README of the `examples` directory](examples/README.md). Then, it is suggested
that you create a new example directory again according to the instructions of
this README.
programs of the tutorial yourself by following the instruction in the [README of
the `examples` repository](https://github.com/CatalaLang/catala-examples/README.md).
Then, it is suggested that you create a new example directory again according to
the instructions of this README.
Let us now present the typical Catala workflow. First, you need to locate
the legislative text that you want to use as a reference. Then, simply
@ -77,9 +77,11 @@ declaration structure FooBar:
```
````
Again, make sure to regularly check that your example is parsing correctly. The error message from the compiler should help you debug the syntax if need be. You can also
live-test the programs you wrote by feeding them to the interpreter
(see the [README of the `examples` directory](examples/README.md)); this will
Again, make sure to regularly check that your example is parsing correctly. The
error message from the compiler should help you debug the syntax if need be. You
can also live-test the programs you wrote by feeding them to the interpreter
(see the [README of the `examples`
repository](https://github.com/CatalaLang/catala-examples/README.md)); this will
also type-check the programs, which is useful for debugging them.
## Working on the compiler

View File

@ -185,7 +185,7 @@ to generate the documentation, then open the `doc/odoc.html` file in any browser
## Examples
To explore the different programs written in Catala, see
[the dedicated readme](examples/README.md).
[the dedicated readme](https://github.com/CatalaLang/catala-examples/README.md).
## API