Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGtE AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse 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 Expr Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad While NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Break Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore NameLoad Assign NameStore ListLoad While CompareNotEq NameLoad NameLoad body If BoolOpAnd CompareGtE AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot CompareIn AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num If CompareGt Call NameLoad NameLoad Num body If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num orelse For NameStore NameLoad body Assign AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad If CompareEq NameLoad NameLoad body Print AttributeLoad NameLoad attr Str NameLoad Return NameLoad Expr Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareLt NameLoad Num body Break If CompareEq NameLoad AttributeLoad NameLoad attr body Pass orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Break orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Print AttributeLoad NameLoad attr Str Assign NameStore NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore CompareEq NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq CompareIn NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Continue Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Continue Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Str body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareGtE Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore ListLoad orelse If CompareGt NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad orelse If CompareLt NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn NameLoad NameLoad body If CompareIn Str NameLoad body Assign NameStore Str orelse Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body If CompareEq NameLoad Num body Continue Assign NameStore Str orelse If CompareLtE NameLoad Num body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareGt NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareEq Call NameLoad NameLoad Num ListLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareEq Call NameLoad NameLoad Num ListLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If CompareEq NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore IfExp Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Print AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Print AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp CompareGt Call NameLoad AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Slice Num ListLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Print AttributeLoad NameLoad attr Str NameLoad Print AttributeLoad NameLoad attr AttributeLoad NameLoad attr Continue For NameStore AttributeLoad NameLoad attr body Print NameLoad Print Str Assign NameStore Call NameLoad NameLoad NameLoad Print Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr orelse Print Str Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Print Str Print Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr Print Str Print Call NameLoad NameLoad Str
N/A N/A 
generative semantic procedure with run() method
 N/A sys N/A semanticCommand N/A generativeDefiner N/A conceptualHierarchy N/A grammarRule N/A ellyChar N/A ellyBits Code N/A object N/A N/A 
    iteration on list of commands defining a semantic procedure with jumps

    attributes:
        lstg  - the list
        indx  - keeping track of where we are
     __init__ N/A N/A self lstg N/A N/A N/A 
        initialize

        arguments:
            self  -
            lstg  - to iterate on
         N/A N/A self lstg lstg N/A N/A self indx 0 N/A next N/A N/A self N/A N/A N/A 
        get next list element

        arguments:
            self

        returns:
            next element on success, semanticCommand.Gretn otherwise
         N/A N/A N/A self indx N/A len N/A self lstg N/A N/A N/A semanticCommand Gretn N/A N/A x N/A N/A self lstg N/A N/A self indx N/A N/A self indx 1 N/A x N/A skip N/A N/A self N/A N/A N/A 
        set index to new list position from contents of current list element

        arguments:
            self  -
         N/A N/A self indx N/A N/A self lstg N/A N/A self indx N/A N/A N/A BAD -11111 N/A LSTJ , N/A PNAM _pnam N/A space N/A \n \r N/A ellyChar NBS \t despace N/A N/A strs N/A N/A N/A 
    get Unicode string with ASCII space chars normalized for dumping

    arguments:
        strs  - string to convert

    returns:
        normalized string
     N/A lstg N/A N/A c strs N/A N/A N/A c space N/A N/A N/A N/A lstg append N/A space N/A c N/A N/A N/A N/A lstg append c N/A N/A N/A join lstg N/A GenerativeProcedure N/A object N/A N/A 
    define and execute generative semantics

    attributes:
        logic  - compiled procedure
     N/A _error ?????? __init__ N/A N/A self syms defs N/A N/A N/A 
        initialize from text definition

        arguments:
            self  -
            syms  - symbol table for interpreting procedure definition
            defs  - ellyDefinitionReader
         N/A N/A self logic N/A N/A generativeDefiner compileDefinition syms defs N/A __unicode__ N/A N/A self N/A N/A N/A 
        show procedure logic

        arguments:
            self
         N/A N/A N/A generativeDefiner showCode N/A self logic N/A doRun N/A N/A self cntx phrs N/A N/A N/A 
        manage execution of generative semantics

        arguments:
            self  -
            cntx  - interpretive context
            phrs  - phrase to which procedure is attached

        returns:
            True on success, False otherwise
         N/A phs phrs N/A True N/A N/A N/A N/A self run cntx phs N/A N/A N/A N/A N/A phs krnl bias BAD N/A N/A N/A phs order N/A N/A N/A N/A phs krnl bias BAD N/A N/A False N/A N/A N/A N/A phs krnl ctxc N/A conceptualHierarchy NOname N/A N/A N/A cntx cncp N/A N/A phs krnl ctxc N/A N/A N/A phs alnk None N/A N/A mnb N/A N/A N/A phs krnl bias 1 N/A phi phs N/A rls N/A N/A N/A phi None N/A N/A N/A N/A N/A N/A phi krnl bias mnb N/A N/A N/A N/A phi krnl rule rls N/A N/A N/A N/A rls append N/A N/A phi krnl rule N/A phi N/A phi alnk N/A ru N/A rls N/A 0 N/A rls N/A rls N/A 1 N/A N/A N/A len rls 0 N/A N/A N/A N/A ru bias 0 N/A N/A N/A ru bias -1 N/A N/A ru rls N/A N/A N/A ru bias 0 N/A True N/A run N/A N/A self cntx phrs pnam N/A None N/A N/A 
        execute a generative procedure in context

        arguments:
            self  -
            cntx  - interpretive context
            phrs  - phrase to which procedure is attached
            pnam  - procedure name to associate with call

        returns:
            True on success, False otherwise
         N/A N/A N/A self logic None N/A N/A True N/A N/A phrs None N/A N/A N/A sys stderr null phrase: self N/A False N/A N/A N/A cntx pushStack N/A N/A pnam None N/A N/A N/A N/A cntx defineLocalVariable PNAM pnam N/A code N/A Code N/A self logic N/A status True N/A status N/A N/A op N/A N/A code next N/A N/A op 0 N/A N/A N/A N/A op N/A semanticCommand Gnoop N/A N/A N/A N/A N/A op N/A semanticCommand Gretn N/A N/A N/A N/A N/A op N/A semanticCommand Gfail N/A N/A N/A sys stderr generative semantic FAIL N/A status False N/A N/A N/A op N/A semanticCommand Gleft N/A N/A N/A N/A N/A phrs krnl lftd None N/A N/A N/A sys stderr no left descendant for: phrs N/A status False N/A N/A status N/A N/A N/A N/A N/A N/A N/A phrs krnl lftd krnl rule gens doRun cntx N/A N/A phrs krnl lftd N/A N/A N/A op N/A semanticCommand Grght N/A N/A N/A N/A N/A phrs krnl rhtd None N/A N/A N/A N/A N/A phrs krnl lftd None N/A N/A N/A sys stderr no descendants for: phrs N/A status False N/A status N/A N/A N/A N/A N/A N/A N/A phrs krnl lftd krnl rule gens doRun cntx N/A N/A phrs krnl lftd N/A N/A status N/A N/A N/A N/A N/A N/A N/A phrs krnl rhtd krnl rule gens doRun cntx N/A N/A phrs krnl rhtd N/A N/A N/A op N/A semanticCommand Gblnk N/A N/A N/A N/A cntx insertCharsIntoBuffer N/A N/A N/A op N/A semanticCommand Glnfd N/A N/A N/A N/A cntx insertCharsIntoBuffer N/A N/A N/A op N/A semanticCommand Gsplt N/A N/A N/A N/A cntx splitBuffer N/A N/A N/A op N/A semanticCommand Gback N/A N/A N/A N/A cntx backBuffer N/A N/A N/A op N/A semanticCommand Gmrge N/A N/A N/A N/A cntx mergeBuffers N/A N/A N/A op N/A semanticCommand Gchng N/A N/A ts N/A N/A code next N/A ss N/A N/A code next N/A N/A N/A cntx mergeBuffersWithReplacement ts ss N/A N/A N/A N/A op N/A semanticCommand Gchck N/A op N/A semanticCommand Gnchk N/A N/A sens N/A op N/A semanticCommand Gchck N/A ids N/A N/A code next N/A ref N/A N/A code next N/A val N/A N/A cntx getLocalVariable ids N/A N/A N/A val ref sens N/A N/A N/A N/A code next N/A N/A N/A N/A code skip N/A N/A N/A op N/A semanticCommand Gchkf N/A N/A refr N/A N/A code next N/A dblb N/A N/A N/A N/A phrs krnl semf compound N/A N/A N/A ellyBits check dblb refr N/A N/A N/A N/A code next N/A N/A N/A N/A code skip N/A N/A N/A op N/A semanticCommand Gskip N/A N/A N/A N/A code skip N/A N/A N/A op N/A semanticCommand Gvar N/A N/A var N/A N/A code next N/A val N/A N/A code next N/A N/A N/A cntx defineLocalVariable var val N/A N/A N/A op N/A semanticCommand Gpeek N/A N/A var N/A N/A code next N/A sns N/A N/A code next N/A val N/A N/A cntx peekIntoBuffer nxtb sns N/A N/A N/A cntx setLocalVariable var val N/A N/A N/A N/A op N/A semanticCommand Gset N/A op N/A semanticCommand Gextl N/A op N/A semanticCommand Gextr N/A N/A var N/A N/A code next N/A N/A op N/A semanticCommand Gset N/A N/A val N/A N/A code next N/A N/A N/A op N/A semanticCommand Gextl N/A N/A val N/A N/A cntx extractCharsFromBuffer N/A N/A code next 1 N/A N/A val N/A N/A cntx extractCharsFromBuffer N/A N/A code next 0 N/A N/A N/A cntx setLocalVariable var val N/A N/A N/A N/A op N/A semanticCommand Ginsr N/A op N/A semanticCommand Ginsn N/A N/A var N/A N/A code next N/A s N/A N/A cntx getLocalVariable var N/A N/A s N/A N/A N/A op N/A semanticCommand Ginsn N/A N/A N/A N/A cntx insertCharsIntoBuffer s 1 N/A N/A N/A N/A cntx insertCharsIntoBuffer s 0 N/A N/A N/A op N/A semanticCommand Gshft N/A N/A N/A N/A cntx moveCharsBufferToBuffer N/A N/A code next N/A N/A N/A op N/A semanticCommand Gdele N/A N/A N/A N/A cntx deleteCharsFromBuffer N/A N/A code next N/A N/A N/A op N/A semanticCommand Gdelt N/A N/A s N/A N/A code next N/A t N/A N/A code next N/A N/A t 0 N/A N/A N/A N/A cntx deleteCharsInBufferTo s N/A N/A N/A N/A cntx deleteCharsInBufferFrom s N/A N/A N/A op N/A semanticCommand Gstor N/A N/A var N/A N/A code next N/A nde N/A N/A code next N/A val N/A N/A cntx getDeletion N/A N/A N/A abs nde N/A len val N/A N/A val N/A N/A N/A N/A nde 0 N/A N/A val N/A val N/A N/A nde N/A N/A N/A nde 0 N/A N/A val N/A val N/A N/A nde N/A N/A N/A cntx setLocalVariable var val N/A N/A N/A op N/A semanticCommand Gfnd N/A N/A N/A N/A cntx findCharsInBuffer N/A N/A code next N/A N/A code next N/A N/A N/A op N/A semanticCommand Gpick N/A N/A var N/A N/A code next N/A s N/A N/A cntx getLocalVariable var N/A dct N/A N/A code next N/A N/A N/A s dct N/A N/A N/A dct N/A N/A s N/A N/A N/A N/A N/A cntx insertCharsIntoBuffer N/A dct N/A s N/A N/A N/A op N/A semanticCommand Gappd N/A N/A s N/A N/A code next N/A N/A N/A cntx insertCharsIntoBuffer s N/A N/A N/A op N/A semanticCommand Gget N/A N/A var N/A N/A code next N/A gvn N/A N/A code next N/A N/A N/A cntx setLocalVariable var N/A N/A cntx getGlobalVariable gvn N/A N/A N/A op N/A semanticCommand Gput N/A N/A var N/A N/A code next N/A gvn N/A N/A code next N/A N/A N/A cntx setGlobalVariable gvn N/A N/A cntx getLocalVariable var N/A N/A N/A op N/A semanticCommand Gassg N/A N/A dst N/A N/A code next N/A src N/A N/A code next N/A N/A N/A cntx setLocalVariable dst N/A N/A cntx getLocalVariable src N/A N/A N/A op N/A semanticCommand Gque N/A N/A dst N/A N/A code next N/A src N/A N/A code next N/A cno N/A N/A code next N/A val N/A N/A cntx getLocalVariable src N/A N/A N/A len val 0 N/A N/A N/A cno 0 N/A N/A N/A it N/A N/A N/A cno 0 N/A N/A it N/A N/A N/A cntx getLocalVariable dst val N/A N/A N/A cno N/A len val N/A N/A cno N/A len val N/A it N/A val N/A cno N/A N/A N/A cntx setLocalVariable src N/A val N/A cno N/A N/A N/A cntx setLocalVariable dst it N/A N/A N/A op N/A N/A semanticCommand Gunio N/A semanticCommand Gintr N/A semanticCommand Gcomp N/A N/A dst N/A N/A code next N/A src N/A N/A code next N/A dv N/A N/A cntx getLocalVariable dst N/A sv N/A N/A cntx getLocalVariable src N/A lstd N/A N/A N/A len dv 0 N/A N/A N/A dv split LSTJ N/A lsts N/A N/A N/A len sv 0 N/A N/A N/A sv split LSTJ N/A ls N/A N/A N/A op N/A semanticCommand Gunio N/A N/A x lsts N/A N/A N/A N/A x lstd N/A N/A N/A N/A lstd append x N/A ls lstd N/A N/A N/A op N/A semanticCommand Gintr N/A N/A x lsts N/A N/A N/A x lstd N/A N/A N/A N/A ls append x N/A N/A x lstd N/A N/A N/A N/A x lsts N/A N/A N/A N/A ls append x N/A js N/A N/A LSTJ join ls N/A N/A N/A cntx setLocalVariable dst js N/A N/A N/A op N/A semanticCommand Gobtn N/A N/A tok N/A N/A cntx getNthTokenInListing N/A N/A phrs krnl posn N/A N/A N/A cntx insertCharsIntoBuffer N/A N/A tok toUnicode N/A N/A N/A op N/A semanticCommand Gcapt N/A N/A c N/A N/A cntx extractCharsFromBuffer N/A N/A c N/A N/A N/A N/A cntx insertCharsIntoBuffer N/A N/A c upper 1 N/A N/A N/A op N/A semanticCommand Gucpt N/A N/A c N/A N/A cntx extractCharsFromBuffer N/A N/A c N/A N/A N/A N/A cntx insertCharsIntoBuffer N/A N/A c lower 1 N/A N/A N/A op N/A semanticCommand Gtrce N/A N/A cat N/A N/A N/A cntx syms getSyntaxTypeName N/A N/A phrs krnl typx N/A brn N/A N/A isinstance N/A N/A phrs krnl rule N/A grammarRule ExtendingRule 1 2 N/A pnam N/A N/A cntx getLocalVariable PNAM N/A fm TRACE @{0:d} type={1:s} rule={2:d} ({3:d}-br) N/A fs N/A N/A fm format N/A N/A phrs krnl posn cat N/A N/A N/A phrs krnl rule seqn brn N/A N/A N/A N/A sys stderr write fs N/A N/A N/A N/A sys stderr flush N/A N/A N/A cntx printStatus pnam N/A N/A N/A op N/A semanticCommand Gshow N/A N/A vr N/A N/A code next N/A ms N/A N/A code next N/A st N/A despace N/A N/A cntx getLocalVariable vr N/A fm SHOW @phr {0:d} : [{1:s}] VAR {2:s}= [{3:s}] N/A fs N/A N/A fm format N/A N/A phrs krnl seqn ms vr st N/A N/A N/A N/A sys stderr write fs N/A N/A N/A N/A sys stderr write N/A N/A N/A N/A sys stderr flush N/A N/A N/A op N/A semanticCommand Gview N/A N/A nc N/A N/A code next N/A N/A cbl nbl N/A N/A cntx viewBufferDivide nc N/A fm VIEW @phr {0:d} : {1:s} | {2:s}
 N/A st N/A N/A fm format N/A N/A phrs krnl seqn N/A str cbl N/A str nbl N/A N/A N/A N/A sys stderr write st N/A N/A N/A N/A sys stderr flush N/A N/A N/A op N/A semanticCommand Gproc N/A N/A name N/A N/A code next N/A N/A name N/A N/A N/A proc N/A N/A cntx getProcedure name N/A N/A proc None N/A N/A N/A sys stderr unknown subprocedure name name N/A status False N/A N/A status N/A N/A proc run cntx phrs name N/A N/A N/A sys stderr N/A GenerativeProcedure _error op= op N/A status False N/A N/A N/A cntx popStack N/A status N/A N/A N/A N/A __name__ __main__ N/A N/A ellyDefinitionReader N/A procedureTestFrame generativeDefiner showCode N/A frame N/A N/A procedureTestFrame ProcedureTestFrame N/A phr N/A frame phrase N/A ctx N/A frame context N/A stb N/A ctx syms N/A args N/A N/A N/A len N/A sys argv 1 N/A N/A sys argv N/A 1 N/A testProcedure.0.txt N/A srcn args N/A N/A N/A N/A ctx clearLocalStack N/A N/A N/A ctx clearBuffers N/A ------------ srcn N/A inp N/A N/A ellyDefinitionReader EllyDefinitionReader srcn N/A N/A N/A inp error None N/A N/A N/A sys stderr cannot read procedure definition srcn N/A N/A sys stderr N/A inp error N/A N/A ln N/A inp buffer N/A N/A ln N/A N/A gp N/A GenerativeProcedure stb inp N/A *CODE* N/A N/A N/A gp logic None N/A N/A N/A showCode N/A gp logic N/A N/A null logic N/A N/A res N/A N/A gp doRun ctx phr N/A ---- N/A run status= res N/A ---- N/A N/A N/A frame showBuffers N/A ------------ N/A N/A len args test file(s)