Module parser

Module parser 

Source
Expand description

Turn a sequence of input tokens into a data structure representing it.

This data structure isn’t a tree, because the logical structure of a TX-2 assembly-language program isn’t tree-like.

ModulesΒ§

helpers πŸ”’
Convenience functions for the parser.
symex πŸ”’
Helper functions for parsing symex names.

StructsΒ§

Grammar πŸ”’
MacroInvocationParser πŸ”’

EnumsΒ§

BitDesignatorValidation πŸ”’
Metacommand πŸ”’

FunctionsΒ§

arithmetic_expression_in_any_script_allowing_spaces πŸ”’
asterisk_indirection_fragment πŸ”’
bit_selector πŸ”’
commas πŸ”’
defined_macro_name πŸ”’
end_of_line πŸ”’
grammar πŸ”’
here πŸ”’
instructions_with_comma_counts πŸ”’
literal πŸ”’
macro_body_line πŸ”’
macro_definition πŸ”’
Macros are described in section 6-4 of the TX-2 User Handbook.
macro_definition_dummy_parameter πŸ”’
macro_definition_dummy_parameters πŸ”’
macro_invocation πŸ”’
macro_terminator πŸ”’
Macro terminators are described in section 6-4.5 of the TX-2 User Handbook.
make_bit_designator_literal πŸ”’
make_pipe_construct πŸ”’
The pipe construct is described in section 6-2.8 β€œSPECIAL SYMBOLS” of the Users Handbook.
manuscript_line πŸ”’
maybe_hold πŸ”’
maybe_sign πŸ”’
metacommand πŸ”’
named_metacommand πŸ”’
named_symbol πŸ”’
opcode πŸ”’
opcode_code πŸ”’
opcode_to_literal πŸ”’
operator πŸ”’
parse_source_file πŸ”’
source_file πŸ”’
symbol_or_literal πŸ”’
tag_definition πŸ”’
terminated_manuscript_line πŸ”’
tokenize_and_parse_with πŸ”’
warn_bad_bitpos πŸ”’

Type AliasesΒ§

ExtraWithoutContext πŸ”’
Mi πŸ”’
Mig πŸ”’
MyEmitter πŸ”’
ParsedMacroArg πŸ”’