# loki.frontend.omni

Module Attributes

`HAVE_OMNI` | Indicate whether OMNI frontend is available.

Functions

`parse_omni_ast`(ast[, definitions, type_map, ...]) | Generate an internal IR from the raw OMNI parser AST.
`parse_omni_file`(filename[, xmods]) | Deploy the OMNI compiler's frontend (F_Front) to generate the OMNI AST.
`parse_omni_source`(source[, filepath, xmods]) | Deploy the OMNI compiler's frontend (F_Front) to AST for a source string.

Classes

`OMNI2IR`([definitions, type_map, symbol_map, ...]) |

HAVE_OMNI = False

  Indicate whether OMNI frontend is available.

parse_omni_source(source, filepath=None, xmods=None)

  Deploy the OMNI compiler’s frontend (F_Front) to AST for a source string.

parse_omni_file(filename, xmods=None)

  Deploy the OMNI compiler’s frontend (F_Front) to generate the OMNI AST.

  Note that the intermediate XML files can be dumped to file via by setting the environment variable `LOKI_OMNI_DUMP_XML`.

parse_omni_ast(ast, definitions=None, type_map=None, symbol_map=None, raw_source=None, scope=None)

  Generate an internal IR from the raw OMNI parser AST.