feat: add erg_compiler::compile_ast

This commit is contained in:
Shunsuke Shibayama 2023-11-16 13:42:12 +09:00
parent 557775581c
commit 9b4daab5b0
5 changed files with 68 additions and 3 deletions

View file

@ -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(())
}