-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0af02bd
commit da8cf37
Showing
13 changed files
with
200 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::BINOP; | ||
|
||
# ABSTRACT: A Binary Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::UNOP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::COP; | ||
|
||
# ABSTRACT: A State Operation (Control OP). | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::OP ); | ||
use Class::Tiny; | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::LISTOP; | ||
|
||
# ABSTRACT: A List Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::BINOP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::LOOP; | ||
|
||
# ABSTRACT: A Loop Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::LISTOP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::METHOP; | ||
|
||
# ABSTRACT: A Method Call Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::OP ); | ||
use Class::Tiny; | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::OP; | ||
|
||
# ABSTRACT: An Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use Class::Tiny; | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::PADOP; | ||
|
||
# ABSTRACT: An Operation with a reference to a PAD element. | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::OP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
||
=head1 DESCRIPTION | ||
This OP is only available in Perls compiled with ithreads. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::PMOP; | ||
|
||
# ABSTRACT: A Regexp (Pattern Matching) Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::LISTOP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::PVOP; | ||
|
||
# ABSTRACT: An Operator with an embedded C Pointer | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::OP ); | ||
use Class::Tiny; | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::SVOP; | ||
|
||
# ABSTRACT: An Operation with a static embedded SV. | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::OP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
||
=head1 EXAMPLES | ||
print "Hello World" | ||
# <$> const(PV "Hello World") s # SVOP, op = OP_CONST, embedded SV = "Hello World" | ||
# <@> print vK # LISTOP, op = OP_PRINT | ||
sub { 42 }->() | ||
# <$> anoncode[CV ] sRM # SVOP, op = OP_ANONCODE, embedded SV is CV = Your code block | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use 5.006; | ||
use strict; | ||
use warnings; | ||
|
||
package Acme::Flat::UNOP; | ||
|
||
# ABSTRACT: A Unary Operation | ||
|
||
our $VERSION = '0.001000'; | ||
|
||
# AUTHORITY | ||
|
||
use parent qw( Acme::Flat::OP ); | ||
use Class::Tiny; | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters