Re: [COMMIT] New Assembler in place

2002-06-03 Thread Jeff
Melvin Smith wrote: > > At 02:25 PM 6/1/2002 -0400, Clinton A. Pierce wrote: > >Looks great. Converted over with little sweat, noted below. > > Moving in the right direction. mandelbrot.cola -> mandel.pasm > > Old assembler: > > time assemble.pl mandel.pasm > mandel.pbc | grep real > real

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Melvin Smith
At 11:13 PM 6/1/2002 -0400, Jeff wrote: >shortly. I just didn't think that hand-written compilers would generate >this code, but I suppose it's possible. They shouldn't, only lazily written compilers do. :) >Feel free to do that but I'll fix the actual bug soon. I'll wait. >Before we go down t

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Jeff
Melvin Smith wrote: > > At 06:07 PM 6/1/2002 -0400, Kevin Falcone wrote: > > > "MS" == Melvin Smith <[EMAIL PROTECTED]> writes: > > > >MS> FYI, Cola breaks with the new assembler. I think this is for 2 > >MS> reasons, multiple labels and not allowing _ in label names. Kevin > >MS> posted a co

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Melvin Smith
At 06:07 PM 6/1/2002 -0400, Kevin Falcone wrote: > > "MS" == Melvin Smith <[EMAIL PROTECTED]> writes: > >MS> FYI, Cola breaks with the new assembler. I think this is for 2 >MS> reasons, multiple labels and not allowing _ in label names. Kevin >MS> posted a couple of patches which fix the break

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Kevin Falcone
> "MS" == Melvin Smith <[EMAIL PROTECTED]> writes: MS> FYI, Cola breaks with the new assembler. I think this is for 2 MS> reasons, multiple labels and not allowing _ in label names. Kevin MS> posted a couple of patches which fix the breakage, but I'm not MS> sure sticking noop in there is the

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Clinton A. Pierce
At 04:39 PM 6/1/2002 -0400, Melvin Smith wrote: >At 02:25 PM 6/1/2002 -0400, Clinton A. Pierce wrote: > >Looks great. Converted over with little sweat, noted below. > >Moving in the right direction. mandelbrot.cola -> mandel.pasm >[...] >Thats about 37% of the old assemble time. I noticed that t

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Melvin Smith
At 02:25 PM 6/1/2002 -0400, Clinton A. Pierce wrote: >Looks great. Converted over with little sweat, noted below. Moving in the right direction. mandelbrot.cola -> mandel.pasm Old assembler: time assemble.pl mandel.pasm > mandel.pbc | grep real real0m0.390s New assembler: time ./assembl

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Melvin Smith
At 12:39 AM 6/1/2002 -0400, Jeff wrote: >As noted, the new assembler is now in place. There isn't much Yay! FYI, Cola breaks with the new assembler. I think this is for 2 reasons, multiple labels and not allowing _ in label names. Kevin posted a couple of patches which fix the breakage, but I'm

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Clinton A. Pierce
>This should actually be: > >".constant PerlHash 6" > >Right? Someone's mailer is adding an extra .

Re: [COMMIT] New Assembler in place

2002-06-01 Thread Clinton A. Pierce
I'm in the process of converting BASIC over to use this new assembler... and have hit a few snags. I'm happy to patch, but don't know if this is the Right Thing or not. At 12:39 AM 6/1/2002 -0400, you wrote: >Support for keyed parameters now exists. I need to change the name of >the 'set_keyed

[COMMIT] New Assembler in place

2002-05-31 Thread Jeff
As noted, the new assembler is now in place. There isn't much resemblance to the old assembler, excepting the fact that they both (almost) read the same .pasm files. The new macro syntax is documented in assemble.pl and can be read with perldoc, but I'll summarize things later in the message. The