Add module importer structure
- add ASTModulesImporter, which imports all required modules. Yet, just an empty shell that lists the required modules - change ASTNodeDeclarationCleaner to ASTNodeTypeCleaner<T> this allows to clean various kind of AST nodes which become useless for execution. Now one calls `` ASTNodeTypeCleaner<language::declaration>{*root_node}; ASTNodeTypeCleaner<language::let_declaration>{*root_node}; `` instead of `` ASTNodeDeclarationCleaner{*root_node}; `` Also one remove `import` instructions by `` ASTNodeTypeCleaner<language::import_instruction>{*root_node}; ``
Loading
Please register or sign in to comment