-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTerms.gf
More file actions
61 lines (43 loc) · 1.57 KB
/
Terms.gf
File metadata and controls
61 lines (43 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
-- mathematical terms as they appear in "normal" mathematical text
abstract Terms = Identifiers ** {
cat
Formula ;
Declaration ;
Equation ;
Compar ;
[Term] {1} ;
Function ;
Const ;
Oper ;
Oper2 ;
Terms ; -- argument list for macros
Macro ; -- the macro itself
fun
EquationFormula : Equation -> Formula ;
ElemFormula : [Term] -> Term -> Formula ;
ElemDeclaration : [Term] -> Term -> Declaration ;
FunctionDeclaration : Ident -> Term -> Term -> Declaration ;
ChainEquation : Compar -> Term -> Equation -> Equation ;
BinaryEquation : Compar -> Term -> Term -> Equation ;
ParenthTerm : Term -> Term ; -- extra parentheses
AppFunctionTerm : Function -> [Term] -> Term ;
EnumSetTerm : [Term] -> Term ;
ComprehensionTerm : Term -> Term -> Formula -> Term ;
IdentFunction : Ident -> Function ;
DerivativeFunction : Function -> Function ;
TextbfTerm : Term -> Term ;
ConstTerm : Const -> Term ;
OperTerm : Oper -> Term -> Term ;
Oper2Term : Oper2 -> Term -> Term -> Term ;
MacroFormula : Macro -> Formula ;
MacroTerm : Macro -> Term ;
App1MacroFormula : Macro -> Term -> Formula ;
App1MacroTerm : Macro -> Term -> Term ;
App2MacroFormula : Macro -> Term -> Term -> Formula ;
App2MacroTerm : Macro -> Term -> Term -> Term ;
App3MacroFormula : Macro -> Term -> Term -> Term -> Formula ;
App3MacroTerm : Macro -> Term -> Term -> Term -> Term ;
App4MacroFormula : Macro -> Term -> Term -> Term -> Term -> Formula ;
App4MacroTerm : Macro -> Term -> Term -> Term -> Term -> Term ;
StringMacro : String -> Macro ;
}