catala/tests/test_date/good/simple.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
188 B
Markdown

## Article
```catala
new scope A:
param x content date
param y content date
param z content duration
scope A:
def x := |2019-01-01|
def y := |2002-09-30|
def z := x -@ y
```