mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Fix a few references to the removed examples/ dir
This commit is contained in:
parent
fcb7ef61ff
commit
8809e6efa2
@ -21,10 +21,10 @@ distributed under the Apache2 license.
|
|||||||
|
|
||||||
Before writing Catala code, please read the
|
Before writing Catala code, please read the
|
||||||
[tutorial](https://catala-lang.org/en/examples/tutorial). You can run the
|
[tutorial](https://catala-lang.org/en/examples/tutorial). You can run the
|
||||||
programs of the tutorial yourself by following the instruction in the
|
programs of the tutorial yourself by following the instruction in the [README of
|
||||||
[README of the `examples` directory](examples/README.md). Then, it is suggested
|
the `examples` repository](https://github.com/CatalaLang/catala-examples/README.md).
|
||||||
that you create a new example directory again according to the instructions of
|
Then, it is suggested that you create a new example directory again according to
|
||||||
this README.
|
the instructions of this README.
|
||||||
|
|
||||||
Let us now present the typical Catala workflow. First, you need to locate
|
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
|
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
|
Again, make sure to regularly check that your example is parsing correctly. The
|
||||||
live-test the programs you wrote by feeding them to the interpreter
|
error message from the compiler should help you debug the syntax if need be. You
|
||||||
(see the [README of the `examples` directory](examples/README.md)); this will
|
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.
|
also type-check the programs, which is useful for debugging them.
|
||||||
|
|
||||||
## Working on the compiler
|
## Working on the compiler
|
||||||
|
@ -185,7 +185,7 @@ to generate the documentation, then open the `doc/odoc.html` file in any browser
|
|||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
To explore the different programs written in Catala, see
|
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
|
## API
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user