Commit graph

30 commits

Author SHA1 Message Date
Leon Mika ebd8c61956 Added additional builtins for strings and lists
All checks were successful
Build / build (push) Successful in 2m17s
2025-10-27 22:05:14 +11:00
Leon Mika 1dcfede417 Replaced gopkg with modash 2025-10-26 10:47:07 +11:00
Leon Mika 7a2b012833 Added the 'in' builtin and fns:uni
Some checks failed
Build / build (push) Failing after 1m3s
2025-07-18 13:45:30 +02:00
Leon Mika 58195738ba Fix bugs with binding to Opaque objects and pointers
All checks were successful
Build / build (push) Successful in 2m17s
2025-06-17 13:37:52 +02:00
Leon Mika e2f471c608 Added setting of index values
All checks were successful
Build / build (push) Successful in 2m20s
2025-06-14 02:52:03 +02:00
Leon Mika e71699d5a7 Added list:uniq and the !nil builtin 2025-05-28 21:39:03 +10:00
Leon Mika 41b4fdb003 Switch to exposing the existing HashObject
All checks were successful
Build / build (push) Successful in 2m5s
2025-05-27 21:42:13 +10:00
Leon Mika e869e6c9bd Added HashObject
Some checks failed
Build / build (push) Failing after 1m34s
2025-05-27 21:09:48 +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 f4be44fcbc Added a StringListObject
Some checks failed
Test / build (push) Failing after 57s
2025-05-18 12:45:33 +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 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 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 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 fdbaf1c8cc Finished implementing try catch 2025-03-23 11:32:38 +11:00
Leon Mika ca962f5c83 issue-1: Added str and int 2025-03-23 11:27:11 +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 8ee72b877b Added support for calling foreach with an invokable builtin 2025-03-23 11:19:26 +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 dc7388ef4e Fixed a few bugs with the 'index' builtin 2025-03-23 11:18:06 +11:00
Leon Mika 2c3e0867e7 Added ErrHalt 2025-03-23 11:17:55 +11:00
Leon Mika abbae1a08f Added break, continue, and return 2025-03-23 11:17:51 +11:00
Leon Mika 49c72e2f45 Added CanBind() call 2025-03-23 11:17:47 +11:00
Leon Mika 0b8c8a0d04 Renamed project to ucl 2025-03-23 11:15:59 +11:00
Renamed from cmdlang/objs.go (Browse further)