5ab6876ea1
term.go: new priority priDereference
2025-01-03 07:28:30 +01:00
eccb0c4dc9
Added new special operators like &= and <<=.
...
Also made a litle change to scanner function moveOn(): now it moves on
the last char passed and only if there are more than one chars.
2024-12-29 19:26:02 +01:00
32686fac62
term.go: new member function errDivisionByZero()
2024-12-28 19:14:34 +01:00
d91e7eb979
The list operator '<<' (append) and '>>' (prepend) have been replaced
...
with the new operators '<+' and '+>' respectively.
'<<' and '>>' are now used only for left and right binary shit
respectively. Further, their priority has been increased moving them to
a higher priority than that of the assignment operator.
2024-12-28 09:17:27 +01:00
edf8818f51
New dedicated priority for binary operators between relational and sum ones
2024-12-25 07:41:08 +01:00
76e01f12d2
term.go: two error messages corrected
2024-12-23 06:53:37 +01:00
5f8ca47ef0
term.go: New function Clone()
2024-07-23 15:27:50 +02:00
e69dad5fb5
Rename priority label priCoalesce as priDefault
2024-07-13 17:13:16 +02:00
e904003e6e
minor changes
2024-07-11 06:53:14 +02:00
3ebba83bce
term.go: replaced self receiver
2024-07-09 07:50:50 +02:00
1757298eb4
formatter.go: typeName() renamed as TypeName()
2024-06-10 09:37:27 +02:00
ab2e3f0528
use of typeName() in error messages
2024-06-05 05:48:02 +02:00
9bba40f155
Expr's functions now support parameters with default value
2024-06-01 19:56:40 +02:00
2c87d6bf9e
Eprx now supports range of indeces to extract parts of strings or lists
2024-05-26 06:19:08 +02:00
6bb891e09d
term.go: Error messagge about incompatible types now truncates long values
2024-05-20 05:26:33 +02:00
b92b19e1dd
New interface to Typer: the function TypeName() returns a more readable type name
2024-05-19 02:23:28 +02:00
1f0f9cae22
term.go: priPrePost renamed as priIncDec
2024-05-06 04:11:43 +02:00
4c83764332
term.go: priFraction added
2024-05-01 09:47:28 +02:00
dc6975e56c
term.go: better error message in term.toInt()
2024-05-01 07:09:18 +02:00
824b9382be
termo.go: changed the name of a variable
2024-04-27 09:48:05 +02:00
268a968548
term.go: added two new priorities (priIterValue and priPrePost); new function term.symbol())
2024-04-26 04:23:39 +02:00
323308d86f
expressions now support dict data-type
2024-04-21 14:24:56 +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
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
d3f388f7e1
Selector operator, multi-operand, added
2024-04-08 22:16: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
4e361f938e
ast: now supports espression forest (multi expressions)
2024-03-31 05:57:02 +02:00
43fd457383
term.go: added priority levels priBut and priAssign
2024-03-30 08:08:49 +01:00
9fa3d9fcb2
Added the tilde '~' operator acting as NOT
2024-03-28 06:25:29 +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