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

Re: Tcl - compiling expressions

Thread Previous | Thread Next
From:
Will Coleda
Date:
October 1, 2005 22:41
Subject:
Re: Tcl - compiling expressions
Message ID:
4E89C233-1276-4F85-B38C-1AEC926EA11B@coleda.com
The simple version of the compiler is now mostly done in my sandbox:

Failed Test       Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ 
-------
t/cmd_global.t       3   768     6    3  50.00%  2-4
t/cmd_proc.t         4  1024    11    4  36.36%  3-4 8-9
t/cmd_return.t       1   256     2    1  50.00%  1
t/cmd_string.t       3   768    57    3   5.26%  21 45-46
t/tcl_backslash.t    4  1024    35    4  11.43%  31-34

These break down into two classes of errors:

1) ``Pad index out of range'' {global, proc, return}

2) Data::Escape::String can't escape unicode {string, backslash}

I've opened a TODO ticket for #2: [perl #37321] Any takers on this  
appreciated.

If I can get #1 working, I'll just TODO everything that depends on #2  
and get this checked in.

I've attached the generated PIR output for the sample program, which  
outputs "10"

set a 0
while {$a < 10} {
   incr a
}
puts $a

It's functional but ugly. (Patches welcome once I checkin)


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