Commit Graph

30 Commits

Author SHA1 Message Date
8e5550bfa7 New operator %= 2024-12-19 15:14:30 +01:00
6ee21e10af New, more flexible, parser context datatype that includes and extends
the previous flags allowForest and allowVarRef.
Added binary operator (work in progress).
Better implementation of +=,-=,*=, and /= (new) operators.
2024-12-19 14:48:27 +01:00
c76e1d3c8e symbol.go: New symbol '*=' 2024-07-23 15:24:54 +02:00
032916d4fa New operator unset to delete variables and functions from current context 2024-07-13 09:01:59 +02:00
fd8e32e12b new operator "?!" (alternate value) 2024-07-06 05:54:53 +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
03d4c192c2 new syntax to get items from collection: collection[index]. Supported collections are string, list and dict 2024-05-24 22:51:01 +02:00
7c8dbb0ac7 Added virtual symbol SymVariable translated from general real SymIdentifier symbol 2024-05-20 06:05:24 +02:00
c39970fa7e new operator 'in' added. It check if an item is member of a list, or if a key is contained in a dictionary 2024-05-18 07:47:41 +02:00
4151f3f5e2 literals of rational number, e.g. 1.2(3), are now supported and are evaluated as fractions 2024-05-14 04:55:16 +02:00
a2c0a24494 added symbol '..' and '...'; improved some error reports in parser.go 2024-05-04 18:47:00 +02:00
327bffa01f symbol.go: typo 2024-04-27 22:30:18 +02:00
60effe8f1b new prefix operator 'include' 2024-04-27 09:48:45 +02:00
10eec286fa new operator '111123' that returns the content of the current context or the context of an iterator 2024-04-27 06:12:30 +02:00
750c660331 first working implementation of iterators and some fixes to the parser around lists analysis 2024-04-26 04:45:42 +02:00
323308d86f expressions now support dict data-type 2024-04-21 14:24:56 +02:00
a628bfac39 New symbol '^' (caret). The scanner now returns an error token if can't recognise a symbol. 2024-04-21 07:10:19 +02:00
04f934ab04 'nil' keyword added 2024-04-20 05:38:00 +02:00
b76481bbf2 new operator 'builtin' 2024-04-19 00:19:11 +02:00
353d495c50 two new operators added: '<<' and '>> 2024-04-16 03:54:50 +02:00
d3f388f7e1 Selector operator, multi-operand, added 2024-04-08 22:16:07 +02:00
7612a59757 Operator '@@' (export-all) added. Experimental include() function also added 2024-04-06 03:06:07 +02:00
fccfd2f971 Operators '??' and '?=' added 2024-04-03 13:15:25 +02:00
072dab4144 Expressions now support function definition 2024-04-02 04:36:03 +02:00
e085502df3 symbol.go: New keyword 'but' 2024-03-30 08:08:11 +01:00
c36c88d0fd Added list '[]' data type. Fix: function with no arguments 2024-03-28 08:51:02 +01:00
9fa3d9fcb2 Added the tilde '~' operator acting as NOT 2024-03-28 06:25:29 +01:00
594806c999 added operator './' (float division) and test 2024-03-26 09:12:44 +01:00
33841c5861 Added copyrighr note to all sources 2024-03-26 08:45:18 +01:00
522b880ca3 Added all source files 2024-03-26 07:00:53 +01:00