mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
completed IdiomCat to compile api and math
This commit is contained in:
26
lib/resource/mathematical/MathematicalCat.gf
Normal file
26
lib/resource/mathematical/MathematicalCat.gf
Normal file
@@ -0,0 +1,26 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete MathematicalCat of Mathematical =
|
||||
NounCat - [ComplN2], --- to avoid ambiguity
|
||||
-- VerbCat,
|
||||
AdjectiveCat,
|
||||
AdverbCat,
|
||||
NumeralCat,
|
||||
-- SentenceCat,
|
||||
QuestionCat,
|
||||
RelativeCat,
|
||||
ConjunctionCat,
|
||||
PhraseCat,
|
||||
TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
IdiomCat,
|
||||
StructuralCat,
|
||||
|
||||
SymbolCat,
|
||||
PredicationCat, -- - [predV3,predV2], --- gf bug
|
||||
|
||||
LexiconCat
|
||||
** {
|
||||
|
||||
flags startcat = Phr ;
|
||||
|
||||
} ;
|
||||
4
lib/resource/mathematical/PredicationCat.gf
Normal file
4
lib/resource/mathematical/PredicationCat.gf
Normal file
@@ -0,0 +1,4 @@
|
||||
concrete PredicationCat of Predication = CatCat ** PredicationI with
|
||||
(Syntax = SyntaxCat),
|
||||
(Lang = LangCat) ;
|
||||
|
||||
2
lib/resource/mathematical/SymbolCat.gf
Normal file
2
lib/resource/mathematical/SymbolCat.gf
Normal file
@@ -0,0 +1,2 @@
|
||||
concrete SymbolCat of Symbol = CatCat ** SymbolRomance with
|
||||
(ResRomance = ResCat) ;
|
||||
5
lib/resource/mathematical/SymbolicCat.gf
Normal file
5
lib/resource/mathematical/SymbolicCat.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:present:mathematical:prelude
|
||||
|
||||
resource SymbolicCat = Symbolic with
|
||||
(Symbol = SymbolCat),
|
||||
(Grammar = GrammarCat) ;
|
||||
Reference in New Issue
Block a user