Browse files

Here starteth the NQP setting.

  • Loading branch information...
1 parent 7e847fe commit 2f806d3bea542856377e09cb6d86168c0cfdae9d @jnthn committed Aug 17, 2010
Showing with 26 additions and 0 deletions.
  1. +26 −0 common/NQP/NQPSetting.pm
View
26 common/NQP/NQPSetting.pm
@@ -0,0 +1,26 @@
+knowhow NQPInt is repr('P6int') {
+ method new() {
+ nqp::instance_of(self.WHAT);
+ }
+ method Int() {
+ self
+ }
+}
+
+knowhow NQPStr is repr('P6str') {
+ method new() {
+ nqp::instance_of(self.WHAT);
+ }
+ method Str() {
+ self
+ }
+}
+
+knowhow NQPNum is repr('P6num') {
+ method new() {
+ nqp::instance_of(self.WHAT);
+ }
+ method Num() {
+ self
+ }
+}

0 comments on commit 2f806d3

Please sign in to comment.