Commit graph

43 commits

Author SHA1 Message Date
Schrottkatze
d79383a7df
cleanup: remove unneeded source format in read instruction
The image crate is able to infer the format, so that data is redundant
2024-01-23 12:40:25 +01:00
MultisampledNight
63d7993940
chore: remove confusing comment 2024-01-21 21:28:35 +01:00
MultisampledNight
bbde1c84ca
chore: move error handling todos from msgs into comments 2024-01-21 21:08:27 +01:00
MultisampledNight
98f4a6cdeb
chore: use to_owned instead of to_string 2024-01-21 21:00:36 +01:00
MultisampledNight
3e208335c3
feat: get full evaluation back online
Very hacky, but this is enough to be finished with the graph IR for now.
2024-01-21 04:21:33 +01:00
MultisampledNight
3c529c3a1a
chore: rename executor -> evaluator and integrate into app 2024-01-21 03:22:46 +01:00
MultisampledNight
de9ca81b65
chore: appease clippy 2024-01-20 21:47:33 +01:00
MultisampledNight
c4207af8da
repo: rename executor -> eval 2024-01-20 21:36:40 +01:00
MultisampledNight
23fadce867
fix: glue with app from #7 2024-01-20 21:32:25 +01:00
MultisampledNight
98c9399ee4
feat: nicer debug repr for instr id and socketidx 2024-01-20 21:13:11 +01:00
MultisampledNight
8b6f9810df
docs(ir): clarify localness of socketidx 2024-01-20 21:13:11 +01:00
MultisampledNight
cdf42417da
refactor(ir): use u64 directly instead of spans for instructions 2024-01-20 21:13:11 +01:00
MultisampledNight
5a209ab5af
docs: fix typo 2024-01-20 21:13:11 +01:00
MultisampledNight
fa2893bc77
feat(ir): actually get toposort working 2024-01-20 21:13:11 +01:00
MultisampledNight
4fd35736d5
feat(ir): rethink logic for finding vertices with no inputs 2024-01-20 21:13:10 +01:00
MultisampledNight
66639771ac
feat(ir): dependents and dependencies 2024-01-20 21:13:07 +01:00
MultisampledNight
29269e2fcd
feat(ir): implement resolve functionality (untested) 2024-01-20 21:12:43 +01:00
MultisampledNight
d8e08459a0
docs: ensure docs are well-linked, fed and washed 2024-01-20 21:12:43 +01:00
MultisampledNight
6395efbeab
chore: extract id stuff into its own file 2024-01-20 21:12:43 +01:00
MultisampledNight
ca8cf0cc52
chore: put semi human graph ir into its own module 2024-01-20 21:12:43 +01:00
MultisampledNight
ee675de202
feat: add semi-human-readable-and-writable-ir 2024-01-20 21:12:43 +01:00
MultisampledNight
4db6eb4317
feat(cli): don't require executor arg anymore 2024-01-20 21:12:42 +01:00
MultisampledNight
fcf7e909ee
feat(ir): replace Rpl with GraphIr
Semi-broken as atm the CLI just does nothing except printing the parsed
IR, instead of actually executing it.
2024-01-20 21:12:08 +01:00
MultisampledNight
ccbccfb11b
style: drop Instruction suffix from instructions 2024-01-20 21:11:33 +01:00
MultisampledNight
77d1236720
test: prettify TEST_DATA over multiple lines 2024-01-20 21:11:33 +01:00
MultisampledNight
5bf277cf14
test: fix running tests 2024-01-20 21:11:32 +01:00
MultisampledNight
8f3c426359
style: propagate clippy lints throughout workspace 2024-01-20 21:11:31 +01:00
MultisampledNight
816602fb2e
fix: take care of clippy warnings and add test image 2024-01-20 21:10:49 +01:00
Schrottkatze
48458fd1c9
remove old cli 2024-01-20 20:07:55 +01:00
Schrottkatze
746c81ab60
app(cli): apply review 2024-01-20 20:05:09 +01:00
Schrottkatze
0615ea653c
app(doc): well... write the docs 2024-01-20 20:05:09 +01:00
Schrottkatze
6006f92d9c
app: better? config error handling 2024-01-20 20:05:09 +01:00
Schrottkatze
7c9dca0ae2
app: improve config loading and merging 2024-01-20 20:05:09 +01:00
Schrottkatze
ea2e5d6075
app: unify config handling stuff a bit 2024-01-20 20:05:09 +01:00
Schrottkatze
e67c80a6a9
move ron to be specific to app 2024-01-20 20:05:09 +01:00
Schrottkatze
96374b6491
split up modules into subfiles 2024-01-20 20:05:09 +01:00
Schrottkatze
4788278d86
more basic features, config gets read and startup messages 2024-01-20 20:05:09 +01:00
Schrottkatze
33aa131b95
app: improve errors a bit more
added a message to the label so the position of the error gets shown
and a note to make clear we don't have enough info for better error
messages thanks to serde
2024-01-20 20:05:08 +01:00
Schrottkatze
e7db9c38f3
cli: work on basic cli and serde error hanlding 2024-01-20 20:05:08 +01:00
Schrottkatze
e7863402f3 implement invert instruction 2024-01-01 21:18:56 +01:00
Schrottkatze
b92977d8f1 basic conversion thing do worky!!! 2024-01-01 07:30:04 +01:00
Schrottkatze
f046393af8 really basic implementation of rpl types 2023-12-14 08:42:49 +01:00
Schrottkatze
b4d48a598a restart basically lmao 2023-12-13 18:13:43 +01:00