-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
48 lines (45 loc) · 1.59 KB
/
Copy path__init__.py
File metadata and controls
48 lines (45 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""Convenience imports for semantic frontend conversion.
The supported wrapper route converts Fortran parser models and semantic
``.pyi`` AST through this package. C conversion exports remain available for
incomplete future frontend work; they do not make C wrapping a supported path.
Import the model vocabulary and specialized helpers from their defining
semantic modules when their local contract matters.
"""
from .fortran2ir import (
collect_semantic_compile_time_requirements,
fortran_file_to_semantic_modules,
fortran_module_to_semantic_module,
fortran_project_to_semantic_modules,
resolve_semantic_compile_time_values,
)
from .c2ir import (
CToIRConverter,
c_file_to_semantic_module,
c_file_to_semantic_modules,
c_function_to_semantic_function,
c_parameter_to_semantic_argument,
c_project_to_semantic_module,
c_project_to_semantic_modules,
c_struct_to_semantic_class,
c_type_to_semantic_type,
select_c_export_functions,
)
from .pyi2ir import convert_pyi_to_ir
__all__ = (
"CToIRConverter",
"c_file_to_semantic_module",
"c_file_to_semantic_modules",
"c_function_to_semantic_function",
"c_parameter_to_semantic_argument",
"c_project_to_semantic_module",
"c_project_to_semantic_modules",
"c_struct_to_semantic_class",
"c_type_to_semantic_type",
"collect_semantic_compile_time_requirements",
"convert_pyi_to_ir",
"fortran_file_to_semantic_modules",
"fortran_module_to_semantic_module",
"fortran_project_to_semantic_modules",
"resolve_semantic_compile_time_values",
"select_c_export_functions",
)