mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-03 18:29:00 +00:00
feat: add erg_compiler::compile_ast
This commit is contained in:
parent
557775581c
commit
9b4daab5b0
5 changed files with 68 additions and 3 deletions
|
@ -92,6 +92,7 @@ fn erg_parser(py: Python<'_>, m: &PyModule) -> PyResult<()> {
|
|||
ast.add_class::<ast::InlineModule>()?;
|
||||
ast.add_class::<ast::Dummy>()?;
|
||||
ast.add_class::<ast::Module>()?;
|
||||
ast.add_class::<ast::AST>()?;
|
||||
m.add_submodule(ast)?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue