6 releases

Uses old Rust 2015

0.3.0 Jun 3, 2016
0.2.4 Jun 3, 2016

#2084 in Development tools

Apache-2.0/MIT

21KB
606 lines

Pythonic

Usage

Creating Hello, world in Py thon is fairly simple, although a bit verbose:

let mut program = Block::new();
program.add_statement(
  Statement::FunctionCall(
    FunctionCall::new("print", vec![
      Statement::Argument(Argument::bare("Hello, world")
    ])
  )
)

println!("{}", program);

The above Rust would print:

print("Hello, world")

No runtime deps