Add grouping mappings and parsing
parent
3daf942a3c
commit
46c2e99099
@ -1,17 +1,17 @@
|
||||
pub const A_RPAREN: char = '(';
|
||||
pub const A_LPAREN: char = ')';
|
||||
pub const G_RPAREN: &'static [&str] = &["("];
|
||||
pub const G_LPAREN: &'static [&str] = &[")"];
|
||||
|
||||
pub const A_RBRAC: char = '[';
|
||||
pub const A_LBRAC: char = ']';
|
||||
pub const G_RBRAC: &'static [&str] = &["["];
|
||||
pub const G_LBRAC: &'static [&str] = &["]"];
|
||||
|
||||
pub const A_RCURL: char = '{';
|
||||
pub const A_LCURL: char = '}';
|
||||
pub const G_RCURL: &'static [&str] = &["{"];
|
||||
pub const G_LCURL: &'static [&str] = &["}"];
|
||||
|
||||
pub const G_LANGLE: &'static[&str] = &["(:", "<<", "langle"];
|
||||
pub const G_RANGLE: &'static[&str] = &[":)", ">>", "rangle"];
|
||||
pub const G_LXPAR: &'static[&str] = &["{: x )"];
|
||||
pub const G_RXPAR: &'static[&str] = &["( x :}"];
|
||||
pub const G_ABS: &'static[&str] = &["abs"];
|
||||
pub const G_FLOOR: &'static[&str] = &["floor"];
|
||||
pub const G_CEIL: &'static[&str] = &["ceil"];
|
||||
pub const G_NORM: &'static[&str] = &["norm"];
|
||||
pub const G_LANGLE: &'static [&str] = &["(:", "<<", "langle"];
|
||||
pub const G_RANGLE: &'static [&str] = &[":)", ">>", "rangle"];
|
||||
pub const G_LXPAR: &'static [&str] = &["{: x )"];
|
||||
pub const G_RXPAR: &'static [&str] = &["( x :}"];
|
||||
pub const G_ABS: &'static [&str] = &["abs"];
|
||||
pub const G_FLOOR: &'static [&str] = &["floor"];
|
||||
pub const G_CEIL: &'static [&str] = &["ceil"];
|
||||
pub const G_NORM: &'static [&str] = &["norm"];
|
||||
|
@ -1,9 +1,11 @@
|
||||
pub mod operations;
|
||||
pub mod misc;
|
||||
pub mod relations;
|
||||
pub mod logical;
|
||||
pub mod grouping;
|
||||
pub mod arrows;
|
||||
pub mod accents;
|
||||
pub mod arrows;
|
||||
pub mod font_commands;
|
||||
pub mod greek;
|
||||
pub mod font_commands;
|
||||
pub mod grouping;
|
||||
pub mod logical;
|
||||
pub mod misc;
|
||||
pub mod operations;
|
||||
pub mod relations;
|
||||
|
||||
pub type TokenPattern = &'static [&'static str];
|
||||
|
Loading…
Reference in New Issue