author | wenzelm |
Sun, 01 May 2011 17:55:29 +0200 | |
changeset 42518 | 57367832b81a |
child 42627 | 8749742785b8 |
permissions | -rw-r--r-- |
42518
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
1 |
\rail@i{1}{ typedef : 'typedef' ( () | '(' name ')') type '=' set witness; \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
2 |
type : typevarlist name ( () | '(' infix ')' ); set : string; witness : () | '(' id ')'; } |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
3 |
\rail@i{2}{ datatype : 'datatype' typedecls; \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
4 |
typedecls: ( newtype '=' (cons + '|') ) + 'and' ; newtype : typevarlist id ( () | '(' infix ')' ) ; cons : name (argtype *) ( () | ( '(' mixfix ')' ) ) ; argtype : id | tid | ('(' typevarlist id ')') ; } |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
5 |
\rail@t{verblbrace} |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
6 |
\rail@t{verbrbrace} |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
7 |
\rail@i{3}{ codegen : ( 'code_module' | 'code_library' ) modespec ? name ? \\ ( 'file' name ) ? ( 'imports' ( name + ) ) ? \\ 'contains' ( ( name '=' term ) + | term + ); \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
8 |
modespec : '(' ( name * ) ')'; } |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
9 |
\rail@i{4}{ constscode : 'consts_code' (codespec +); \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
10 |
codespec : const template attachment ?; \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
11 |
typescode : 'types_code' (tycodespec +); \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
12 |
tycodespec : name template attachment ?; \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
13 |
const : term; \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
14 |
template: '(' string ')'; \par |
57367832b81a
include static rail files for old manuals, to make standard make job independent of the "rail" executable;
wenzelm
parents:
diff
changeset
|
15 |
attachment: 'attach' modespec ? verblbrace text verbrbrace; } |