Module Expr Str ImportFrom alias alias Import alias ClassDef bases body Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad Str Str Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Return Num orelse If BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Return Num orelse Return Num decorator_list FunctionDef arguments args NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareGt AttributeLoad NameLoad attr Num body AugAssignSub AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr body Return Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str While BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr CompareIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str While BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr BoolOpOr CompareIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Str While BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameLoad body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad IfExp CompareIsNot NameLoad NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args defaults body Return CompareEq Call NameLoad NameLoad Num decorator_list While UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore NameLoad While UnaryOpNot Call NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Call NameLoad NameLoad Assign NameStore NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Continue While BoolOpAnd UnaryOpNot Call NameLoad Call NameLoad Call NameLoad CompareGtE Call NameLoad Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body While BoolOpAnd UnaryOpNot Call NameLoad CompareNotEq Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Call NameLoad NameLoad If Call NameLoad body Raise Call NameLoad Str Expr Call NameLoad orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad orelse If BoolOpOr CompareNotIn Call AttributeLoad NameLoad attr Str CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore NameLoad AugAssignMult NameStore Num Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad orelse Pass While UnaryOpNot Call NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Call NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Import alias Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Print Str Expr Call NameLoad NameLoad Print Str For NameStore Call NameLoad NameLoad body Print NameLoad
N/A N/A  This module provides RS-274-X AM macro modifiers parsing.
 am_eval OpCode eval_macro N/A string Token N/A N/A N/A ADD + N/A SUB - N/A MULT N/A x X N/A DIV / N/A OPERATORS N/A ADD SUB N/A MULT N/A 0 N/A MULT N/A 1 DIV N/A LEFT_PARENS ( N/A RIGHT_PARENS ) N/A EQUALS = N/A EOF EOF N/A token_to_opcode N/A N/A token N/A N/A N/A N/A token N/A Token ADD N/A N/A N/A OpCode ADD N/A N/A N/A token N/A Token SUB N/A N/A N/A OpCode SUB N/A N/A N/A token N/A Token MULT N/A N/A N/A OpCode MUL N/A N/A N/A token N/A Token DIV N/A N/A N/A OpCode DIV N/A N/A None N/A precedence N/A N/A token N/A N/A N/A N/A N/A token N/A Token ADD N/A token N/A Token SUB N/A N/A 1 N/A N/A N/A N/A token N/A Token MULT N/A token N/A Token DIV N/A N/A 2 N/A N/A 0 N/A is_op N/A N/A token N/A N/A N/A N/A token N/A Token OPERATORS N/A Scanner N/A N/A __init__ N/A N/A self s N/A N/A N/A N/A self buff s N/A N/A self n 0 N/A eof N/A N/A self N/A N/A N/A N/A N/A self n N/A len N/A self buff N/A peek N/A N/A self N/A N/A N/A N/A N/A N/A self eof N/A N/A N/A N/A self buff N/A N/A self n N/A N/A Token EOF N/A ungetc N/A N/A self N/A N/A N/A N/A N/A self n 0 N/A N/A N/A self n 1 N/A getc N/A N/A self N/A N/A N/A N/A N/A self eof N/A N/A N/A c N/A N/A self buff N/A N/A self n N/A N/A self n 1 N/A c N/A readint N/A N/A self N/A N/A N/A n N/A N/A N/A N/A N/A self eof N/A N/A N/A self peek N/A string digits N/A N/A n N/A N/A self getc N/A N/A int n N/A readfloat N/A N/A self N/A N/A N/A n N/A N/A N/A N/A N/A self eof N/A N/A N/A N/A self peek N/A string digits N/A N/A N/A self peek . N/A N/A n N/A N/A self getc N/A N/A n . N/A N/A 0 N/A N/A float n N/A readstr N/A N/A self end N/A * N/A N/A s N/A N/A N/A N/A N/A self eof N/A N/A N/A self peek end N/A N/A s N/A N/A self getc N/A N/A N/A s strip N/A N/A print_instructions N/A N/A instructions N/A N/A N/A N/A opcode argument instructions N/A N/A N/A %s %s N/A N/A N/A OpCode str opcode N/A N/A argument None N/A str argument N/A read_macro N/A N/A macro N/A N/A N/A instructions N/A N/A block N/A N/A macro split * N/A N/A is_primitive False N/A is_equation False N/A found_equation_left_side False N/A found_primitive_code False N/A equation_left_side 0 N/A primitive_code 0 N/A unary_minus_allowed False N/A unary_minus False N/A N/A N/A Token EQUALS block N/A N/A is_equation True N/A N/A is_primitive True N/A scanner N/A Scanner block N/A op_stack N/A pop N/A N/A N/A N/A N/A N/A N/A op_stack pop N/A push N/A N/A op N/A N/A N/A N/A N/A op_stack append op N/A top N/A N/A N/A N/A N/A N/A op_stack N/A -1 N/A empty N/A N/A N/A N/A N/A N/A N/A len op_stack 0 N/A N/A N/A N/A N/A scanner eof N/A N/A c N/A N/A scanner getc N/A N/A c , N/A N/A found_primitive_code True N/A N/A N/A empty N/A N/A N/A N/A instructions append N/A N/A token_to_opcode N/A pop None N/A unary_minus_allowed True N/A N/A N/A c N/A Token OPERATORS N/A N/A N/A N/A c N/A Token SUB unary_minus_allowed N/A N/A unary_minus True N/A unary_minus_allowed False N/A N/A N/A N/A N/A empty N/A is_op N/A top N/A N/A precedence N/A top N/A precedence c N/A N/A N/A N/A instructions append N/A N/A token_to_opcode N/A pop None N/A N/A push c N/A N/A N/A c N/A Token LEFT_PARENS N/A N/A N/A push c N/A N/A N/A c N/A Token RIGHT_PARENS N/A N/A N/A N/A N/A empty N/A N/A top N/A Token LEFT_PARENS N/A N/A N/A N/A instructions append N/A N/A token_to_opcode N/A pop None N/A N/A empty N/A N/A N/A ValueError unbalanced parentheses N/A N/A pop N/A N/A N/A N/A c startswith $ N/A N/A n N/A N/A scanner readint N/A N/A is_equation N/A found_equation_left_side N/A N/A equation_left_side n N/A N/A N/A N/A instructions append N/A N/A OpCode LOAD n N/A N/A N/A c N/A Token EQUALS N/A N/A found_equation_left_side True N/A N/A N/A c 0 N/A N/A N/A is_primitive N/A found_primitive_code N/A N/A N/A N/A instructions append N/A N/A OpCode PUSH N/A N/A scanner readstr * N/A found_primitive_code True N/A N/A N/A N/A N/A N/A scanner peek . N/A N/A N/A scanner peek N/A Token EOF N/A N/A N/A N/A instructions append N/A N/A OpCode PUSH 0 N/A N/A N/A c 123456789. N/A N/A N/A N/A scanner ungetc N/A N/A is_primitive N/A found_primitive_code N/A N/A primitive_code N/A N/A scanner readint N/A N/A n N/A N/A scanner readfloat N/A unary_minus N/A N/A unary_minus False N/A n -1 N/A N/A N/A instructions append N/A N/A OpCode PUSH n N/A N/A N/A N/A N/A empty N/A N/A N/A N/A instructions append N/A N/A token_to_opcode N/A pop None N/A N/A is_primitive found_primitive_code N/A N/A N/A N/A instructions append N/A N/A OpCode PRIM primitive_code N/A is_equation N/A N/A N/A N/A instructions append N/A N/A OpCode STORE equation_left_side N/A instructions N/A N/A N/A __name__ __main__ N/A N/A sys N/A instructions N/A read_macro N/A N/A sys argv N/A 1 N/A insructions: N/A N/A print_instructions instructions N/A eval: N/A primitive N/A eval_macro instructions N/A N/A primitive