974835a8ef
utils.go/typeName() and formatter.go/getTipeName() have been merged in formatter.go/typeName()
2024-06-05 05:42:37 +02:00
ca12722c93
utils.go: new function typeName()
2024-06-05 05:01:34 +02:00
3736214c5a
A lot of changes. Main ones are:
...
- fraction type renamed as FractionType and moved from operator-fraction.go to fraction-type.go
- ListType moved from operator-list.go to list-type.go
- all test file were renamed adding the "t_" prefix
- defined a test template in file t_temple_test.go
- new test file t_relational_test.go where relational tests are collected
- lists can now compared as set using operators <, <=, >, and >= (IMPORTANT: here = menas same content, not same list)
2024-05-28 07:26:05 +02:00
e5f63c3d9d
function definition and usage rationalized
2024-05-24 06:28:48 +02:00
9bd4a0ba23
utils.go:fromGenericAny() now supports also ListType and DictType
2024-05-19 01:21:06 +02:00
5a9b6525a2
new function isRational() that return true is the passed value is integere or fraction
2024-05-10 09:17:51 +02:00
9c2eca40d7
utils.go: added IsBool() and IsFract()
2024-05-10 04:48:13 +02:00
8ee0bb5701
Some data-type check functions (e.g. IsInteger()) exported
2024-05-08 07:53:01 +02:00
8b4dad1381
utils.go: new function isNumOrFract(x); it returns true if x is a float, an integer, ora a fraction
2024-05-06 17:31:12 +02:00
2d0d03b975
utils.go: numAsFloat() now supports also fraction
2024-05-01 21:44:55 +02:00
5643a57bcc
utils.go: new function toInt() converts any(int64) to int
2024-05-01 07:07:36 +02:00
056d42d328
utils.go: Copy and Clone maps with filter function. Also added isIterator().
2024-05-01 05:45:10 +02:00
fc0e1ffaee
New function isFunctor()
2024-04-28 06:43:57 +02:00
323308d86f
expressions now support dict data-type
2024-04-21 14:24:56 +02:00
8f396a35de
ExprContext.SetVar() no longer requires the explicit specification of the type of number
2024-04-09 07:12:22 +02:00
072dab4144
Expressions now support function definition
2024-04-02 04:36:03 +02:00
20007a5a81
utils.go: New function isList() that checks is a value is an array of any
2024-03-30 06:50:49 +01:00
fdc2fd8dfd
utils.go: added functions anyInteger() and anyFloat()
2024-03-28 06:26:20 +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