Skip to content

Commit

Permalink
Wrap PAST::Compiler in NQP
Browse files Browse the repository at this point in the history
Most of the methods are single large Q:PIR blocks, although I had to
convert most of inline() because it would munge the '%r' and '%t'
string literals with registers.  This would seem to indicate that
inline needs to be smarter about replacing those literals, but we'll
get to that another day.
  • Loading branch information
Benabik committed Jun 3, 2011
1 parent ee78148 commit e305296
Show file tree
Hide file tree
Showing 3 changed files with 6,922 additions and 2,437 deletions.
2 changes: 2 additions & 0 deletions compilers/pct/Rules.mak
Expand Up @@ -95,6 +95,8 @@ bootstrap-pct: $(NQP_RX)
$(NQP_RX) --target=pir -o compilers/pct/src/POST/Sub.pir compilers/pct/src/POST/Sub.pm
$(NQP_RX) --target=pir -o compilers/pct/src/POST/Value.pir compilers/pct/src/POST/Value.pm

$(NQP_RX) --target=pir -o compilers/pct/src/PAST/Compiler.pir compilers/pct/src/PAST/Compiler.pm

$(NQP_RX) --target=pir -o compilers/pct/src/PAST/Block.pir compilers/pct/src/PAST/Block.pm
$(NQP_RX) --target=pir -o compilers/pct/src/PAST/Control.pir compilers/pct/src/PAST/Control.pm
$(NQP_RX) --target=pir -o compilers/pct/src/PAST/Node.pir compilers/pct/src/PAST/Node.pm
Expand Down

0 comments on commit e305296

Please sign in to comment.