Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Experiment: most dividing bit, broken when all xs, unlikely to be per…
Browse files Browse the repository at this point in the history
…formant
  • Loading branch information
fmckeogh committed Feb 9, 2024
1 parent 000df9d commit d525427
Show file tree
Hide file tree
Showing 4 changed files with 816 additions and 420 deletions.
10 changes: 10 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 borealis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ quote = "1.0.35"
syn = { version = "2.0.48", features = ["full", "parsing"] }
prettyplease = "0.2.16"
proc-macro2 = "1.0.78"
ansi_term = "0.12.1"
1 change: 0 additions & 1 deletion borealis/src/genc/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use {common::intern::InternedString, itertools::Itertools, std::fmt::Display};
pub struct InstructionFormat(pub Vec<Segment>);

impl Display for InstructionFormat {
#[allow(unstable_name_collisions)]
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self.0.iter().map(ToString::to_string).join(" "))
}
Expand Down
Loading

0 comments on commit d525427

Please sign in to comment.