forked from GitHub/gf-core
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:
@@ -5,12 +5,14 @@ abstract Documentation = Cat ** {
|
||||
|
||||
cat
|
||||
Inflection ; -- inflection table
|
||||
Document ;
|
||||
|
||||
fun
|
||||
InflectionN : N -> Inflection ;
|
||||
InflectionN2 : N2 -> Inflection ;
|
||||
InflectionN3 : N3 -> Inflection ;
|
||||
InflectionA : A -> Inflection ;
|
||||
InflectionA2 : A2 -> Inflection ;
|
||||
InflectionV : V -> Inflection ;
|
||||
InflectionV2 : V2 -> Inflection ;
|
||||
InflectionVV : VV -> Inflection ;
|
||||
@@ -25,7 +27,7 @@ fun
|
||||
InflectionAdv : Adv -> Inflection ;
|
||||
InflectionPrep : Prep -> Inflection ;
|
||||
|
||||
ExplainInflection : String -> Inflection -> Inflection ;
|
||||
fun
|
||||
MkDocument : String -> Inflection -> String -> Document ;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user