73 lines
1.4 KiB
Text
73 lines
1.4 KiB
Text
|
|
========
|
||
|
|
Sections
|
||
|
|
========
|
||
|
|
|
||
|
|
section Test
|
||
|
|
variable (A B C : *);
|
||
|
|
hypothesis (x : A) (y : B) (z1 z2 : C);
|
||
|
|
|
||
|
|
section Nested
|
||
|
|
def foo (x : A) := y;
|
||
|
|
end Nested
|
||
|
|
end Test
|
||
|
|
|
||
|
|
----
|
||
|
|
|
||
|
|
(program
|
||
|
|
(section
|
||
|
|
(identifier)
|
||
|
|
(program
|
||
|
|
(variable
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(identifier)
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(sort
|
||
|
|
(star))))))))
|
||
|
|
(variable
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier))))))
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier))))))
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier)))))))
|
||
|
|
(section
|
||
|
|
(identifier)
|
||
|
|
(program
|
||
|
|
(definition
|
||
|
|
(identifier)
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier))))))
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier)))))))
|
||
|
|
(identifier)))
|
||
|
|
(identifier)))
|