Commit Graph

535 Commits

Author SHA1 Message Date
51e740d243 expr_test.go: fixed test expression 2024-04-13 22:14:28 +02:00
53dacd5332 operator-selector.go: fixed the case match algorithm 2024-04-13 22:13:16 +02:00
e297f2a1d3 expr_test.go: new test file to verify complex expressions 2024-04-13 10:11:44 +02:00
70cdb9367e changed the structer of the selector components: now all case are a list value assigned as right operand of the selector operator 2024-04-13 10:10:25 +02:00
efd9af9030 graph.go: remove unused Reticle code 2024-04-13 06:05:04 +02:00
b67d896415 Merge branch 'main' into feat_graph 2024-04-13 06:01:06 +02:00
f03ae555fc added the copywrite comment header in source files that lacked it 2024-04-13 06:00:22 +02:00
f36ae33acc added the graph source files 2024-04-13 05:54:34 +02:00
b9ea96f649 merge: solved a lot of conflicts caused by an incorect commit removal 2024-04-13 05:47:10 +02:00
838ab9fd7e control: exported all control variables by renaming them in upper case 2024-04-13 05:16:23 +02:00
ad6b4b872f token_test.go: rewritten using a more structured form 2024-04-13 05:08:38 +02:00
c75e6485e0 term_test.go: changed some fmt.Println() to t.Log() 2024-04-13 05:07:38 +02:00
7b80f7f03b helpers_test.go: removed the printed messages "Hello World!" 2024-04-13 05:06:43 +02:00
7f9fd570b2 parser_test.go: changed the notice message about EXPR_PATH 2024-04-13 04:40:48 +02:00
b17d2250a4 parser.go: fixed a problem on the selector operator 2024-04-13 04:37:15 +02:00
dda10749d0 token.go: better implementation of the function String() 2024-04-13 04:33:59 +02:00
07ca84170e operand-selector-case.go: String() function added to the selectorCase type 2024-04-13 04:32:54 +02:00
55e136e9bc ast.go: String() function addedd to the Expr interface 2024-04-13 04:31:53 +02:00
e493c40c7b builtin-funcs: export import functions (made their names uppercase) 2024-04-13 04:18:14 +02:00
95605232ab README.adoc: updated draft 2024-04-09 09:11:47 +02:00
8f396a35de ExprContext.SetVar() no longer requires the explicit specification of the type of number 2024-04-09 07:12:22 +02:00
bd323efedf README.adoc: example programs updated 2024-04-09 07:09:23 +02:00
a9b143d012 README.adoc: example programs updated 2024-04-09 06:29:44 +02:00
024ff42be0 Arg struct members are now exported 2024-04-09 06:28:57 +02:00
8ab2c28343 EvalArg -> Arg 2024-04-09 06:13:12 +02:00
c4a2fcce3d README.adoc: proofreading 2024-04-09 05:42:50 +02:00
4d94a7ad59 class and kind types removed 2024-04-09 05:32:50 +02:00
9ac88bf446 made some interfaces exportable and fixed/enhaaced some selector operator versions 2024-04-08 23:17:56 +02:00
aa195b9a68 README.adoc: section on selector operator 2024-04-08 23:14:25 +02:00
d3f388f7e1 Selector operator, multi-operand, added 2024-04-08 22:16:07 +02:00
f74e523617 test on '@@' 2024-04-06 03:09:02 +02:00
7612a59757 Operator '@@' (export-all) added. Experimental include() function also added 2024-04-06 03:06:07 +02:00
ce6b88ccdd present.go -> control.go 2024-04-06 03:01:57 +02:00
43b7d3b15e constant prefix name 'preset_' changed to 'control_'. 'control_export_all' constant added. 2024-04-06 03:01:17 +02:00
181a9210d5 parser.go -- Fix: reset to true the firstToken flag after getting a semicolon 2024-04-06 01:32:29 +02:00
7f9d7690f9 SimpleFuncStore is now derived from SimpleVarStore 2024-04-06 01:07:06 +02:00
0ba96e65a5 Variable reference 2024-04-06 01:00:29 +02:00
574a6f5215 Expression process diagram added 2024-04-04 12:56:43 +02:00
d073d11ad3 Variable references belonging to the parent scope added ('@') 2024-04-04 12:54:26 +02:00
8c3254a8f2 typo 2024-04-03 13:19:18 +02:00
fccfd2f971 Operators '??' and '?=' added 2024-04-03 13:15:25 +02:00
088e347c95 Changed SetValue() as SetVar() and GetValue() as GetVar() 2024-04-03 06:29:57 +02:00
6c02b02d4a New draft 2024-04-03 06:23:45 +02:00
4fc8ac64e7 README.adoc: examples, relational operators table completed 2024-04-02 08:18:34 +02:00
4683a08da2 import() function added 2024-04-02 06:49:16 +02:00
6aada9f7e4 funcs-math.go -> func-math.go 2024-04-02 05:18:30 +02:00
4e8ebbef04 the preset.go file 2024-04-02 05:02:15 +02:00
f29b1f13b1 preset definitions and functions were moved to the new preset.go file 2024-04-02 05:00:48 +02:00
072dab4144 Expressions now support function definition 2024-04-02 04:36:03 +02:00
f58ec3ac32 parser: now checks whether the assign operator '=' is preceded by a variable 2024-03-31 06:38:46 +02:00