Leon Mika
d501a3af25
Added CI/CD for pushing to feature branch
Test / build (push) Successful in 43s
Details
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
Details
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
Details
2024-09-02 09:17:21 +10:00
Leon Mika
27463f33c3
Updated code url
Build / build (push) Successful in 1m51s
Details
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
Details
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
Details
2024-08-31 10:27:38 +10:00
Leon Mika
f322834cef
Added call to install Netlify
Build / build (push) Successful in 1m55s
Details
2024-08-31 10:14:18 +10:00
Leon Mika
adcd3f146e
Moved to Forgejo builder
Build / build (push) Failing after 1m9s
Details
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
Leon Mika
0dc9fd3c32
Fixed the issue with colons in ident
2024-05-04 11:35:31 +10:00
Leon Mika
78720eeb5b
Started working on builtins
2024-05-04 10:59:17 +10:00
Leon Mika
cf3a12bf0d
Fixed a few bugs with the 'index' builtin
2024-05-04 10:14:44 +10:00
Leon Mika
25594c80d2
Added a few things needed by Dynamo Browse
...
- Added a NArg returning the total number of arguments
- Added a "missing command" handler
- Added a utility writer which will print out lines as they're collected
2024-05-01 21:05:14 +10:00
Leon Mika
57781b5e3b
Added ErrHalt
2024-04-30 21:55:18 +10:00
Leon Mika
d5ddecce33
Added break, continue, and return
2024-04-30 20:55:06 +10:00
Leon Mika
fb2da4928c
Added CanBind() call
2024-04-28 10:07:20 +10:00
Leon Mika
79947e1813
Added "IsTopLevel"
2024-04-28 09:47:03 +10:00
Leon Mika
6315afc542
Updated go-import mod to git
2024-04-27 11:03:04 +10:00
Leon Mika
af604d60c9
Updated package name
2024-04-27 11:00:48 +10:00
Leon Mika
a44ec0310b
Updated the meta tag on ucl
2024-04-27 10:57:22 +10:00
Leon Mika
419c610c17
Added the ucl directory
2024-04-27 10:51:18 +10:00
Leon Mika
f556fef7b7
Added meta to reference custom import path
2024-04-27 10:46:18 +10:00
Leon Mika
f725863ddc
Added license
2024-04-27 10:17:53 +10:00
Leon Mika
76219ccec2
Fixed package
2024-04-27 10:15:04 +10:00
Leon Mika
60147d8fdf
Renamed project to ucl
2024-04-27 10:11:22 +10:00
Leon Mika
c7a4013641
Finished working on playground and added a CI/CD step
2024-04-26 10:31:41 +10:00
Leon Mika
35f45caaaf
Spent way too much time building a playground for.. reasons
2024-04-25 11:10:13 +10:00
Leon Mika
ddd5ab74f6
Fixed field export
2024-04-24 21:29:26 +10:00
Leon Mika
43098fa227
Fixed binding with struct
2024-04-24 21:09:52 +10:00
Leon Mika
24a484ab77
Allowed foreach to pull from the pipe
2024-04-24 20:12:39 +10:00
Leon Mika
63762e633c
dramatic simplification of command evaluation
...
- Removed the notion of streams
- Modified pipes such that any object can be passed through pipe. Now, the first argument will be used if the command is invoked via a pipe
2024-04-23 22:02:06 +10:00
Leon Mika
4c532e5005
Added support for listable proxy objects
...
These are things like slices that can be iterated over. At the moment, they're only recognised by foreach.
2024-04-23 00:41:36 +00:00
Leon Mika
690112fee1
Fixed some buggy unit tests
2024-04-18 22:31:29 +10:00
Leon Mika
7e06f38802
Working out the tests
2024-04-18 22:24:19 +10:00
Leon Mika
1cf10478e2
Added the ability to use single values as the first argument
2024-04-18 21:11:17 +10:00
Leon Mika
4b91bff641
Started working on map functions
2024-04-18 20:53:25 +10:00
Leon Mika
fe15730769
First cut of procs
...
These capture the context, making them useful as lambdas
2024-04-18 20:26:02 +10:00
Leon Mika
5265efedc4
Added switch options
2024-04-17 21:08:48 +10:00
Leon Mika
478ba09ad5
Merge pull request #1 from lmika/dependabot/go_modules/golang.org/x/sys-0.1.0
...
Bump golang.org/x/sys from 0.0.0-20220310020820-b874c991c1a5 to 0.1.0
2024-04-16 22:30:48 +10:00
Leon Mika
ad528e60e6
Added non-sorted disclosure
2024-04-16 22:29:59 +10:00