catala/tests/test_default/bad/empty_with_rules.catala
Denis Merigoux 3c8d187be0
Big refactoring of the literate programming structure
Partially fixes #120
Removes the distinction between headers and articles, streamlines the surface AST
Changes affects lexers and parser
2021-05-15 01:16:08 +02:00

14 lines
175 B
Markdown

## Article
```catala
new scope A:
param x content int
param y content int
scope A:
def y := 1
def x [|y = 2|] := 1
def x [|y = 3|] := 1
def x [|y = 4|] := 1
```