Commit Graph

391 Commits

Author SHA1 Message Date
a18d92534f Doc: little changes 2024-06-19 22:51:37 +02:00
ec0963e26f Doc: little changes 2024-06-19 22:46:35 +02:00
be992131b1 Doc: little changes 2024-06-19 22:25:38 +02:00
0e3960321f Doc: little changes 2024-06-19 22:22:10 +02:00
61d34fef7d Doc: little changes 2024-06-19 22:20:28 +02:00
581f1585e6 Doc: embedded images 2024-06-19 22:04:13 +02:00
531cb1c249 Doc: concepts 2024-06-19 09:38:02 +02:00
d1b468f35b t_list_test.go: new test cases added 2024-06-19 09:24:50 +02:00
ff9cf80c66 operator-index.go: ConstLastIndex is checked 2024-06-19 09:24:19 +02:00
d63b18fd76 parser.go: SymColon resets the firstToken flag; that is needed to specify range indeces that can define negative limits 2024-06-19 09:22:40 +02:00
019470faf1 operator-range.go: Fixed priority bug; when range only has the left limit, right limit is set to ConstLastIndex constant 2024-06-19 09:20:02 +02:00
302430d57d common-params.go: added the constant ConstLastIndex 2024-06-19 09:17:46 +02:00
62ef0d699d token.go: new function IsOneOf() 2024-06-19 09:16:19 +02:00
866de759dd file-reader.expr: simpler implementation 2024-06-17 14:07:39 +02:00
b1d6b6de44 refactored dict's item access 2024-06-17 14:06:33 +02:00
7e357eea62 changed to comply new builtin-os-file.go's function names 2024-06-17 09:54:20 +02:00
d6b4c79736 operator-index.go: dict item access by generic keys implemented 2024-06-17 09:05:23 +02:00
d066344af8 builtin-os-file.go: changed read and write function names; added fileReadTextAll 2024-06-17 06:59:15 +02:00
f41dba069e plugin.go: support Liteide and VScode to debug executable file name 2024-06-17 06:57:47 +02:00
703ecf6829 Added utility function GetLast() to context 2024-06-17 06:56:32 +02:00
ba479a1b99 Function call moved from operand-func.go to function.go 2024-06-17 06:54:50 +02:00
24e6a293b0 common-params.go: ParamName added 2024-06-12 11:16:57 +02:00
28f464c4dc plugins.go: If the main program's file name ends with '.debug', plugins will be loaded from file with name ending with '.debug' 2024-06-12 11:15:31 +02:00
9fb611aa20 Formatter option is now composed of two data: flags (lower 16 bits) and indentation size (higher 16 bits).
DictType and ListType formatter use both indent and flag options.
Simple-store now makes a DictType from its data and its ToString() function returns dict.ToString()
2024-06-11 16:32:01 +02:00
56d6d06d15 simple-store.go: newline removed after context last brace in ToString() 2024-06-10 20:58:38 +02:00
d9f7e5b1ad common-errors.go: exported all error functions.
builtin-string.go: renamed all functions from somthingStr() to strSomething()
2024-06-10 20:37:58 +02:00
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