-- use this path to read the grammar from the same directory --# -path=.:../abstract:../../prelude concrete TestHTMLrus of TestHTML = StructuralRus ** open SyntaxRus in { flags coding=utf8 ; startcat=HTMLdoc ; lexer=text ; parser=chart ; unlexer=text ; -- a random sample from the lexicon lin body = {s= " " ++"Это тело" ++ " "}; head = {s= " " ++ "Это голова \\" ++ " "}; htmlText x y = {s= " "++ x.s ++ " " ++ y.s ++ " "}; };