Michael Uleysky
da0c897a95
Error reporting in arifmetic and Get<> functions.
...
Replace 0 on nullptr.
8 years ago
Michael Uleysky
0e49a86bd6
Rewrite parser and evaluator.
...
1) Use plain representation of expressions instead of recursive objects.
2) Make G_tosave, G_toprint and G_vars local.
3) DepTree nodes contains expressions itself instead of references on global objects.
4) Location tracking of errors.
8 years ago
Michael Uleysky
c218ef8eaf
Use templates for generating standart arifmetic functions.
...
Automatic translation of strings to numbers in arifmetic functions.
9 years ago
Michael Uleysky
7e68629fbe
Add directives in config files for loading modules and setup search paths for modules and includes.
9 years ago
Michael Uleysky
1cf8c24537
Move includes in separate dir
9 years ago
Michael Uleysky
ef38fb1781
Rearrange code. common.h now have all api for modules.
9 years ago
Michael Uleysky
a8d1239b46
Rename arifmetic.{cpp,h} to builtin.{cpp,h}
9 years ago
Michael Uleysky
28cb54ff70
Command-line options.
9 years ago
Michael Uleysky
b17ad14e2a
@include directive in lexical parser.
...
Correct error handling in lexical parser.
9 years ago
Michael Uleysky
cd60230d54
Add various typedef's
9 years ago
Michael Uleysky
e011354f04
Interpret dot as function GET.
...
Add functions Copy (make object copy) and Evaluate (run functions) for class ObjectBase and its derivatives.
9 years ago
Michael Uleysky
894a74eed9
Check parsed config on unknown functions
9 years ago
Michael Uleysky
6761e6e462
DumpConfig() function
9 years ago
Michael Uleysky
72c98542e0
Build dependency tree
9 years ago
Michael Uleysky
a31a47656d
Add simple arifmetic functions.
...
Tune exported suymbols.
9 years ago
Michael Uleysky
e29b8cc085
Grammatical parser
9 years ago
Michael Uleysky
be4c41c762
Lexical parser
9 years ago