Commit graph

47 commits

Author SHA1 Message Date
8ee72b877b Added support for calling foreach with an invokable builtin 2025-03-23 11:19:26 +11:00
3ca0a5ab08 Fixed NPE when trying to bind string value to nil 2025-03-23 11:19:22 +11:00
cbefe24c15 Added call to install Netlify 2025-03-23 11:19:17 +11:00
95fa44cd65 Moved to Forgejo builder 2025-03-23 11:19:08 +11:00
057b05b190 Added the dot operator 2025-03-23 11:18:57 +11:00
0d973007c8 Fixed the issue with colons in ident 2025-03-23 11:18:42 +11:00
6f1fc44296 Started working on builtins 2025-03-23 11:18:10 +11:00
dc7388ef4e Fixed a few bugs with the 'index' builtin 2025-03-23 11:18:06 +11:00
28a8c12349 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
2025-03-23 11:17:59 +11:00
2c3e0867e7 Added ErrHalt 2025-03-23 11:17:55 +11:00
abbae1a08f Added break, continue, and return 2025-03-23 11:17:51 +11:00
49c72e2f45 Added CanBind() call 2025-03-23 11:17:47 +11:00
ff3d8920e2 Added "IsTopLevel" 2025-03-23 11:17:43 +11:00
cfe240c13c Updated go-import mod to git 2025-03-23 11:17:36 +11:00
6e5a9b1bc1 Updated package name 2025-03-23 11:17:20 +11:00
f06a14bff4 Updated the meta tag on ucl 2025-03-23 11:16:35 +11:00
9fed636dd1 Added the ucl directory 2025-03-23 11:16:31 +11:00
07c654f42e Added meta to reference custom import path 2025-03-23 11:16:27 +11:00
af41afa3f2 Added license 2025-03-23 11:16:17 +11:00
ec8eedc10f Fixed package 2025-03-23 11:16:12 +11:00
0b8c8a0d04 Renamed project to ucl 2025-03-23 11:15:59 +11:00
1d7a076f63 Finished working on playground and added a CI/CD step 2025-03-23 11:15:19 +11:00
fdc480262d Spent way too much time building a playground for.. reasons 2025-03-23 11:14:31 +11:00
4b09a8d494 Fixed field export 2025-03-23 11:14:21 +11:00
88fa2bee15 Fixed binding with struct 2025-03-23 11:13:32 +11:00
4c72c733bc Allowed foreach to pull from the pipe 2025-03-23 11:12:42 +11:00
bfd2785b1c 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
2025-03-23 11:09:42 +11:00
174c43328e Fixed some buggy unit tests 2025-03-23 11:08:02 +11:00
9f8ba430f6 Working out the tests 2025-03-23 11:07:54 +11:00
a187d2fff9 Added the ability to use single values as the first argument 2025-03-23 11:07:48 +11:00
69251208b2 Started working on map functions 2025-03-23 11:07:43 +11:00
75f42d8e4a First cut of procs
These capture the context, making them useful as lambdas
2025-03-23 11:07:37 +11:00
cb6c6abb5f Added switch options 2025-03-23 11:07:32 +11:00
e7138b6fe2 Added non-sorted disclosure 2025-03-23 11:06:15 +11:00
94e751a6d8 Added the foreach loop 2025-03-23 11:05:59 +11:00
7939e0cbfd Added lists and hashes 2025-03-23 11:05:44 +11:00
219d4d49da Started working on the public interface 2024-04-14 22:09:13 +10:00
d6cc449b40 Added macros and the if macro 2024-04-13 21:46:50 +10:00
730dc46095 Working on multi-line statements 2024-04-13 09:25:16 +10:00
82a6eac872 Some more test updates 2024-04-11 22:32:38 +10:00
922acd3751 Started writing some tests 2024-04-11 22:05:05 +10:00
41a4d7fd25 Added variables and variable setting
Just string variables for name
2024-04-11 20:58:59 +10:00
1506692198 Re-arranged invoke with stream 2024-04-11 20:47:59 +10:00
3b320206e9 Changed from square brackets to parenthesis
This leaves the square brackets free for lists
2024-04-10 22:44:20 +10:00
fd177280d2 Started working on placeholders 2024-04-10 22:19:11 +10:00
3b3bac4a7f Added the notion of streams
This includes a stream to a file
2024-04-10 21:58:06 +10:00
781a761ead Initial version of prototype cmdlang 2024-04-10 20:45:58 +10:00