Skip to content

Commit

Permalink
Generating calyx files as text via Rust too! (#2157)
Browse files Browse the repository at this point in the history
* Start calyx writer

* Add documentation

* Clippy

* Improve documentation

* Add better attribute support

* Refactor formatting to be more robust

* Rename

* Implement Griffin's review

* Clippy

* Implement more Griffin changes

* Formatting

* AsRef<str>

* Clippy

* My bad
  • Loading branch information
ethanuppal committed Jun 21, 2024
1 parent f823565 commit 96b740a
Show file tree
Hide file tree
Showing 5 changed files with 1,182 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ members = [
"tools/cider-data-converter",
"tools/calyx-pass-explorer",
"tools/yxi",
"tools/calyx-writer",
]
exclude = ["site"]

Expand Down
19 changes: 19 additions & 0 deletions tools/calyx-writer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "calyx_writer"
authors.workspace = true
license-file.workspace = true
keywords.workspace = true
repository.workspace = true
readme.workspace = true
description.workspace = true
categories.workspace = true
homepage.workspace = true
edition.workspace = true
version.workspace = true
rust-version.workspace = true

[dependencies]

[lib]
name = "calyx_writer"
path = "lib.rs"
Loading

0 comments on commit 96b740a

Please sign in to comment.