develooper Front page | perl.perl6.internals | Postings from September 2005

Re: tcl, exceptions in leo-ctx5

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
September 20, 2005 09:10
Subject:
Re: tcl, exceptions in leo-ctx5
Message ID:
Pine.SOC.4.62.0509201152220.13507@maxwell.phys.lafayette.edu
On Mon, 19 Sep 2005, Will Coleda wrote:

> Good! [inline] isn't real Tcl, it's specific to partcl.
> 
> That test consists of the code:
> 
>  inline PASM {
>    print "ok\n"
>   }
> 
> which should do the obvious thing. Odd that it's squawking about MMD_add.

It's very strange.  It copied that snippet above to examples/foo.tcl.  
Whether or not it works seems to depend on whether or not there's a slash 
in the filename. Here's what I see:

$ cat foo.tcl
inline PASM {
    print "ok\n"
}
$ ../../../parrot ../tcl.pbc foo.tcl
ok
$ ../../../parrot ../tcl.pbc ./foo.tcl
ok
MMD function __add not foundfor types (1, -100)
$ ../../../parrot -tf ../tcl.pbc foo.tcl > nodot.trace 2>&1
$ ../../../parrot -tf ../tcl.pbc ./foo.tcl > dot.trace 2>&1

(The traces are huge -- 64k each after compression -- so I've just sent 
them by private mail, and not to the whole list.)

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About