| 1 | package Acme::MetaSyntactic::opcodes; | ||
| 2 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use Acme::MetaSyntactic::List; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | our @ISA = qw( Acme::MetaSyntactic::List ); | |
| 5 | 2 | our $VERSION = '1.000'; | |
| 6 | |||
| 7 | # get the list from the current perl | ||
| 8 | 2 | ▶ | use Opcode qw( opset_to_ops full_opset ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | __PACKAGE__->init( | ||
| 10 | 2 | { names => join( " ", map { uc "OP_$_" } opset_to_ops(full_opset) ) } ); | |
| 11 | |||
| 12 | 2 | 1; | |
| 13 | |||
| 14 | __END__ | ||