Module string_parser

Source
Expand description

Paring related functions for basic.

Enums§

NumericExpressionConstraint

Functions§

dec_u16_inner
XXX stolen to the asm parser
f32_to_amstrad_float
hex_u16_inner
XXX stolen to the asm parser
parse_abs
parse_all_generated_numeric_functions_any
parse_all_generated_numeric_functions_int
parse_all_generated_string_functions
parse_asc
parse_assign
parse_atn
parse_base_variable_name
parse_basic_line
Parse a line
parse_basic_program
Parse complete basic program“],
parse_basic_value
TODO add the missing chars Parse the instructions that do not need a prefix byte TODO Add all the other instructions“], Parse a basic value
parse_call
parse_canal
parse_char
parse_cint
parse_comma
Parse a comma optionally surrounded by space
parse_cos
parse_creal
parse_decimal_value_16bits
TODO: add binary number
parse_exp
parse_fix
parse_float_variable
parse_floating_point
parse_hexadecimal_value_16bits
Parse an hexadecimal value
parse_inkey
parse_inp
parse_input
parse_instruction
Parse any instruction. In opposite to BASIC editor, parameters are verified (i.e. generated BASIC is valid)
parse_int
parse_integer_value_16bits
parse_integer_variable
parse_joy
parse_len
parse_log
parse_numeric_expression
TODO check that some generated functions do not generate strings even if they consume numbers
parse_peek
parse_print
Parse a complete and valid print expression
parse_print_arg_spc_or_tab
Parse the Args SPC or TAB of a print expression
parse_print_arg_using
Parse using argument of a print expression
parse_print_expression
Parse a single expression of a print
parse_print_stream_expression
Parse a list of expressions for print
parse_quote
parse_quoted_string
parse_rem
Parse a comment“],
parse_sgn
parse_sin
parse_space
parse_space0
parse_space1
parse_sq
parse_sqr
parse_string_expression
parse_string_variable
parse_tan
parse_unt
parse_val
parse_variable
test_parse
test_parse1
test_parse_and_compare