Commit Graph

106 Commits

Author SHA1 Message Date
c27e487fc3 new function isNil() 2024-04-20 06:52:33 +02:00
ed973c9b7b fixed all errors in test files 2024-04-20 06:04:35 +02:00
15bbfacd47 all constant value are now stored in the same data struct (same constructor). Also nil const added 2024-04-20 05:39:49 +02:00
04f934ab04 'nil' keyword added 2024-04-20 05:38:00 +02:00
591b4ffc19 Expr.adoc: 'work in progress' added 2024-04-19 14:30:40 +02:00
fe9ab9ebd2 Expr.adoc, corrected a typo 2024-04-19 09:20:01 +02:00
7198749063 new operator dot '.' used to select an item or character from a list or a string respectively 2024-04-19 09:05:26 +02:00
b76481bbf2 new operator 'builtin' 2024-04-19 00:19:11 +02:00
4f05e5c90a funcs-math.go registered as 'math.arith' 2024-04-19 00:18:23 +02:00
8ad25afdc4 function register 2024-04-19 00:16:49 +02:00
54bc759f70 expressions now support intger value in bin (0b), oct (0o), and hex (0x) form 2024-04-17 14:15:50 +02:00
b6887af77a added the prefix operator '#' (length of string and array) 2024-04-17 07:12:32 +02:00
353d495c50 two new operators added: '<<' and '>> 2024-04-16 03:54:50 +02:00
f45b2c0a88 func-os.go: set of functions to work with files 2024-04-15 07:01:34 +02:00
624e3ac0f2 parser_test.go: changed ImportImportFunc(s) 2024-04-15 07:00:40 +02:00
35fcbd2bce expr_test.go: added a test in passing functions as parameters 2024-04-15 06:59:27 +02:00
2150181303 func-import.go: renamed ImportImportFunc as ImportImportFuncs 2024-04-15 06:57:29 +02:00
d643e24a1b doc: Syntax of expressions moved from README.adoc to doc/Expr.doc 2024-04-14 08:16:01 +02:00
43e631f2e8 enabled passing functions as parameters in function call 2024-04-14 07:38:28 +02:00
f1afbf9b49 parser.go: removed commented code 2024-04-14 07:35:43 +02:00
ed6af6603a commented out some test code 2024-04-13 22:15:20 +02:00
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