1
0
forked from GitHub/gf-core

multimodality exx

This commit is contained in:
aarne
2004-04-29 04:03:19 +00:00
parent 69aece7b30
commit 75148ff9f6
7 changed files with 104 additions and 19 deletions

8
grammars/prelude/HTML.gf Normal file
View File

@@ -0,0 +1,8 @@
resource HTML = open Prelude in {
oper
tag : Str -> Str = \t -> "<" + t + ">" ;
endtag : Str -> Str = \t -> tag ("/" + t) ;
intag : Str -> Str -> Str = \t,s -> tag t ++ s ++ endtag t ;
intagAttr : Str -> Str -> Str -> Str =
\t,a,s -> ("<" + t) ++ (a + ">") ++ s ++ endtag t ;
}