Celestino Amoroso camoroso
  • Joined on 2021-04-24
camoroso pushed to main at go-pkg/expr 2024-04-20 06:57:31 +02:00
943ef3327e empty expressions no more return error, now they return nil
475ef3c80a parser_test.go: test added on isNil() function
3c0307524b simple-func-store.go: now imports 'builtins' module on creation
c27e487fc3 new function isNil()
Compare 4 commits »
camoroso pushed to main at go-pkg/expr 2024-04-20 06:06:01 +02:00
ed973c9b7b fixed all errors in test files
15bbfacd47 all constant value are now stored in the same data struct (same constructor). Also nil const added
04f934ab04 'nil' keyword added
Compare 3 commits »
camoroso pushed to hook-traning at go-pkg/expr 2024-04-19 15:03:02 +02:00
faff5a7e2c hook_test next commit
camoroso pushed to hook-traning at go-pkg/expr 2024-04-19 15:00:28 +02:00
36f6846a3f hook_test first commit
camoroso created branch hook-traning in go-pkg/expr 2024-04-19 14:41:59 +02:00
camoroso pushed to hook-traning at go-pkg/expr 2024-04-19 14:41:59 +02:00
camoroso pushed to main at go-pkg/expr 2024-04-19 14:30:49 +02:00
591b4ffc19 Expr.adoc: 'work in progress' added
camoroso pushed to main at go-pkg/expr 2024-04-19 09:20:06 +02:00
fe9ab9ebd2 Expr.adoc, corrected a typo
7198749063 new operator dot '.' used to select an item or character from a list or a string respectively
Compare 2 commits »
camoroso pushed to main at go-pkg/expr 2024-04-19 00:22:42 +02:00
b76481bbf2 new operator 'builtin'
4f05e5c90a funcs-math.go registered as 'math.arith'
8ad25afdc4 function register
Compare 3 commits »
camoroso pushed to main at go-pkg/expr 2024-04-17 14:19:32 +02:00
54bc759f70 expressions now support intger value in bin (0b), oct (0o), and hex (0x) form
b6887af77a added the prefix operator '#' (length of string and array)
353d495c50 two new operators added: '<<' and '>>
f45b2c0a88 func-os.go: set of functions to work with files
624e3ac0f2 parser_test.go: changed ImportImportFunc(s)
Compare 7 commits »
camoroso pushed to main at go-pkg/expr 2024-04-14 08:16:30 +02:00
d643e24a1b doc: Syntax of expressions moved from README.adoc to doc/Expr.doc
camoroso pushed to main at go-pkg/expr 2024-04-14 07:39:18 +02:00
43e631f2e8 enabled passing functions as parameters in function call
f1afbf9b49 parser.go: removed commented code
Compare 2 commits »
camoroso pushed to main at go-pkg/expr 2024-04-13 22:16:25 +02:00
ed6af6603a commented out some test code
51e740d243 expr_test.go: fixed test expression
53dacd5332 operator-selector.go: fixed the case match algorithm
e297f2a1d3 expr_test.go: new test file to verify complex expressions
70cdb9367e changed the structer of the selector components: now all case are a list value assigned as right operand of the selector operator
Compare 8 commits »
camoroso pushed to main at go-pkg/expr 2024-04-13 06:00:33 +02:00
f03ae555fc added the copywrite comment header in source files that lacked it
camoroso pushed to main at go-pkg/expr 2024-04-13 05:47:20 +02:00
b9ea96f649 merge: solved a lot of conflicts caused by an incorect commit removal
838ab9fd7e control: exported all control variables by renaming them in upper case
ad6b4b872f token_test.go: rewritten using a more structured form
c75e6485e0 term_test.go: changed some fmt.Println() to t.Log()
7b80f7f03b helpers_test.go: removed the printed messages "Hello World!"
Compare 11 commits »
camoroso pushed to main at go-pkg/expr 2024-04-09 09:11:54 +02:00
95605232ab README.adoc: updated draft
camoroso pushed to main at go-pkg/expr 2024-04-09 07:14:44 +02:00
8f396a35de ExprContext.SetVar() no longer requires the explicit specification of the type of number
bd323efedf README.adoc: example programs updated
a9b143d012 README.adoc: example programs updated
024ff42be0 Arg struct members are now exported
Compare 4 commits »
camoroso pushed tag v0.4.0 to go-pkg/expr 2024-04-09 07:12:51 +02:00
camoroso pushed tag v0.3.0 to go-pkg/expr 2024-04-09 06:30:09 +02:00
camoroso pushed to main at go-pkg/expr 2024-04-09 06:13:19 +02:00
8ab2c28343 EvalArg -> Arg
c4a2fcce3d README.adoc: proofreading
Compare 2 commits »