Leon Mika
98f5f773a7
Added a CSV module
Build / build (push) Successful in 2m3s
2025-01-18 10:30:20 +11:00
Leon Mika
fc43c2ce7d
Added subscript support for long var interpolation
...
- Modified long var interpolation to support dot lookups
- Added a time:from-unix function and added time.Time as an object
2025-01-18 09:54:21 +11:00
Leon Mika
1632a0a294
Fixed missing import
Build / build (push) Successful in 1m55s
2025-01-15 22:26:13 +11:00
Leon Mika
d937ee4b54
Added a log builtin
Build / build (push) Failing after 1m43s
2025-01-15 22:22:17 +11:00
Leon Mika
dcd4d0c5d2
Some new features and bugfixes
...
- Fixed parse bug which would result in an 'unrecognised }' when a comment appeared before a }
- Added support for ${} variables interpolation in strings
- Added support for $() for sub-expression interoplation in strings
- Fixed bug which was preventing dot dereferencing in array and hash literals
- Defined error type for when the result is not convertable to go
2025-01-15 22:07:29 +11:00
Leon Mika
8a416f2bb9
Added single and double quoted string
...
Build / build (push) Successful in 1m57s
Also started working on string interpolation
2025-01-13 22:09:47 +11:00
Leon Mika
a30c012bcd
Merge remote-tracking branch 'origin/main'
Build / build (push) Successful in 1m59s
2025-01-13 21:38:46 +11:00
Leon Mika
934252e1bb
Added strs:split and fixed closures
...
Closures now properly close over the context in which it was created
2025-01-13 21:37:54 +11:00
Leon Mika
a16afd0bc2
Actually fixed the panic but reverted back to old working
Build / build (push) Successful in 1m41s
2024-12-12 08:20:02 +11:00
Leon Mika
4a527cfe3d
Fixed panic when typed array is empty
Build / build (push) Successful in 1m40s
2024-12-12 08:17:35 +11:00
Leon Mika
dac0a59085
Help should be a direct match.
Build / build (push) Successful in 1m42s
2024-12-12 07:54:50 +11:00
Leon Mika
f8c44ad13e
Fixed the web deployment
Build / build (push) Successful in 1m39s
2024-12-12 07:47:52 +11:00
Leon Mika
d111d84dbf
Fixed tests
Build / build (push) Failing after 1m40s
2024-12-11 22:37:23 +11:00
Leon Mika
ee2e9464a7
Added custom printers
2024-12-11 22:30:14 +11:00
Leon Mika
b9f349d1d7
Added help command
2024-12-11 21:23:53 +11:00
Leon Mika
23be2593f3
Added help command
2024-12-11 21:16:08 +11:00
Leon Mika
8c5cb299c2
Started working on a REPL helper
2024-12-11 20:48:12 +11:00
Leon Mika
9b3b8287fa
Added strs:has-suffix
Build / build (push) Successful in 2m2s
2024-10-22 11:17:15 +11:00
Leon Mika
c4e4a0977b
Added strs:split
...
Build / build (push) Successful in 1m55s
This involved exposing the internal object types, which I think was about time
2024-10-22 09:14:24 +11:00
Leon Mika
2f54a9311e
Finished implementing try catch
Build / build (push) Successful in 2m5s
2024-10-21 22:00:06 +11:00
lmika
5b913266e9
Merge pull request 'issue-2: added some more string functions' ( #6 ) from feature/issue-2 into main
...
Build / build (push) Successful in 2m6s
Added the functions strs:to-upper, strs:to-lower, strs:trim
2024-10-21 10:01:48 +00:00
Leon Mika
504106b5ef
issue-2: fixed trim function
Test / build (push) Successful in 46s
2024-10-21 20:59:37 +11:00
Leon Mika
03f17af97d
issue-2: added some more string functions
Test / build (push) Failing after 47s
2024-10-21 20:56:13 +11:00
Leon Mika
bb78a39cdb
Started working on 'try' statement
Build / build (push) Successful in 2m8s
2024-10-21 15:21:28 +11:00
lmika
699ff18dab
Merge pull request 'feature/issue-1: built out the core libraries' ( #3 ) from feature/issue-1 into main
...
Build / build (push) Successful in 1m53s
Reviewed-on: #3
2024-09-06 23:38:04 +00:00
Leon Mika
e187ff0194
issue-1: removed commented out code
Test / build (push) Successful in 38s
2024-09-07 09:36:09 +10:00
Leon Mika
1b4b1a339c
issue-1: added tests for cat
Test / build (push) Successful in 42s
2024-09-07 09:30:22 +10:00
Leon Mika
08c645a70f
issue-1: added and, or, and not
Test / build (push) Successful in 38s
2024-09-07 09:14:21 +10:00
Leon Mika
1169f82f7b
issue-1: added add, sub, mup, div, and mod
Test / build (push) Successful in 40s
2024-09-07 09:00:40 +10:00
Leon Mika
484631782e
issue-1: Added str and int
Test / build (push) Successful in 43s
2024-09-06 20:55:19 +10:00
Leon Mika
efaf31c869
issue-1: added gt, ge, lt, le
2024-09-06 20:36:00 +10:00
Leon Mika
d501a3af25
Added CI/CD for pushing to feature branch
Test / build (push) Successful in 43s
2024-09-05 22:01:05 +10:00
Leon Mika
c689814ba2
Completed 'eq' cases and added 'ne'
2024-09-05 21:57:39 +10:00
Leon Mika
db2c3fa5c4
Merge remote-tracking branch 'origin/main'
Build / build (push) Successful in 1m56s
2024-09-04 22:18:57 +10:00
Leon Mika
20ea8bac06
Added the seq builtin
2024-09-04 22:18:15 +10:00
Leon Mika
6cd3e9ff0f
Merge remote-tracking branch 'github/main'
Build / build (push) Successful in 1m44s
2024-09-02 09:17:21 +10:00
Leon Mika
27463f33c3
Updated code url
Build / build (push) Successful in 1m51s
2024-09-02 09:02:49 +10:00
Leon Mika
7bb26465f2
Added support for calling foreach with an invokable builtin
Build / build (push) Successful in 1m51s
2024-08-31 10:58:03 +10:00
Leon Mika
7fafc23401
Fixed NPE when trying to bind string value to nil
Build / build (push) Successful in 2m14s
2024-08-31 10:27:38 +10:00
Leon Mika
f322834cef
Added call to install Netlify
Build / build (push) Successful in 1m55s
2024-08-31 10:14:18 +10:00
Leon Mika
adcd3f146e
Moved to Forgejo builder
Build / build (push) Failing after 1m9s
2024-08-31 10:11:10 +10:00
Leon Mika
94cb920c51
Fixed a number of bugs
...
- Fixed the non-opaque slice and struct types returned from builtins as pointers to be returned from eval as pointers
- Fixed syntax problems with empty blocks that contain new-lines
2024-06-05 11:30:45 +00:00
Leon Mika
88417aba95
Added support for "opaque" return types
...
These are return types that are left alone by the UCL interpretor and cannot be operated on or get fields of.
2024-06-05 03:59:53 +00:00
Leon Mika
505fd29032
Fixed a panic which was thrown when trying to dereference an nil object
2024-05-24 04:07:53 +00:00
Leon Mika
da00d9c723
Fixed index over slices with struct pointers
2024-05-24 03:57:36 +00:00
Leon Mika
a69fe72f23
Added the dot operator
2024-05-11 09:16:34 +10:00
Leon Mika
789add45bb
Added 'add', 'filter' and 'reduce' builtins
2024-05-10 05:38:39 +00:00
Leon Mika
ad746c05aa
Added the keys built-in
2024-05-10 00:10:42 +00:00
Leon Mika
34a0c8e3ff
Allows invokable to be carried outside the context
2024-05-06 01:47:17 +00:00
Leon Mika
f7db399037
Added bindable invokables
2024-05-06 01:39:37 +00:00