File: test17.6.ott

package info (click to toggle)
ott 0.32%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,420 kB
  • sloc: ml: 25,065; makefile: 1,393; awk: 736; lisp: 183; sh: 14; sed: 4
file content (16 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
% test17.14.ott  dot form test

metavar value_name , x ::=
  {{ isa string }} {{ coq nat }} {{ coq-equality }} {{ hol string }}

indexvar index , n ::= {{ isa nat }} {{ coq nat }} {{ hol num }}

  grammar

    a :: 'a_' ::= 
      | x                                                :: :: x (+ b = x +)  
      | E ( ( c1 , c'1 , c''1 ) .. ( cn , c'n , c''n ) ) :: :: E (+ b = b(c1..cn) +) 

    c :: 'c_' ::=
      | x                                                :: :: C (+ b = x +)