Simon Glover wrote:
Why not just use a macro?
# .macro fortytwo (A)
#set .A, 42
# .endm
#
# .fortytwo(I0)
# print I0
# print "\n"
# end
Simon
Shouldn't be The Answer a builtin?
Kay
This is really a language feature; you should add it to the hq9+
implementation.
--
Gordon Henriksen
IT Manager
ICLUBcentral Inc.
[EMAIL PROTECTED]
> -Original Message-
> From: Jos Visser [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 11:21 AM
> To: Perl6 Internals (parro
On Thu, Aug 07, 2003 at 05:21:11PM +0200, Jos Visser wrote:
> Accompanying patch adds the "fortytwo" op to Parrot, so the following
> PASM becomes legal:
>
> fortytwo I0
> print I0
> print "\n"
> end
>
> Example:
>
> $ ../parrot test42.pasm
> 42
>
> Sorry, could not res
On Thu, Aug 07, 2003 at 12:57:11PM -0400, Gordon Henriksen wrote:
> This is really a language feature; you should add it to the hq9+
> implementation.
Sadly, this was not considered when hq9+ was developed, so it's not
actually part of the language. Maybe someone should develop and
extended versi
On Fri, Aug 08, 2003 at 12:33:03PM +0100, Nicholas Clark wrote:
> On Fri, Aug 08, 2003 at 02:20:46AM -0400, David H. Adler wrote:
> > On Thu, Aug 07, 2003 at 12:57:11PM -0400, Gordon Henriksen wrote:
> > > This is really a language feature; you should add it to the hq9+
> > > implementation.
> >
>
On Fri, Aug 08, 2003 at 02:20:46AM -0400, David H. Adler wrote:
> On Thu, Aug 07, 2003 at 12:57:11PM -0400, Gordon Henriksen wrote:
> > This is really a language feature; you should add it to the hq9+
> > implementation.
>
> Sadly, this was not considered when hq9+ was developed, so it's not
> act
On Fri, Aug 08, 2003 at 01:51PM -0400, David H. Adler wrote:
> On Fri, Aug 08, 2003 at 12:33:03PM +0100, Nicholas Clark wrote:
> > On Fri, Aug 08, 2003 at 02:20:46AM -0400, David H. Adler wrote:
> > > On Thu, Aug 07, 2003 at 12:57:11PM -0400, Gordon Henriksen wrote:
> > > > This is really a languag
On Thu, 7 Aug 2003, Jos Visser wrote:
> Accompanying patch adds the "fortytwo" op to Parrot, so the following
> PASM becomes legal:
>
> fortytwo I0
> print I0
> print "\n"
> end
>
> Example:
>
> $ ../parrot test42.pasm
> 42
>
Why not just use a macro?
# .macro fortyt
Nicholas Clark wrote:
On Thu, Aug 07, 2003 at 05:21:11PM +0200, Jos Visser wrote:
fortytwo I0
Shouldn't it be the what_do_you_get_if_you_multiply_six_by_nine op?
Shouldn't it be the
what_do_you_get_if_you_multiply_six_by_nine_then_subtract_twelve op?
Nicholas Clark
SCNR2, leo
Leopold Toetsch wrote:
> Nicholas Clark wrote:
> > Jos Visser wrote:
> >>fortytwo I0
> >
> > Shouldn't it be the what_do_you_get_if_you_multiply_six_by_nine op?
>
> Shouldn't it be the
> what_do_you_get_if_you_multiply_six_by_nine_then_subtract_twelve op?
Just for those people who've missed
Shouldn't it be the
what_do_you_get_if_you_multiply_six_by_nine_then_subtract_twelve op?
No, it shouldn't. Meditate about it again and you will be enlightened.
Hint: "Base 13".
Greetings,
Christian
--
[EMAIL PROTECTED] - http://www.web42.com/crenz/ - http://www.web42.com/
"The worst attitude o
Jos Visser <[EMAIL PROTECTED]> wrote:
> Accompanying patch adds the "fortytwo" op to Parrot, so the following
> PASM becomes legal:
> fortytwo I0
Pah, we need my dynpmc patch:
load_pmc "foo", P0
new P0, .Foo
set I0, P0
print I0
print "\n"
en
12 matches
Mail list logo