Commit Graph

17 Commits

Author SHA1 Message Date
3406515a44 Make string escapes more normal: "\n" for newline, etc. Backticks can be
used to put in literal code without escape sequences.
2025-04-06 22:26:12 -04:00
d8afa73368 Improved inline C code: now uses C_code keyword and supports
interpolation with @
2025-04-06 21:43:19 -04:00
1d2e55f53d Allow uninitialized variables when there's a sensible empty value
(defaults to empty/zero value)
2025-04-06 19:20:07 -04:00
6782cc5570 No more colons for blocks 2025-04-06 16:07:23 -04:00
2bb2ff871f Change method calls to use foo.baz() instead of foo:baz() 2025-04-06 14:20:18 -04:00
7b735ab6fc Misc fixes 2025-04-04 18:29:09 -04:00
0b8074154e First working compile of refactor to add explicit typing to declarations
and support untyped empty collections and `none`s
2025-04-04 17:06:09 -04:00
6ec8f20fc5 Syntax change: table types are now: {K=V; default=...} and tables
use `{:K=V, ...; default=...}`
2025-04-02 16:14:20 -04:00
d888bec409 Clean up and improve patterns 2025-04-01 15:15:28 -04:00
38d6189d43 Further support for .dylib files on mac by changing syntax for library
imports to `use -lfoo` instead of `use foo.so`
2025-03-30 15:41:37 -04:00
17a10a6887 Failure messages 2025-03-24 15:23:29 -04:00
b289b09bde Add some exit type methods 2025-03-24 15:20:19 -04:00
454cb1ce1d Change commands interface so it can either run or get result 2025-03-24 15:16:56 -04:00
c153e05258 Fixes for ask() being optional and command success status 2025-03-21 18:07:17 -04:00
f3b8529e01 Add command and shell :by_line() 2025-03-19 16:17:44 -04:00
80ca0f0b1b Command.from_path() 2025-03-17 21:22:10 -04:00
0bba319126 Big overhaul:
- Clean up environment code using type strings instead of manually
  defining types
- Add Commands module
- Move Shell lang into an example module that uses Commands module
- Fix some bugs with chained library dependencies
2025-03-17 19:29:28 -04:00