Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tcl - new [commands]

7 views
Skip to first unread message

William Coleda

unread,
Dec 4, 2004, 12:20:35 PM12/4/04
to Perl 6 Internals
Added some more list-based commands.

Added upvar (alias to caller's variables), uplevel (execute code in caller's scope). (or your caller's caller, or...)

Also added a non-standard "inline" command so you can do:

oolong:~/research/parrot/languages/tcl/examples coke$ cat inline.tcl
inline PIR {
.sub junk
$P0 = new String
$P0 = "nifty"
store_lex 0, "a", $P0
.end
}
puts $a
oolong:~/research/parrot/languages/tcl/examples coke$ make inline
cd ../../../ && ./parrot languages/tcl/tcl.pbc languages/tcl/examples/inline.tcl
nifty


Volunteers welcome. =-)

0 new messages