1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#![feature(const_fn)]
#![feature(concat_idents)]
#![feature(trace_macros)]
#![feature(box_syntax)]
#![feature(i128_type)]
#![feature(inclusive_range)]
#![feature(inclusive_range_syntax)]
#![feature(cfg_target_feature)]
#![feature(slice_patterns)]
#![feature(box_patterns)]
#![feature(proc_macro)]
#![feature(asm)]
extern crate tuple;
extern crate itertools;
extern crate lalrpop_util;
#[macro_use] extern crate quote;
extern crate math_traits;
macro_rules! todo {
($desc:expr) => ({return Err(Error::Todo($desc));})
}
pub mod error;
#[allow(unused_extern_crates)]
pub mod lang;
pub mod diff;
pub mod node;
pub mod func;
pub mod rational;
pub mod compiler;
pub mod poly;
pub mod builder;
mod consts;
mod display;
mod util;
pub mod prelude {
pub use error::Error;
pub use math_traits::*;
pub use tuple::*;
pub use util::*;
pub use node::*;
pub use builder::Builder;
pub use itertools::Itertools;
pub use rational::Rational;
}
pub mod vm;