Commit graph

89 commits

Author SHA1 Message Date
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
Leon Mika 0138270a69 issue-1: added gt, ge, lt, le 2025-03-23 11:24:48 +11:00
Leon Mika e1b8c353eb Added CI/CD for pushing to feature branch 2025-03-23 11:23:45 +11:00
Leon Mika 1c3346947b Completed 'eq' cases and added 'ne' 2025-03-23 11:22:44 +11:00
Leon Mika 89ec653eb0 Added the seq builtin 2025-03-23 11:19:41 +11:00
Leon Mika 1d49222263 Updated code url 2025-03-23 11:19:29 +11:00
Leon Mika 8ee72b877b Added support for calling foreach with an invokable builtin 2025-03-23 11:19:26 +11:00
Leon Mika 3ca0a5ab08 Fixed NPE when trying to bind string value to nil 2025-03-23 11:19:22 +11:00
Leon Mika cbefe24c15 Added call to install Netlify 2025-03-23 11:19:17 +11:00
Leon Mika 95fa44cd65 Moved to Forgejo builder 2025-03-23 11:19:08 +11:00
Leon Mika 057b05b190 Added the dot operator 2025-03-23 11:18:57 +11:00
Leon Mika 0d973007c8 Fixed the issue with colons in ident 2025-03-23 11:18:42 +11:00
Leon Mika 6f1fc44296 Started working on builtins 2025-03-23 11:18:10 +11:00
Leon Mika dc7388ef4e Fixed a few bugs with the 'index' builtin 2025-03-23 11:18:06 +11:00