57b8dae357
move Repo and Recipe into the library
2025-01-17 18:45:39 -07:00
20c49c62a0
give this silly test program a name
2025-01-13 00:15:27 -07:00
d3b6350894
more comments
2025-01-13 00:14:24 -07:00
d71c4b015a
add some comments
2025-01-13 00:11:14 -07:00
dd4961c6e7
git ignore the build directory
2025-01-12 23:49:20 -07:00
b8029db9a9
help serde disambiguate between numeric quantities and "freeform string"
...
I don't love this, but i couldn't figure out how to tell TOML's
Deserialize to accept an enum of a usize or a string for `quantity`.
2025-01-12 23:49:20 -07:00
d6f3c404b2
peristaltic-pump recipe: action is a Table, not Array
2025-01-12 23:49:20 -07:00
0f50979af2
peristaltic-pump recipe: tweak dependencies
...
`[dependencies]` is now a Table rather than an Array.
Operators can have more than one skill.
2025-01-12 23:49:20 -07:00
d9df686f1c
peristaltic-pump recipe: remove version from inputs
...
The version is implicitly tracked by the version control of the recipe
file for the input thing.
Or did i misunderstand something here?
2025-01-12 23:49:20 -07:00
2f65e08afc
peristaltic-pump recipe: make inputs a Table, not an Array
...
`[inputs]` is now a TOML Table (a key/value store). Each input is
represented in the `[inputs]` table by a key/value pair.
The key is a unique name (which also maps to the recipe file for building
that input thing).
The value is another table describing that input, that we'll represent
with an Input struct.
2025-01-12 23:49:20 -07:00
aca1e0715f
WIP: start parsing recipes
2025-01-12 23:49:20 -07:00
86bd75b63e
fixup: this recipe step only yields one bearing roller assembly
2025-01-12 23:49:20 -07:00
dd1d93b12e
move some files around and add test recipes
2025-01-12 22:40:31 -07:00
8fda9c2c3e
minimal config file parsing
2025-01-12 22:40:08 -07:00
b4e5967845
try at a more modular recipe architecture.
...
NOTE: some of this syntax isn't toml i don't think, so this should be
treated more like pseudo-toml
2025-01-11 23:42:48 -07:00
39f3116c13
first attempt at a recipe
...
Inspect with `tomlq . peristaltic-pump.recipe`.
I don't like how i have to name the intermediate subassemblies.
And the the toml syntax for "array of tables" feels pretty clunky:
<https://toml.io/en/v1.0.0#array-of-tables >
2025-01-11 21:56:24 -07:00
faa0109d5c
add initial architecture sketches
2025-01-11 17:29:06 -07:00