Hi there,
A few weeks ago I posted something about a Tcl->parrot compiler, but Will Coleda
already was working on such a project. It would be a as a final project for my
bachelor's. But because such already exists, I'm looking for something else.
I think parrot is a cool target for compiling, a
On Tue, Jan 21, 2003 at 09:17:56AM +0100, K Stol said:
> A few weeks ago I posted something about a Tcl->parrot compiler, but Will Coleda
>already was working on such a project. It would be a as a final project for my
>bachelor's. But because such already exists, I'm looking for something else.
K Stol sent the following bits through the ether:
> A few weeks ago I posted something about a Tcl->parrot compiler, but
> Will Coleda already was working on such a project. It would be a as a
> final project for my bachelor's. But because such already exists, I'm
> looking for something else.
An
Leon Brocard wrote:
Index: config/gen/makefiles/ook.in
Applied,
leo
Jürgen Bömmels (via RT) wrote:
# New Ticket Created by Jürgen Bömmels
# Please include the string: [perl #18056]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=18056 >
Applied with some modifications and extension.
Thanks
Thanks to Juergen Boemmels patch #18056, we now have multiple code segments.
Changes:
- multiple code segments in memory, created by compile opcode
- changed packfile constants to a union
- create debug (file/line) info for gdb/stabs, including evaled code
- small JIT changes for eval
- changed im
PHP is especially used in web pages. Would there be any advantage to have a
PHP->Parrot compiler?
LUA seems to be a very nice language, but how is this language to be used?
Is it in combination with a C program one would write? Or could it be used
as a stand alone application? In that case, it see
On Mon, Jan 20, 2003 at 02:09:10PM -0500, Dan Sugalski wrote:
> Rather badly, actually. All the tests that involve parrot currently
> segfault in the NCI mark routine. At least on OS X, I'm not sure
> about other platforms.
5.8.0/Sparc64/OpenBSD is also rather unhappy.
I'm getting the following
On Tue, Jan 21, 2003 at 12:14:29PM +0100, K Stol said:
> PHP is especially used in web pages. Would there be any advantage to have a
> PHP->Parrot compiler?
Depends what you mean by 'advantage'.
Currently, as far as I know, PHP runs on a virtual machine, just like
Perl so it's a good candidate f
blair christensen wrote:
On Mon, Jan 20, 2003 at 02:09:10PM -0500, Dan Sugalski wrote:
Rather badly, actually. All the tests that involve parrot currently
segfault in the NCI mark routine. At least on OS X, I'm not sure
about other platforms.
(gdb) bt
#0 0x1a8638 in pobject_lives ()
#1 0x
At 9:17 AM +0100 1/21/03, K Stol wrote:
Hi there,
A few weeks ago I posted something about a Tcl->parrot compiler, but
Will Coleda already was working on such a project. It would be a as
a final project for my bachelor's. But because such already exists,
I'm looking for something else.
If you
Seems to be some missing dependency. 'make realclean' should do it.
jit_cpu.c:603: structure has no member named `number'
This file is generated by jit2h.pl which uses OpTrans::C and there is
u.number for 'nc'.
leo
Well, I'd do it as a project for my Bachelor's, so I won't get permission to
do such a project, if it already exists.
Klaas-Jan
- Original Message -
From: "Dan Sugalski" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 21, 2003 4:40 PM
Subjec
If memory serves me right, Leon Brocard wrote:
> An interesting project to do would be to do a Java->Parrot compiler.
Hmm... I think with the current Parrot setup that might be a bit difficult.
We need object instructions for that , also I need to be able to define
classes,interfaces and all the J
At 4:46 PM +0100 1/21/03, K Stol wrote:
Well, I'd do it as a project for my Bachelor's, so I won't get permission to
do such a project, if it already exists.
Ah, that could be a problem. Will it be a problem if you start a
project that someone else later also starts?
From: "Dan Sugalski" <[EMA
well, I think not, then I can't help it. What do you think about compiling
Lua to parrot (IMCC)?
Klaas-Jan
- Original Message -
From: "Dan Sugalski" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 21, 2003 4:58 PM
Subject: Re: Compiling to P
At 4:40 PM +0100 1/21/03, Leopold Toetsch wrote:
Seems to be some missing dependency. 'make realclean' should do it.
jit_cpu.c:603: structure has no member named `number'
That's mine--I'll go get it cleaned up. I'm not sure it'll help that
much, as I'm seeing multiply-defined symbol issues at
At 5:01 PM +0100 1/21/03, K Stol wrote:
well, I think not, then I can't help it. What do you think about compiling
Lua to parrot (IMCC)?
I like the idea, and I don't think you'll see anyone else tackle it
for a while. (And if that falls through, there's always LISP... :)
From: "Dan Sugalski" <
Only thing I need to know before I can start is: what would the purpose be
of a Lua to Parrot compiler? Lua is originally an embedded language for
easy-scripting, as far as I understand. How could it be used when targeted
to parrot? Would it be possible to call functions written in Lua (and which
a
At 5:13 PM +0100 1/21/03, K Stol wrote:
Only thing I need to know before I can start is: what would the purpose be
of a Lua to Parrot compiler? Lua is originally an embedded language for
easy-scripting, as far as I understand. How could it be used when targeted
to parrot? Would it be possible to c
Okay, I can be a bit slow, but I finally figured out what's going on
with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex, or
whatever's being used to do it, spits out bad code. Could the IMCC
folks upgrade to the latest version of flex to see if that fixes
things and, if not, I'll h
At 11:29 AM -0500 1/21/03, Dan Sugalski wrote:
Okay, I can be a bit slow, but I finally figured out what's going on
with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex, or
whatever's being used to do it, spits out bad code. Could the IMCC
folks upgrade to the latest version of flex
Is it possible for parrot-code to call functions in other parrot files?
(which implies there is some program which consists of multiple files)
Klaas-Jan
- Original Message -
From: "Dan Sugalski" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, Janua
Dan Sugalski wrote:
Okay, I can be a bit slow, but I finally figured out what's going on
with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex, or
whatever's being used to do it, spits out bad code. Could the IMCC folks
upgrade to the latest version of flex to see if that fixes thing
On Tue, Jan 21, 2003 at 12:08:29AM +0100, Leopold Toetsch wrote:
> Here is a proposal for inter code segment jumps:
>
> The assembler (imcc) can recognize when a branch ins goes to a different
> code segment.
>
> For such a branch, imcc generates this opcode seqence:
>
>inter_cs
>if i,
Dan Sugalski wrote:
> If you follow the calling conventions, then yes you'll be able to
> call python/ruby/perl/befunge routines from Lua code, and vice versa.
No, you won't be able to call befunge routines from Lua, because:
- befunge does not know how to define subroutines (at least befunge-93
On Tue, Jan 21, 2003 at 08:41:47AM +, Simon Wistow wrote:
> Speaking of games, it would be interesting to see Parrot be used in that
> direction. A lot of games currently are pretty much developed along the
> lines of 'custom scripting language interfaced to custom game engine'
One of the reas
Jason Gloudon wrote:
On Tue, Jan 21, 2003 at 12:08:29AM +0100, Leopold Toetsch wrote:
Here is a proposal for inter code segment jumps:
The assembler (imcc) can recognize when a branch ins goes to a different
code segment.
For such a branch, imcc generates this opcode seqence:
inter_cs
i
On Tue, Jan 21, 2003 at 01:53:26PM +0100, Leopold Toetsch wrote:
> blair christensen wrote:
>
> >On Mon, Jan 20, 2003 at 02:09:10PM -0500, Dan Sugalski wrote:
> >
> >>Rather badly, actually. All the tests that involve parrot currently
> >>segfault in the NCI mark routine. At least on OS X, I'm no
Here's another data-point, for Linux/x86: with a fresh check-out, parrot
is passing all of its tests, but most of the imcc tests are failing.
Specifically, I get:
Failed Test Stat Wstat Total Fail Failed List of Failed
-
Dan Sugalski <[EMAIL PROTECTED]> writes:
> At 3:06 PM -0500 1/15/03, Christopher Armstrong wrote:
>>On Wed, Jan 15, 2003 at 01:57:28AM -0500, Dan Sugalski wrote:
>>> At 9:37 PM -0500 1/14/03, Christopher Armstrong wrote:
>>> >But who knows, maybe it could be made modular enough (i.e., more
>>>
blair christensen wrote:
and Simon Glover reported:
#0 0x1a8638 in pobject_lives ()
#1 0x1bcc78 in Parrot_NCI_mark ()
I dunno yet, why mark is called with an uninitialized struct_val. The
mark function should only be called, if the corresponding flag is set.
For a first check, what's going
On Tue, Jan 21, 2003 at 08:21:42PM +0100, Leopold Toetsch wrote:
> >>For such a branch, imcc generates this opcode seqence:
> >>
> >> inter_cs
> >> if i, ic # or whatever
>
> >Why do we need branches to go to different code segments ?
>
>
> Because of this nasty piece of little code:
> t/sy
blair christensen wrote:
(gdb) bt
#0 0x1a8638 in pobject_lives ()
#1 0x1bcc78 in Parrot_NCI_mark ()
Just one thought:
before my eval patch PerlHash's enum was 12, what now NCI has.
From PMC.pm (now):
NCI => 12,
PerlArray => 13,
PerlHash => 14,
PerlInt => 15,
The advantage of Lua (at least for my project, which is a game) is that it
is quite easy to embed, and quite easy to customize. The C API is small and
easily understandable (at the expense of being a little bit of a pain to
use), and the internals are simple and quite malleable. The language itse
35 matches
Mail list logo