refmt
This commit is contained in:
parent
f805290a4b
commit
be73b0b828
17 changed files with 588 additions and 675 deletions
34
src/lib.rs
34
src/lib.rs
|
|
@ -15,31 +15,31 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
mod segment;
|
||||
mod lex;
|
||||
mod func;
|
||||
mod eval;
|
||||
mod vars;
|
||||
mod stl;
|
||||
mod str;
|
||||
mod append;
|
||||
mod config;
|
||||
mod eval;
|
||||
mod func;
|
||||
mod lex;
|
||||
mod segment;
|
||||
mod stl;
|
||||
mod str;
|
||||
mod vars;
|
||||
|
||||
pub mod ast {
|
||||
pub use crate::segment::{Seg, Ctr, ast_to_string, Type, Ast, new_ast};
|
||||
pub use crate::lex::lex;
|
||||
pub use crate::func::{Function, Operation, FTable, Args,
|
||||
ExternalOperation, func_declare, func_call};
|
||||
pub use crate::vars::{VTable, define};
|
||||
pub use crate::eval::eval;
|
||||
pub use crate::func::{
|
||||
func_call, func_declare, Args, ExternalOperation, FTable, Function, Operation,
|
||||
};
|
||||
pub use crate::lex::lex;
|
||||
pub use crate::segment::{ast_to_string, new_ast, Ast, Ctr, Seg, Type};
|
||||
pub use crate::vars::{define, VTable};
|
||||
}
|
||||
|
||||
pub mod stdlib {
|
||||
pub use crate::stl::{get_stdlib};
|
||||
pub use crate::str::{get_echo, get_concat};
|
||||
pub use crate::append::{get_append};
|
||||
pub use crate::vars::{get_export};
|
||||
pub use crate::append::get_append;
|
||||
pub use crate::stl::get_stdlib;
|
||||
pub use crate::str::{get_concat, get_echo};
|
||||
pub use crate::vars::get_export;
|
||||
}
|
||||
|
||||
pub mod aux {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue