finally figure out how to hold closures
This commit is contained in:
parent
69f31db23b
commit
f805290a4b
8 changed files with 98 additions and 89 deletions
|
|
@ -15,7 +15,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#![feature(type_alias_impl_trait)]
|
||||
|
||||
mod segment;
|
||||
mod lex;
|
||||
|
|
@ -31,16 +30,15 @@ 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,
|
||||
InternalOperation, ExternalOperation,
|
||||
func_declare, func_call};
|
||||
ExternalOperation, func_declare, func_call};
|
||||
pub use crate::vars::{VTable, define};
|
||||
pub use crate::eval::eval;
|
||||
}
|
||||
|
||||
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::str::{get_echo, get_concat};
|
||||
pub use crate::append::{get_append};
|
||||
pub use crate::vars::{get_export};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue