parrotcode: Untitled | |
Contents | Language Implementations | TCL |
Given a PMC, get a list from it. If the PMC is a TclList, this is as simple as returning the list.
Given a PMC, get a TclDict from it, converting as needed.
Given a PMC, get a number from it.
Given a PMC, get an integer from it.
Given a tcl string index and an List pmc, return the corresponding numeric index.
Given a string, return the appropriate channel.
Given an expression, return a subroutine, or optionally, the raw PIR
Given a chunk of tcl code, return a subroutine.
Given a string namespace, return an array of names.
Given a string, return its boolean value if it's a valid boolean. Otherwise, throw an exception.
Given a pmc containing the tcl-style call level, return an int-like pmc indicating the parrot-style level, and an integer with a boolean 0/1 - was this a valid tcl-style level, or did we get this value as a default?
Given a string of tcl code, perform the backslash/newline subsitution.
|