File: test_bind_aux_empty_1.ott

package info (click to toggle)
ott 0.34%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,440 kB
  • sloc: ml: 25,103; makefile: 1,375; awk: 736; lisp: 183; sh: 14; sed: 4
file content (8 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
%% There happens to be no production for foo, so every production for
%% foo does define the bindspec auxiliary function vars.
metavar x ::= {{ coq nat }} {{ isa nat }} {{ hol num }}
grammar
foo :: foo_ ::= % | :: :: z (+ vars = {} +)
oof :: oof_ ::= | x :: :: x (+ vars = x +)
bar :: bar_ ::=
  | foo1 foo2 :: :: foo (+ bind vars(foo1) in foo2 +)