feat: graph-ir (continueing #6) #10

Merged
schrottkatze merged 37 commits from schrottkatze/iowo:graph-ir into main 2024-01-23 12:55:01 +00:00
7 changed files with 20 additions and 14 deletions
Showing only changes of commit 23ffbe39dc - Show all commits

View file

@ -1,6 +1,5 @@
[workspace] [workspace]
members = [ members = [
"crates/app",
"crates/executor", "crates/executor",
"crates/ir", "crates/ir",
"crates/cli", "crates/cli",

View file

@ -38,6 +38,7 @@
packages = with pkgs; [ packages = with pkgs; [
just nushell just nushell
ripgrep
typst typst-lsp typst typst-lsp
mold mold
cargo-nextest cargo-watch cargo-nextest cargo-watch

View file

@ -1,5 +1,9 @@
all: test docs all: test docs
test:
#!/usr/bin/env nu
cargo nextest run
# Compile all documentation as in proposals and design documents, placing them under `docs/compiled`. # Compile all documentation as in proposals and design documents, placing them under `docs/compiled`.
docs: docs:
#!/usr/bin/env nu #!/usr/bin/env nu
@ -12,6 +16,8 @@ docs:
mv $pdf docs/compiled mv $pdf docs/compiled
} | ignore } | ignore
test: fmt:
#!/usr/bin/env nu #!/usr/bin/env nu
cargo nextest run cargo fmt
echo "Places where whitespace is at the end of a line:"
rg '\s$'

View file

@ -1,12 +1,12 @@
( (
[ [
Read(( Read((
source: File("/home/jade/example/file.png"), source: File("testfiles/juan.png"),
format: Png format: Jpeg
)), )),
Write(( Write((
target: File("/home/jade/example/out.jpg"), target: File("testfiles/out.png"),
format: Jpeg format: Png
)) ))
] ]
) )

View file

@ -2,7 +2,7 @@
[ [
Read(( Read((
source: File("testfiles/juan.jpg"), source: File("testfiles/juan.jpg"),
format: Png format: Jpeg
)), )),
Filter(Invert), Filter(Invert),
Write(( Write((