Commit graph

102 commits

Author SHA1 Message Date
Leon Mika 2e8e60f904 Removed set and upgraded Go to 1.24
All checks were successful
Test / build (push) Successful in 1m1s
2025-05-24 10:10:32 +10:00
Leon Mika 0cf2f816da Added try blocks back
All checks were successful
Test / build (push) Successful in 56s
2025-05-24 09:52:10 +10:00
Leon Mika 53b05b5ba6 Added 'error' and 'assert' builtins
Some checks failed
Test / build (push) Failing after 1m7s
2025-05-19 22:04:09 +10:00
Leon Mika 7ca821016e Exposed bool and time objects
Some checks failed
Test / build (push) Failing after 1m6s
2025-05-19 21:42:39 +10:00
Leon Mika 1173d163f5 Added a default bind case for Go types that look like objects
Some checks failed
Test / build (push) Failing after 1m8s
2025-05-19 21:19:43 +10:00
Leon Mika f79e91e26d Temporary fall back to returning objects as is if they cannot be converted to Go
Some checks failed
Test / build (push) Failing after 57s
2025-05-18 13:38:31 +10:00
Leon Mika f4be44fcbc Added a StringListObject
Some checks failed
Test / build (push) Failing after 57s
2025-05-18 12:45:33 +10:00
Leon Mika 7d16701691 Another fix to tests 2025-05-18 10:43:25 +10:00
Leon Mika c0d9f950ab Replaced use of 'set' with assignments 2025-05-18 10:42:32 +10:00
Leon Mika 94aad41712 Fixed bug in which commands could not be assigned to pipeline results
All checks were successful
Test / build (push) Successful in 59s
2025-05-18 07:39:37 +10:00
Leon Mika 33d04ba18d Fixed bug involving what was being set
All checks were successful
Test / build (push) Successful in 56s
2025-05-18 07:27:57 +10:00
Leon Mika 51e35aa9a6 Added support for assignments
All checks were successful
Test / build (push) Successful in 1m1s
2025-05-18 07:20:52 +10:00
Leon Mika 0f1ceba090 Added first pass at pseudo vars
All checks were successful
Build / build (push) Successful in 2m25s
2025-05-17 21:51:16 +10:00
Leon Mika e7f904e7da Added some changes to call and added builtins
All checks were successful
Build / build (push) Successful in 2m32s
- call now supports calling invokables by string
- call now takes as arguments a listable of positional args, and a hashable of keyword args
- added strs:split, strs:join, and strs:has-prefix
- added new lists module with lists:first
- added time:sleep
2025-05-17 13:59:44 +10:00
Leon Mika 109be33d14 Made Hashable public and bindable
All checks were successful
Build / build (push) Successful in 2m34s
2025-05-17 10:34:39 +10:00
Leon Mika 27b6cc0b92 Added missing go get tag
All checks were successful
Build / build (push) Successful in 2m39s
2025-05-15 21:54:57 +10:00
Leon Mika 8414ddcb90 removed non-existant module
All checks were successful
Build / build (push) Successful in 2m12s
2025-04-10 21:48:54 +10:00
Leon Mika 4f66632e5a Removed non-existant doc
Some checks failed
Build / build (push) Failing after 2m15s
2025-04-10 21:45:12 +10:00
Leon Mika 483a130848 Added some missing packages
Some checks failed
Build / build (push) Failing after 1m57s
2025-04-10 21:42:01 +10:00
Leon Mika 0ddffcc489 Fixed tests
Some checks failed
Build / build (push) Failing after 1m49s
2025-04-10 21:35:12 +10:00
Leon Mika 0a7021845e Fixed nil-pointer panic in strs:join
Some checks failed
Build / build (push) Failing after 53s
2025-03-23 12:05:25 +11:00
Leon Mika ffc35acdc3 Added some tests for the while 2025-03-23 12:04:39 +11:00
Leon Mika 00c0064f51 Added the while loop 2025-03-23 12:04:36 +11:00
Leon Mika cde8922bce Added itrs:tap 2025-03-23 12:01:21 +11:00
Leon Mika e43763eb43 Another fix to the paths 2025-03-23 12:01:13 +11:00
Leon Mika a4de69f15e Fixed missing docs 2025-03-23 12:01:07 +11:00
Leon Mika 142abeb990 Added iterators
Iterators are an unbounded sequence of elements that can only be consumed one-by-one.
2025-03-23 12:00:58 +11:00
Leon Mika badb3b88ba no, I was right the first time 2025-03-23 11:52:54 +11:00
Leon Mika 23833f7490 Fixed CSV example 2025-03-23 11:52:49 +11:00
Leon Mika 84702267df Started working on more package docs 2025-03-23 11:52:39 +11:00
Leon Mika f51c3ce891 Documented some more core functions 2025-03-23 11:52:34 +11:00
Leon Mika b62458d7cd Started building out the site. 2025-03-23 11:52:25 +11:00
Leon Mika f119683b57 Added a CSV module 2025-03-23 11:47:26 +11:00
Leon Mika ca95ac7008 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-03-23 11:45:30 +11:00
Leon Mika d3938aec83 Fixed missing import 2025-03-23 11:43:16 +11:00
Leon Mika 485e839ae3 Added a log builtin 2025-03-23 11:43:06 +11:00
Leon Mika 23f0f16d26 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-03-23 11:41:41 +11:00
Leon Mika 9fc4f50452 Added single and double quoted string
Also started working on string interpolation
2025-03-23 11:40:00 +11:00
Leon Mika 53c8d5d936 Fixed tests 2025-03-23 11:38:57 +11:00
Leon Mika 7a92eeddac Added custom printers 2025-03-23 11:36:34 +11:00
Leon Mika 62724e3f37 Added help command 2025-03-23 11:33:33 +11:00
Leon Mika e0db900e4e Added help command 2025-03-23 11:33:26 +11:00
Leon Mika 5b4e45ff80 Started working on a REPL helper 2025-03-23 11:33:16 +11:00
Leon Mika fdbaf1c8cc Finished implementing try catch 2025-03-23 11:32:38 +11:00
Leon Mika 6a26c1148b issue-2: fixed trim function 2025-03-23 11:30:57 +11:00
Leon Mika 5392050593 issue-2: added some more string functions 2025-03-23 11:30:50 +11:00
Leon Mika 8e184bb7af issue-1: removed commented out code 2025-03-23 11:29:35 +11:00
Leon Mika 35823a98fe issue-1: added tests for cat 2025-03-23 11:29:23 +11:00
Leon Mika 9f1bedfdac issue-1: added add, sub, mup, div, and mod 2025-03-23 11:28:28 +11:00
Leon Mika ca962f5c83 issue-1: Added str and int 2025-03-23 11:27:11 +11:00