Commit graph

108 commits

Author SHA1 Message Date
Leon Mika 2d56517de9 Fixed a panic when not is called with a nil value
All checks were successful
Build / build (push) Successful in 2m2s
Also added the "error" builtin.
2025-01-28 08:54:48 +11:00
Leon Mika 8fa2e3efb9 Added lists:batch and modified and and or to be useful to handling nil defaults
All checks were successful
Build / build (push) Successful in 2m4s
2025-01-26 09:36:16 +11:00
Leon Mika ad136b3787 Added package declaration
All checks were successful
Build / build (push) Successful in 1m56s
2025-01-24 13:40:44 +11:00
Leon Mika ef8d6f3067 Added documentation for lists
All checks were successful
Build / build (push) Successful in 2m10s
2025-01-24 13:30:09 +11:00
Leon Mika a3b9f399e1 Added list:add
All checks were successful
Build / build (push) Successful in 1m58s
2025-01-24 13:25:28 +11:00
Leon Mika 258d887182 Fixed two seg faults and added lists:add 2025-01-24 13:25:10 +11:00
Leon Mika c6e195cbf8 no, I was right the first time
All checks were successful
Build / build (push) Successful in 1m54s
2025-01-19 16:01:00 +11:00
Leon Mika 742b5e96c3 Fixed CSV example 2025-01-19 15:59:51 +11:00
Leon Mika 42d5a89471 Started working on more package docs
All checks were successful
Build / build (push) Successful in 1m49s
2025-01-19 10:11:55 +11:00
Leon Mika 80e56ec1a5 Documented some more core functions
All checks were successful
Build / build (push) Successful in 1m52s
2025-01-19 09:33:09 +11:00
Leon Mika 531dd9bf4e Started building out the site.
All checks were successful
Build / build (push) Successful in 2m7s
2025-01-18 16:02:35 +11:00
Leon Mika 98f5f773a7 Added a CSV module
All checks were successful
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
All checks were successful
Build / build (push) Successful in 1m55s
2025-01-15 22:26:13 +11:00
Leon Mika d937ee4b54 Added a log builtin
Some checks failed
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
All checks were successful
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'
All checks were successful
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
All checks were successful
Build / build (push) Successful in 1m41s
2024-12-12 08:20:02 +11:00
Leon Mika 4a527cfe3d Fixed panic when typed array is empty
All checks were successful
Build / build (push) Successful in 1m40s
2024-12-12 08:17:35 +11:00
Leon Mika dac0a59085 Help should be a direct match.
All checks were successful
Build / build (push) Successful in 1m42s
2024-12-12 07:54:50 +11:00
Leon Mika f8c44ad13e Fixed the web deployment
All checks were successful
Build / build (push) Successful in 1m39s
2024-12-12 07:47:52 +11:00
Leon Mika d111d84dbf Fixed tests
Some checks failed
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
All checks were successful
Build / build (push) Successful in 2m2s
2024-10-22 11:17:15 +11:00
Leon Mika c4e4a0977b Added strs:split
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
Test / build (push) Successful in 46s
2024-10-21 20:59:37 +11:00
Leon Mika 03f17af97d issue-2: added some more string functions
Some checks failed
Test / build (push) Failing after 47s
2024-10-21 20:56:13 +11:00
Leon Mika bb78a39cdb Started working on 'try' statement
All checks were successful
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
All checks were successful
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
All checks were successful
Test / build (push) Successful in 38s
2024-09-07 09:36:09 +10:00
Leon Mika 1b4b1a339c issue-1: added tests for cat
All checks were successful
Test / build (push) Successful in 42s
2024-09-07 09:30:22 +10:00
Leon Mika 08c645a70f issue-1: added and, or, and not
All checks were successful
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
All checks were successful
Test / build (push) Successful in 40s
2024-09-07 09:00:40 +10:00
Leon Mika 484631782e issue-1: Added str and int
All checks were successful
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
All checks were successful
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'
All checks were successful
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'
All checks were successful
Build / build (push) Successful in 1m44s
2024-09-02 09:17:21 +10:00
Leon Mika 27463f33c3 Updated code url
All checks were successful
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
All checks were successful
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
All checks were successful
Build / build (push) Successful in 2m14s
2024-08-31 10:27:38 +10:00