Skip to content

trusted-programming/txl-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Txl wrapper for Rust

txl is a transformation system developed by James R. Cordy at Queen's University. This crate provides a command line utility to install it, while offering a convenient function to invoke it inside Rust code.

Installation

Install the command:

cargo install txl-rs

Install the library:

[dependencies]
txl-rs = "0.0.3"

Usage

Command line usage

txl-rs [args]

which would run as if it is a txl [args] command.

Library usage

use txl_rs::txl;

fn main() {
    match txl(["src/main.rs".to_string()].to_vec()) {
        Ok(result) => {
            println!("{result}");
        }
        Err(error) => {
            println!("{error}");
        }
    }
}

Acknowledgement

Updates

  • Integrate with Rust
  • make it platform independent
  • Publish the crate
  • adaptively downlad relevant parser packages
  • implement transformations as clippy fix rules

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages