MCPcopy Create free account
hub / github.com/cimplec/sim-c / parse

Function parse

simc/parser/simc_parser.py:526–1213  ·  view source on GitHub ↗

Parse tokens and generate opcodes Params ====== tokens (list) = List of tokens Returns ======= list: The list of opcodes Grammar ======= statement -> print_statement | var_statement | assign_statement | function_definition_statement

(tokens, table)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runFunction · 0.90

Calls 15

errorFunction · 0.85
skip_all_nextlinesFunction · 0.85
OpCodeClass · 0.85
print_statementFunction · 0.85
check_ifFunction · 0.85
var_statementFunction · 0.85
function_call_statementFunction · 0.85
unary_statementFunction · 0.85
initializate_structFunction · 0.85
assign_statementFunction · 0.85

Tested by

no test coverage detected