1
0
forked from GitHub/gf-core

resource doc update

This commit is contained in:
aarne
2006-12-22 13:23:50 +00:00
parent ea4ffdc148
commit 6917d36e6e
41 changed files with 318 additions and 131 deletions

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1>
<FONT SIZE="4">
<I>Last update: 2006-02-25 22:19:20 CET</I><BR>
<I>Last update: 2006-09-01 16:37:08 CEST</I><BR>
</FONT></CENTER>
<P></P>
@@ -36,9 +36,11 @@ This type of booleans is for internal use only.
<PRE>
param PBool = PTrue | PFalse ;
oper Int : Type = variants {} ; -- the type of integers
oper Ints : Int -&gt; Type = variants {} ; -- the type of integers from 0 to n
oper Error : Type = variants {} ; -- the empty type
oper Int : Type = variants {} ; -- the type of integers
oper Ints : Int -&gt; Type = variants {} ; -- the type of integers from 0 to n
oper error : Str -&gt; Error = variants {} ; -- forms error message
oper length : Tok -&gt; Int = variants {} ; -- length of string
oper drop : Int -&gt; Tok -&gt; Tok = variants {} ; -- drop prefix of length
oper take : Int -&gt; Tok -&gt; Tok = variants {} ; -- take prefix of length