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
Leon Mika
1506692198
Re-arranged invoke with stream
2024-04-11 20:47:59 +10:00
Leon Mika
3b320206e9
Changed from square brackets to parenthesis
...
This leaves the square brackets free for lists
2024-04-10 22:44:20 +10:00
Leon Mika
fd177280d2
Started working on placeholders
2024-04-10 22:19:11 +10:00
Leon Mika
3b3bac4a7f
Added the notion of streams
...
This includes a stream to a file
2024-04-10 21:58:06 +10:00
Leon Mika
781a761ead
Initial version of prototype cmdlang
2024-04-10 20:45:58 +10:00