Ticket #1319 (closed todo: fixed)

Opened 12 years ago

Last modified 11 years ago

Convert Squaak to nqp-rx

Reported by: fperrad Owned by: fperrad
Priority: normal Milestone:
Component: language Version: 1.8.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: all

Description

The language Squaak (in examples/languages/squaak) must be converted with nqp-rx.

- step1 : actions.pm which currently uses nqp - step2 : grammar.pg which currently uses PGE

Attachments

makefile_step1.patch Download (1.0 KB) - added by fperrad 12 years ago.

Change History

Changed 12 years ago by fperrad

Changed 12 years ago by fperrad

with makefile_step1.patch, the build seems OK

> perl Configure.pl
Creating Makefile

> make
C:\fperrad\Parrot\trunk\parrot.exe  C:\fperrad\Parrot\trunk\runtime\parrot\library\PGE\Perl6Grammar.pbc \
            --output=src\gen_grammar.pir \
            src\parser\grammar.pg
C:\fperrad\Parrot\trunk\parrot-nqp.exe --output=src\gen_actions.pir \
            --target=pir src\parser\actions.pm
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cat src\builtins\say.pir > src\gen_builtins.pir
C:\fperrad\Parrot\trunk\parrot.exe  -o squaak.pbc squaak.pir

but test fails

> parrot squaak.pbc t\00-sanity.t
Method 'item' not found for invocant of class 'Squaak;Grammar'
current instr.: 'parrot;Squaak;Grammar;Actions;primary' pc 33823 (src/gen_actions.pir:1537)
called from Sub 'parrot;Squaak;Grammar;primary' pc 18949 (src/gen_grammar.pir:6916)
called from Sub 'parrot;Squaak;Grammar;sub_call' pc 16907 (src/gen_grammar.pir:6155)
called from Sub 'parrot;Squaak;Grammar;statement' pc 4369 (src/gen_grammar.pir:1476)
called from Sub 'parrot;Squaak;Grammar;stat_or_def' pc 1713 (src/gen_grammar.pir:512)
called from Sub 'parrot;Squaak;Grammar;TOP' pc 784 (src/gen_grammar.pir:161)
called from Sub 'parrot;PCT;HLLCompiler;parse' pc 709 (src\PCT\HLLCompiler.pir:425)
called from Sub 'parrot;PCT;HLLCompiler;compile' pc 424 (src\PCT\HLLCompiler.pir:303)
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 963 (src\PCT\HLLCompiler.pir:544)
called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1324 (src\PCT\HLLCompiler.pir:716)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1517 (src\PCT\HLLCompiler.pir:817)
called from Sub 'parrot;Squaak;Compiler;main' pc 76 (squaak.pir:56)

Changed 12 years ago by chromatic

  • milestone changed from 2.0 to 2.1

Changed 12 years ago by bacek

  • owner set to bacek

Changed 12 years ago by bacek

  • owner changed from bacek to fperrad

Squaak builds and pass tests at r45979. Reassign back to fperrad to close ticket if it's good enough.

Changed 12 years ago by fperrad

  • milestone 2.2 deleted

step1 done

Changed 11 years ago by coke

  • status changed from new to closed
  • resolution set to fixed

This appears to be completed. Eliminated comment that referred to PGE (but nothing else in that directory does.)

Note: See TracTickets for help on using tickets.