styx

Modules

ast
module styx.ast

Contains the AST node classes and a visitor class.

ast_formatter
module styx.ast_formatter

Contains an AstVisitor that formats the AST of a UnitContainer.

ast_printer
module styx.ast_printer

Contains an AstVisitor that prints the AST of a UnitContainer.

lexer
module styx.lexer

Styx's lexer.

parser
module styx.parser

Styx's parser.

semantic
module styx.semantic

Drives the semantic phase.

session
module styx.session
symbol
module styx.symbol
token
module styx.token

The Styx token type, as produced by the lexer. Also contains a static hash map used to match the keywords.

transpilers
module styx.transpilers
utils
module styx.utils

Utilities and miscellaneous sub routines.