If memory serves me right, Cory Spencer wrote:
> most example languages implement a complete compiler (ie lexxer -> parser
> -> optimizer -> code emitter), which seems to be somewhat of a
> duplication of labour.
Some are in C, others in pasm and yet others in Perl ... how do do you re-use
libr
"Brent Dax" <[EMAIL PROTECTED]> writes:
> Mr. Nobody:
> # I have to wonder how many people actually like this syntax,
> # and how many only say they do because it's Damian Conway who
> # proposed it. And map/grep aren't "specialized syntax", you
>
> IIRC Damian also supports Unicode operators (
Leopold Toetsch wrote:
Dan Sugalski wrote:
Three? Every test fails under OS X because of this...
If not done yet, I'll fix this tomorrow.
Done.
leo
Dan Sugalski wrote:
At 8:27 PM + 1/14/03, Leopold Toetsch (via RT) wrote:
- how should a byte code segment (PMC) look like?
Ah, the big question. I'm not quite sure yet--let's try and work that
out while I'm churning over objects.
I have it ready.
It's based on the packfile patch #180
"Michael Lazzaro" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> And note that as pretty as -> is, we couldn't have <- for piping
> because it would conflict rather strongly things like
>
> if ($a<-5)# (negative five, or pipelike?)
Its resolved by the "
In the L2R thread, I made a comment where I contrasted a for loop
with a junction. On reflection, I think we could go further.
If we defined
my $prev = 0;
sub mangle($value) { $value + $prev; $prev=$value }
and then used it as:
my $x = any(1,2,3);
$y = mangle($x);
then the semant
On Sat, 18 Jan 2003 15:10, you wrote:
> [EMAIL PROTECTED] (Michael Lazzaro) writes:
> > I don't think any aspect
> > of this discussion is hinged on people being 'ignorant' of perl5
> > behaviors,
> Oh, I do, and you've dismissed that argument out of hand. This isn't
> name-calling; this is a plea
Damian Conway <[EMAIL PROTECTED]> writes:
> Brent Dax asked:
>
>> So
>> @a ~> grep { ... } ~> @b
>> Is the same as
>> @b = grep { ... } @a
>
> Yes.
>
>
>
>> As in...
>> class Array {
>> ...
>> method grep (Array $ary: Code $code) returns Array {
>>
"Mr. Nobody" <[EMAIL PROTECTED]> writes:
> --- Michael Lazzaro <[EMAIL PROTECTED]> wrote:
>>
>> On Friday, January 17, 2003, at 11:00 AM, Simon Cozens wrote:
>> > [EMAIL PROTECTED] (Michael Lazzaro) writes:
>> >> ...the absence of the commas is what's special. If they were normal
>> >> function
Dave Whipp wrote:
And note that as pretty as -> is, we couldn't have <- for piping
because it would conflict rather strongly things like
if ($a<-5)# (negative five, or pipelike?)
Its resolved by the "longest token" rule, but it would be a common bug. So
it would be a potential problem.
Piers Cawley wrote:
Multimethods don't belong to classes; they mediate interactions
*between* classes.
Will the 'is multi' actually be necessary? Just curious.
That's still being discussed. *Something* is necessary. But it may
be that, instead of:
sub handle (Window $w, Event $e, Mode $m) i
Dave Whipp wrote:
Let us now imagine that C is a junction operator, instead of a
looping statement. Now we could write:
my $x = for(1,2,3);
my $y = mangle($x);
and we can be certain that $y == (1,3,6), because a "for-junction"
will distribute that evaluations sequentially.
Yes, but will
The Jako compiler uses imcc as well...
"Tanton Gibbs" <[EMAIL PROTECTED]>
01/18/2003 01:10 AM
To: "Cory Spencer" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc:
Subject:Re: Parrot compilers
Yes, languages should now use IMCC as their target. Basically,
I'm working on converting the tcl compiler (written in perl) which
targetted imcc into an interpreter written in imcc.
Regards.
[EMAIL PROTECTED] wrote:
The Jako compiler uses imcc as well...
"Tanton Gibbs" <[EMAIL PROTECTED]>
01/18/2003 01:10 AM
To: "Cory Spencer" <[EMAIL PROTEC
# New Ticket Created by "[EMAIL PROTECTED]"
# Please include the string: [perl #20388]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=20388 >
Please reply with the best time to send your cards to her, I am lost on this one
Odd.
There's not enough information in the logs to figure out what's going
on. (And the code shouldn't have this kind of failure mode.)
If it keeps happening, please keep me in the loop.
-R
At Fri, 17 Jan 2003 17:00:21 +0100,
Leopold Toetsch wrote:
> Cannot open file /tmp/#cvs.lastdir.27414
> Please reply with the best time to send your cards to her, I am lost on this one
> -Eddie
Interesting. Obviously spam. I've dealt with it.
Interesting parts, for those who care:
X-Mailer: Mach5 Mailer-3.00 PID{5df70590-1abd-4223-8406-483160352ade}
RI{38ecd-ff200} Not Licensed for UCE, uce at
Damian Conway <[EMAIL PROTECTED]> writes:
> Piers Cawley wrote:
>
>>>Multimethods don't belong to classes; they mediate interactions
>>>*between* classes.
>> Will the 'is multi' actually be necessary? Just curious.
>
> That's still being discussed. *Something* is necessary. But it may
> be that, i
Piers Cawley wrote:
I really don't like that fine grained syntax I'm afraid. And I'm not
entirely sure you actually gain anything from it do you?
That's one of the questions we're still pondering. But see below.
I also find myself wondering if functions called with:
$foo.bar($baz)
sho
Damian Conway wrote:
> If the rule was, "you can leave a comma out either side of a block/closure,
> no matter where it appears in the argument list", it would also be more
> consistent.
>
> And that's what's being contemplated. Because otherwise, you also have
> to have:
>
> for @list, {
Damian Conway wrote:
> Piers Cawley wrote:
> > I really don't like that fine grained syntax I'm afraid. And I'm not
> > entirely sure you actually gain anything from it do you?
>
> That's one of the questions we're still pondering.
Suppose I wanted to do something like:
sub draw_triangle( Po
Michael Lazzaro wrote:
Suppose I wanted to do something like:
sub draw_triangle( Point $a, Point $b, Point $c );
-and-
sub draw_triangle( int $x1,$y1, int $x2,$y2, int $x3,$y3 );
Err. Why would you only want the X parameters to be explicitly typed?
I suspect you mean:
sub draw_tria
Robert Spier wrote:
Odd.
[ err ]
Cannot open file /tmp/#cvs.lastdir.27414: No such file or directory
There's not enough information in the logs to figure out what's going
on. (And the code shouldn't have this kind of failure mode.)
Could it be, that's some kind of timing problem? For
On Friday, January 17, 2003, 6:35:47 PM, you (mailto:[EMAIL PROTECTED]) wrote:
> On Fri, Jan 17, 2003 at 06:21:43PM +, Simon Cozens wrote:
>> [EMAIL PROTECTED] (Mr. Nobody) writes:
>> > I have to wonder how many people actually like this syntax, and how many only
>> > say they do because it's D
Sam Vilain wrote:
On Sat, 18 Jan 2003 15:10, you wrote:
[EMAIL PROTECTED] (Michael Lazzaro) writes:
I don't think any aspect
of this discussion is hinged on people being 'ignorant' of perl5
behaviors,
Oh, I do, and you've dismissed that argument out of hand. This isn't
name-calling
"Joseph F. Ryan" wrote:
> Perhaps in the grand scheme of things; however, anyone that is
> redesigning a system should not be ignorant of how the old system
> worked (even in the slightest degree), in order to know of what to
> keep and what to throw away.
Oy. One more time. My objection is this
26 matches
Mail list logo