Coverage for src/m6rclib/__init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.6.1, created at 2025-01-22 17:09 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2025-01-22 17:09 +0000
1"""An embedded compiler for the Metaphor language."""
3__version__ = "0.4.1"
5# Export main classes so users can import directly from m6rclib
6from .metaphor_ast_node import MetaphorASTNode, MetaphorASTNodeType
7from .metaphor_parser import MetaphorParser, MetaphorParserError, MetaphorParserSyntaxError
8from .metaphor_formatters import format_ast, format_errors
10# List what should be available when using `from m6rclib import *`
11__all__ = [
12 "MetaphorASTNode",
13 "MetaphorASTNodeType",
14 "MetaphorParser",
15 "MetaphorParserError",
16 "MetaphorParserSyntaxError",
17 "format_ast",
18 "format_errors"
19]