[Parrot-users] Hacking the interactive method of the HLL Compiler
Patrick R. Michaud
pmichaud at pobox.com
Wed Jul 6 21:47:00 UTC 2011
On Wed, Jul 06, 2011 at 05:31:57PM -0400, Jay Emerson wrote:
> I stole the method interactive PIR code from HLLCompiler.pir,
> verbatim; I wrapped it into NQP inside of Compiler.pm, shown below.
> When I try to build, I get the following error. Advice? The problem
> seems to be the line " $I0 = is_cclass .CCLASS_NEWLINE, $S1, 0
> "
1. What exactly are you wanting to change about the interactive method?
If you're just wanting to suppress autoprinting, that can be done
by overriding the autoprint method.
2. Chances are that you need to ".include 'cclass.pasm'" somewhere there,
so that IMCC will recognize the .CCLASS_NEWLINE constant.
Pm
More information about the Parrot-users
mailing list