a new abstract syntax in Documentation.gf which allows a more compact definition of the corresponding concrete syntax. The new strategy is so far used only in DocumentationEng and the new DocumentationBul.

This commit is contained in:
kr.angelov
2014-02-17 08:45:57 +00:00
parent 769fd9af69
commit a6747eac6b
10 changed files with 444 additions and 212 deletions

View File

@@ -16,6 +16,7 @@ resource HTML = open Prelude in {
heading1 : Str -> Str = intag "h1" ;
heading2 : Str -> Str = intag "h2" ;
heading3 : Str -> Str = intag "h3" ;
heading4 : Str -> Str = intag "h4" ;
-- for building tables
frameTable : Str -> Str = intagAttr "table" ("rules=all border=yes") ;