Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

Parrot Examples

8 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Joe Yates

ungelesen,
12.01.2003, 04:36:0112.01.03
an perl6-i...@perl.org
Dear All,

Could we add a 'Hello World.pasm' to 'parrot/examples/assembly'?

Joe Yates

Joseph Guhlin

ungelesen,
13.01.2003, 11:35:4713.01.03
an perl6-i...@perl.org
Too simple.. There is some good documentation though and the examples,
while a bit too complex at first can be understood after ahile. I hate
having to relearn assembly though, it's been too long.

helloworld.pasm:
print "Hello World!\n"

Joe Yates wrote:

--Joseph Guhlin - http://www.josephguhlin.com/

Dan Sugalski

ungelesen,
13.01.2003, 12:01:1413.01.03
an perl6-i...@perl.org
At 10:35 AM -0600 1/13/03, Joseph Guhlin wrote:
>Too simple.. There is some good documentation though and the
>examples, while a bit too complex at first can be understood after
>ahile. I hate having to relearn assembly though, it's been too long.
>
>helloworld.pasm:
>print "Hello World!\n"

Well...

print "Hello World\n"
end

or there's the troublesome segfault... :)

>Joe Yates wrote:
>
>>Dear All,
>>
>>Could we add a 'Hello World.pasm' to 'parrot/examples/assembly'?

--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

Joseph Guhlin

ungelesen,
13.01.2003, 13:47:4613.01.03
an perl6-i...@perl.org
Are you sure? I did it on mine and there was no segfault. My CVS copy is
from yesterday or the day before I think. I used the assemble.pl and
then called it helloworld.pbc and ran it with the parrot executable. I'm
still new to parrot and want to help out, but there is alot of stuff for
me to understand before I can catch up with everyone else. =/ but I'll
show my support by making helloworld.pasm's until I can do more. =)

--Joey

Dan Sugalski wrote:

> At 10:35 AM -0600 1/13/03, Joseph Guhlin wrote:
>
>> Too simple.. There is some good documentation though and the
>> examples, while a bit too complex at first can be understood after
>> ahile. I hate having to relearn assembly though, it's been too long.
>>
>> helloworld.pasm:
>> print "Hello World!\n"
>
>
> Well...
>
> print "Hello World\n"
> end
>
> or there's the troublesome segfault... :)
>
>> Joe Yates wrote:
>>

Dan Sugalski

ungelesen,
13.01.2003, 13:59:1313.01.03
an inco...@josephguhlin.com, perl6-i...@perl.org
At 12:47 PM -0600 1/13/03, Joseph Guhlin wrote:
>Are you sure? I did it on mine and there was no segfault. My CVS
>copy is from yesterday or the day before I think. I used the
>assemble.pl and then called it helloworld.pbc and ran it with the
>parrot executable. I'm still new to parrot and want to help out, but
>there is alot of stuff for me to understand before I can catch up
>with everyone else. =/ but I'll show my support by making
>helloworld.pasm's until I can do more. =)

Yep, I'm sure. Without the end, parrot just falls off the end of the
world. If that happens to be into memory filled with nulls, you're
fine, otherwise Nasty Things may happen.

>Dan Sugalski wrote:
>
>>At 10:35 AM -0600 1/13/03, Joseph Guhlin wrote:
>>
>>>Too simple.. There is some good documentation though and the
>>>examples, while a bit too complex at first can be understood after
>>>ahile. I hate having to relearn assembly though, it's been too
>>>long.
>>>
>>>helloworld.pasm:
>>>print "Hello World!\n"
>>
>>
>>Well...
>>
>> print "Hello World\n"
>> end
>>
>>or there's the troublesome segfault... :)
>>
>>>Joe Yates wrote:
>>>
>>>>Dear All,
>>>>
>>>>Could we add a 'Hello World.pasm' to 'parrot/examples/assembly'?

Joseph Guhlin

ungelesen,
13.01.2003, 14:05:3313.01.03
an perl6-i...@perl.org
Ah, very cool. I did not know that.
<insert obligatory monty python quotes here>

--Joseph
http://www.josephguhlin.com/

0 neue Nachrichten