Commit graph

166 commits

Author SHA1 Message Date
98850ee1e9
lang: lexer 2024-03-08 12:34:09 +01:00
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
10886be00a
docs(design): add term list 2024-01-21 22:11:41 +01:00
63d7993940
chore: remove confusing comment 2024-01-21 21:28:35 +01:00
bbde1c84ca
chore: move error handling todos from msgs into comments 2024-01-21 21:08:27 +01:00
98f4a6cdeb
chore: use to_owned instead of to_string 2024-01-21 21:00:36 +01:00
1df57eba6b
chore: remove accidental whitespace at end of line 2024-01-21 04:23:53 +01:00
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
3c529c3a1a
chore: rename executor -> evaluator and integrate into app 2024-01-21 03:22:46 +01:00
de9ca81b65
chore: appease clippy 2024-01-20 21:47:33 +01:00
c4207af8da
repo: rename executor -> eval 2024-01-20 21:36:40 +01:00
23fadce867
fix: glue with app from #7 2024-01-20 21:32:25 +01:00
98c9399ee4
feat: nicer debug repr for instr id and socketidx 2024-01-20 21:13:11 +01:00
8b6f9810df
docs(ir): clarify localness of socketidx 2024-01-20 21:13:11 +01:00
cdf42417da
refactor(ir): use u64 directly instead of spans for instructions 2024-01-20 21:13:11 +01:00
87343f0a38
meta: add license 2024-01-20 21:13:11 +01:00
5a209ab5af
docs: fix typo 2024-01-20 21:13:11 +01:00
fa2893bc77
feat(ir): actually get toposort working 2024-01-20 21:13:11 +01:00
4fd35736d5
feat(ir): rethink logic for finding vertices with no inputs 2024-01-20 21:13:10 +01:00
66639771ac
feat(ir): dependents and dependencies 2024-01-20 21:13:07 +01:00
29269e2fcd
feat(ir): implement resolve functionality (untested) 2024-01-20 21:12:43 +01:00
d8e08459a0
docs: ensure docs are well-linked, fed and washed 2024-01-20 21:12:43 +01:00
6395efbeab
chore: extract id stuff into its own file 2024-01-20 21:12:43 +01:00
ca8cf0cc52
chore: put semi human graph ir into its own module 2024-01-20 21:12:43 +01:00
ee675de202
feat: add semi-human-readable-and-writable-ir 2024-01-20 21:12:43 +01:00
4db6eb4317
feat(cli): don't require executor arg anymore 2024-01-20 21:12:42 +01:00
23ffbe39dc
chore: format a bit and add just fmt 2024-01-20 21:12:09 +01:00
1c3012fb32
docs: fix typo 2024-01-20 21:12:09 +01:00
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
ccbccfb11b
style: drop Instruction suffix from instructions 2024-01-20 21:11:33 +01:00
c0dd533d81
docs(template): make outline rendering configurable 2024-01-20 21:11:33 +01:00
d1001ad90d
docs: retab from tabs to 2 spaces 2024-01-20 21:11:33 +01:00
77d1236720
test: prettify TEST_DATA over multiple lines 2024-01-20 21:11:33 +01:00
5bf277cf14
test: fix running tests 2024-01-20 21:11:32 +01:00
8f3c426359
style: propagate clippy lints throughout workspace 2024-01-20 21:11:31 +01:00
f445a03fb2
docs: microoptimize graph a bit 2024-01-20 21:10:50 +01:00
816602fb2e
fix: take care of clippy warnings and add test image 2024-01-20 21:10:49 +01:00
24ebca3e8d
repo: make build possible 2024-01-20 21:10:49 +01:00
48458fd1c9
remove old cli 2024-01-20 20:07:55 +01:00
746c81ab60
app(cli): apply review 2024-01-20 20:05:09 +01:00
0615ea653c
app(doc): well... write the docs 2024-01-20 20:05:09 +01:00
6006f92d9c
app: better? config error handling 2024-01-20 20:05:09 +01:00
7c9dca0ae2
app: improve config loading and merging 2024-01-20 20:05:09 +01:00
ea2e5d6075
app: unify config handling stuff a bit 2024-01-20 20:05:09 +01:00
6ccfaedb13
fix cursed workspace member formatting done by cargo 2024-01-20 20:05:09 +01:00
e67c80a6a9
move ron to be specific to app 2024-01-20 20:05:09 +01:00
96374b6491
split up modules into subfiles 2024-01-20 20:05:09 +01:00
4788278d86
more basic features, config gets read and startup messages 2024-01-20 20:05:09 +01:00
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
e7db9c38f3
cli: work on basic cli and serde error hanlding 2024-01-20 20:05:08 +01:00