Skip to content

doinkythederp/trigraph-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trigraph-machine

This is a CLI tool I made for replacing C trigraphs in strings. You can pipe to and from it, like grep.

$ echo "int main() ??<??>" | trigraph
int main() {}
$ echo "// Testing123??/" | trigraph
// Testing123\
  • Written in Rust 🦀
  • I made it in a few hours ⏰
  • Has a few unit tests ✅

Building

Compile the project using cargo:

cargo build --release
cargo build