Leon Mika
adcd3f146e
Moved to Forgejo builder
Build / build (push) Failing after 1m9s
2024-08-31 10:11:10 +10: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
Leon Mika
c0f5cfb180
Added the foreach loop
2024-04-16 22:28:12 +10:00
dependabot[bot]
205a837a3b
Bump golang.org/x/sys from 0.0.0-20220310020820-b874c991c1a5 to 0.1.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.0.0-20220310020820-b874c991c1a5 to 0.1.0.
- [Commits](https://github.com/golang/sys/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 12:06:11 +00:00
Leon Mika
ea31e568b6
Added lists and hashes
2024-04-16 22:05:21 +10:00
Leon Mika
acdd8b3f72
Added support for dashes in identities
2024-04-16 05:39:03 +00:00
Leon Mika
a65e6b2627
Added support for interface types in bind
2024-04-16 05:37:04 +00:00
Leon Mika
219d4d49da
Started working on the public interface
2024-04-14 22:09:13 +10:00
Leon Mika
d6cc449b40
Added macros and the if macro
2024-04-13 21:46:50 +10:00
Leon Mika
730dc46095
Working on multi-line statements
2024-04-13 09:25:16 +10:00
Leon Mika
82a6eac872
Some more test updates
2024-04-11 22:32:38 +10:00
Leon Mika
922acd3751
Started writing some tests
2024-04-11 22:05:05 +10:00
Leon Mika
41a4d7fd25
Added variables and variable setting
...
Just string variables for name
2024-04-11 20:58:59 +10:00