|
0f54e01ef3
|
t_scanner_test.go: Test nr 25 changed because now single-quotes can enclose strings
|
2024-06-10 20:36:03 +02:00 |
|
|
63f5db00b3
|
all test file on builtin functions have been renamed from t_func-*_test.go to t_builtin-*_test.go
|
2024-06-10 20:34:11 +02:00 |
|
|
9745a5d909
|
utils.go: toInt() -> ToInt(); toBool() -> ToBool()
|
2024-06-10 19:03:39 +02:00 |
|
|
0bb4c96481
|
scanner.go: Strings can be enclosed between two single-quotes too
|
2024-06-10 18:52:13 +02:00 |
|
|
1757298eb4
|
formatter.go: typeName() renamed as TypeName()
|
2024-06-10 09:37:27 +02:00 |
|
|
54041552d4
|
dict-type.go: added MakeDict() constructor
|
2024-06-10 09:35:48 +02:00 |
|
|
5302907dcf
|
external plugins can now request for dependencies
|
2024-06-09 17:12:57 +02:00 |
|
|
eb4b17f078
|
moved all test expression files in the test-resources forlder
|
2024-06-09 16:02:07 +02:00 |
|
|
33d70d6d1a
|
splitted go and expr function bindings in dedicated source files
|
2024-06-09 10:41:06 +02:00 |
|
|
9df9ad5dd1
|
func-*.go modules renamed as builtin-*.go.
Also changed and exported some identiefier relatet to the builtin feature
|
2024-06-09 10:28:51 +02:00 |
|
|
34dc828ead
|
exported some identifier
|
2024-06-09 10:13:37 +02:00 |
|
|
29bc2c62a3
|
first plugin support.
Module organization requires a better structure to decouple definitions and implementations
|
2024-06-09 07:41:56 +02:00 |
|
|
8eb2d77ea3
|
improved position of some common functions
|
2024-06-09 07:38:29 +02:00 |
|
|
53bcf90d2a
|
operator-builtin.go: some error messages improved
|
2024-06-09 07:36:12 +02:00 |
|
|
f347b15146
|
Control vars are now stored in the globalCtx only.
However, it is still allowed to store control var in a local context in special situation
|
2024-06-08 05:49:28 +02:00 |
|
|
115ce26ce9
|
IsOptional() function of ExprFuncParam renamed as IdDefault(). A new IsOptional() function created to check if a param is optional without requiring a default value
|
2024-06-07 09:45:02 +02:00 |
|
|
227944b3fb
|
Removed eval() function from ast interface and implementation. Check on preset control variables is now done in initDefaultVars()
|
2024-06-07 09:41:10 +02:00 |
|
|
0d01afcc9f
|
member ctx removed from struct parser because it is unused
|
2024-06-07 09:03:42 +02:00 |
|
|
00c76b41f1
|
list-type.go: two special constructors, MakeList() and ListFromStrigns(), added
|
2024-06-07 09:02:14 +02:00 |
|
|
08e0979cdd
|
import-utils.go: addPresetDirs() replaced by addSearchDirs()
|
2024-06-07 09:01:18 +02:00 |
|
|
f04f5822ec
|
common-type-names.go: added type name list-of
|
2024-06-07 08:59:04 +02:00 |
|
|
80d47879e9
|
t_list_test.go: removed commented code
|
2024-06-07 08:54:59 +02:00 |
|
|
985eb3d19d
|
Merge branch 'main' into feat_plugin
|
2024-06-06 05:33:56 +02:00 |
|
|
45734ab393
|
new test file t_iter-list.go
|
2024-06-06 05:33:35 +02:00 |
|
|
c100cf349d
|
some identier exported; new file import-utils.go
|
2024-06-06 05:31:35 +02:00 |
|
|
8144122d2c
|
fixed some defects in the iter-list implementation
|
2024-06-05 08:06:39 +02:00 |
|
|
188ea354ee
|
it-range.go renamed as it-range.go.unused
|
2024-06-05 08:05:42 +02:00 |
|
|
2fc6bbfe10
|
removed old simple vars and funcs context implementations
|
2024-06-05 05:54:12 +02:00 |
|
|
847d85605e
|
removed unused commented code
|
2024-06-05 05:53:02 +02:00 |
|
|
9c29392389
|
changes to adapt errors using typeName() functions
|
2024-06-05 05:52:27 +02:00 |
|
|
a7b6e6f8d2
|
t_list_test.go: some tests added
|
2024-06-05 05:50:37 +02:00 |
|
|
a16ac70e4a
|
t_dict_test.go: some tests added
|
2024-06-05 05:49:07 +02:00 |
|
|
ab2e3f0528
|
use of typeName() in error messages
|
2024-06-05 05:48:02 +02:00 |
|
|
974835a8ef
|
utils.go/typeName() and formatter.go/getTipeName() have been merged in formatter.go/typeName()
|
2024-06-05 05:42:37 +02:00 |
|
|
457a656073
|
tests on collection's item assignments and some other changes
|
2024-06-05 05:09:13 +02:00 |
|
|
9e63e1402e
|
t_parser_test.go: Expr's type names
|
2024-06-05 05:06:43 +02:00 |
|
|
e4ded4f746
|
operator-assign.go: some errors message changed to report the Expr's type names, not the Go ones
|
2024-06-05 05:05:40 +02:00 |
|
|
4e3af837e6
|
list-type.go: constructor newListA(), called without arguments, now creates an empty list, not a nil object
|
2024-06-05 05:03:37 +02:00 |
|
|
ca12722c93
|
utils.go: new function typeName()
|
2024-06-05 05:01:34 +02:00 |
|
|
d96123ab02
|
The assign operator '=' can now set items in ListType and DictType
|
2024-06-04 11:07:35 +02:00 |
|
|
f2d6d63017
|
fixed an error message (test nr 97)
|
2024-06-04 11:04:59 +02:00 |
|
|
905b2af7fa
|
setItem() function
|
2024-06-04 11:04:00 +02:00 |
|
|
9307473d08
|
Call() implementation can invoke varaibles holding functors
|
2024-06-04 11:03:24 +02:00 |
|
|
10a596a4cd
|
parser.go: commented out some useless code
|
2024-06-04 11:02:26 +02:00 |
|
|
609fb21505
|
global-context.go: variables holding function values can be invoked as function now
|
2024-06-04 11:01:04 +02:00 |
|
|
7650a4a441
|
DictType moved from operand-dict.go to the dict-type.go file
|
2024-06-04 10:59:25 +02:00 |
|
|
f51d6023ae
|
Doc: start of function documentation
|
2024-06-03 06:27:14 +02:00 |
|
|
99454227d5
|
little changes to test source files
|
2024-06-02 12:33:32 +02:00 |
|
|
75358e5d35
|
func-fmt.go: print() and println()
|
2024-06-02 12:32:08 +02:00 |
|
|
51b272dda8
|
func-string.go: ad least one extra prefix and suffix for startsWithStr() and endsWitchStr()
|
2024-06-02 12:30:17 +02:00 |
|