Commit Graph

21 Commits

Author SHA1 Message Date
Leon Mika c7a4013641 Finished working on playground and added a CI/CD step 2024-04-26 10:31:41 +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 7e06f38802 Working out the tests 2024-04-18 22:24:19 +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 c0f5cfb180 Added the foreach loop 2024-04-16 22:28:12 +10:00
Leon Mika ea31e568b6 Added lists and hashes 2024-04-16 22:05:21 +10: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 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 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