Initial commit

This commit is contained in:
Alex Crichton
2017-12-14 19:31:01 -08:00
commit 2926e6e9f4
15 changed files with 696 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#[macro_use]
extern crate serde_derive;
#[derive(Serialize, Deserialize)]
pub struct Function {
pub name: String,
pub arguments: Vec<Type>,
pub ret: Option<Type>,
}
#[derive(Serialize, Deserialize)]
pub enum Type {
Number,
}