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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#![crate_id = "github.com/TomBebbington/js.rs#js:0.1"]
#![comment = "Javascript parsing, compilation and execution using LibJIT"]
#![license = "MIT"]
#![crate_type = "lib"]
#![doc(
html_favicon_url = "http://tombebbington.github.io/favicon.png",
html_root_url = "http://tombebbington.github.io/js.rs/"
)]
#![experimental]
#![feature(phase, macro_rules, globs)]
#![deny(non_uppercase_statics, missing_doc, unnecessary_parens, unrecognized_lint,
unreachable_code, unnecessary_allocation, unnecessary_typecast, unnecessary_allocation,
uppercase_variables, non_camel_case_types, unused_must_use)]
extern crate collections;
extern crate jit;
#[phase(plugin, link)]
extern crate log;
extern crate serialize;
extern crate time;
extern crate url;
pub mod front {
#[macro_escape]
pub mod macro;
pub mod run {
pub mod compiler;
pub mod executor;
}
pub mod stdlib {
pub mod array;
pub mod boolean;
pub mod console;
pub mod error;
pub mod function;
pub mod json;
pub mod math;
pub mod number;
pub mod object;
pub mod string;
pub mod uri;
pub mod value;
}
}
pub mod back {
pub mod compiler;
pub mod executor;
}
pub mod syntax {
pub mod ast {
pub mod constant;
pub mod expr;
pub mod keyword;
pub mod op;
pub mod pos;
pub mod punc;
pub mod token;
pub mod typer;
pub mod types;
}
pub mod lexer;
pub mod parser;
}