Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Perlito version 8.0

  • Loading branch information...
commit 8f67bea40e91a766f85da0f2165d82283a039171 1 parent 047d0a3
Flavio S. Glock authored
Showing with 857 additions and 830 deletions.
  1. +15 −4 ChangeLog
  2. +20 −98 README
  3. +123 −0 README-perlito6
  4. +32 −0 TODO-perlito5
  5. +10 −12 TODO → TODO-perlito6
  6. +1 −1  hello.sh
  7. +2 −2 html/perlito5.js
  8. +2 −2 html/{perlito-pt-BR.html → perlito6-pt-BR.html}
  9. +1 −1  html/{perlito.html → perlito6.html}
  10. +398 −458 html/{perlito.js → perlito6.js}
  11. +1 −1  lib5/Perlito/AST.pm
  12. +1 −1  lib5/Perlito/Clojure/Emitter.pm
  13. +1 −1  lib5/Perlito/Emitter/Token.pm
  14. +1 −1  lib5/Perlito/Eval.pm
  15. +1 −1  lib5/Perlito/Expression.pm
  16. +1 −1  lib5/Perlito/Go/Emitter.pm
  17. +1 −1  lib5/Perlito/Go/Prelude.pm
  18. +1 −1  lib5/Perlito/Grammar.pm
  19. +1 −1  lib5/Perlito/Grammar/Control.pm
  20. +1 −1  lib5/Perlito/Grammar/Regex.pm
  21. +1 −1  lib5/Perlito/Java/Emitter.pm
  22. +1 −1  lib5/Perlito/Javascript/Emitter.pm
  23. +1 −1  lib5/Perlito/Javascript/Prelude.pm
  24. +1 −1  lib5/Perlito/Javascript/Runtime.js
  25. +1 −1  lib5/Perlito/Lisp/Emitter.pm
  26. +1 −1  lib5/Perlito/Lisp/Prelude.pm
  27. +1 −1  lib5/Perlito/Macro.pm
  28. +1 −1  lib5/Perlito/Parrot/Emitter.pm
  29. +1 −1  lib5/Perlito/Parrot/Match.pm
  30. +1 −1  lib5/Perlito/Perl5/Emitter.pm
  31. +1 −1  lib5/Perlito/Perl5/Prelude.pm
  32. +1 −1  lib5/Perlito/Precedence.pm
  33. +1 −1  lib5/Perlito/Python/Emitter.pm
  34. +1 −1  lib5/Perlito/Rakudo/Emitter.pm
  35. +1 −1  lib5/Perlito/Ruby/Emitter.pm
  36. +1 −1  lib5/Perlito/Runtime.pm
  37. +1 −1  lib5/Perlito/Test.pm
  38. +1 −1  lib5/Perlito5/AST.pm
  39. +1 −1  lib5/Perlito5/Emitter/Token.pm
  40. +1 −1  lib5/Perlito5/Eval.pm
  41. +1 −1  lib5/Perlito5/Expression.pm
  42. +1 −1  lib5/Perlito5/Grammar.pm
  43. +1 −1  lib5/Perlito5/Grammar/Control.pm
  44. +1 −1  lib5/Perlito5/Grammar/Regex.pm
  45. +1 −1  lib5/Perlito5/Javascript/Emitter.pm
  46. +1 −1  lib5/Perlito5/Javascript/Prelude.pm
  47. +1 −1  lib5/Perlito5/Javascript/Runtime.js
  48. +1 −1  lib5/Perlito5/Macro.pm
  49. +1 −1  lib5/Perlito5/Perl5/Emitter.pm
  50. +1 −1  lib5/Perlito5/Perl5/Prelude.pm
  51. +1 −1  lib5/Perlito5/Precedence.pm
  52. +1 −1  lib5/Perlito5/Runtime.pm
  53. +1 −1  lib5/Perlito5/Test.pm
  54. +2 −2 perlito5.pl
  55. +3 −3 perlito.pl → perlito6.pl
  56. +1 −1  src5/lib/Perlito5/Javascript/Runtime.js
  57. +1 −1  src5/util/perlito5.pl
  58. 0  {src → src6}/lib/Perlito/AST.pm
  59. 0  {src → src6}/lib/Perlito/Clojure/Emitter.pm
  60. 0  {src → src6}/lib/Perlito/Emitter/Token.pm
  61. 0  {src → src6}/lib/Perlito/Eval.pm
  62. 0  {src → src6}/lib/Perlito/Expression.pm
  63. 0  {src → src6}/lib/Perlito/Go/Emitter.pm
  64. 0  {src → src6}/lib/Perlito/Go/Prelude.pm
  65. 0  {src → src6}/lib/Perlito/Go/Runtime.go
  66. 0  {src → src6}/lib/Perlito/Grammar.pm
  67. 0  {src → src6}/lib/Perlito/Grammar/Control.pm
  68. 0  {src → src6}/lib/Perlito/Grammar/Regex.pm
  69. 0  {src → src6}/lib/Perlito/Java/Emitter.pm
  70. 0  {src → src6}/lib/Perlito/Java/Runtime.java
  71. 0  {src → src6}/lib/Perlito/Javascript/Emitter.pm
  72. 0  {src → src6}/lib/Perlito/Javascript/Prelude.pm
  73. +1 −1  {src → src6}/lib/Perlito/Javascript/Runtime.js
  74. 0  {src → src6}/lib/Perlito/Lisp/Emitter.pm
  75. 0  {src → src6}/lib/Perlito/Lisp/Prelude.pm
  76. 0  {src → src6}/lib/Perlito/Lisp/Runtime.lisp
  77. 0  {src → src6}/lib/Perlito/Macro.pm
  78. 0  {src → src6}/lib/Perlito/Parrot/Emitter.pm
  79. 0  {src → src6}/lib/Perlito/Parrot/Match.pm
  80. 0  {src → src6}/lib/Perlito/Perl5/Emitter.pm
  81. 0  {src → src6}/lib/Perlito/Perl5/Prelude.pm
  82. 0  {src → src6}/lib/Perlito/Perl5/Runtime.pm
  83. 0  {src → src6}/lib/Perlito/Precedence.pm
  84. 0  {src → src6}/lib/Perlito/Python/Emitter.pm
  85. 0  {src → src6}/lib/Perlito/Python/Prelude.pm
  86. 0  {src → src6}/lib/Perlito/Python/Runtime.py
  87. 0  {src → src6}/lib/Perlito/Rakudo/Emitter.pm
  88. 0  {src → src6}/lib/Perlito/Ruby/Emitter.pm
  89. 0  {src → src6}/lib/Perlito/Ruby/Prelude.pm
  90. 0  {src → src6}/lib/Perlito/Ruby/Runtime.rb
  91. 0  {src → src6}/lib/Perlito/Runtime.pm
  92. 0  {src → src6}/lib/Perlito/Test.pm
  93. 0  src/util/perlito-browser.pl → src6/util/perlito6-browser.pl
  94. +4 −4 src/util/perlito.pl → src6/util/perlito6.pl
  95. +0 −7 util-js/make-perlito-js.sh
  96. +7 −0 util-js/make-perlito6-js.sh
  97. +1 −1  util-parrot/hello-parrot.sh
  98. +0 −77 util-perl5/bootstrap-perl5.sh
  99. +77 −0 util-perl5/bootstrap-perlito6-perl5.sh
  100. +34 −0 util-python/build-perlito6-python.sh
  101. +0 −34 util-python/build-python.sh
  102. +40 −0 util-ruby/bootstrap-perlito6-ruby.sh
  103. +0 −40 util-ruby/bootstrap-ruby.sh
  104. +31 −0 util-ruby/build-perlito6-ruby.sh
  105. +0 −31 util-ruby/build-ruby.sh
  106. +1 −1  v6.pm/ChangeLog
  107. +2 −1  v6.pm/MANIFEST
  108. +1 −1  v6.pm/Makefile.PL
  109. +3 −3 v6.pm/make-v6.sh
  110. +1 −1  v6.pm/perlito.pm
19 ChangeLog
View
@@ -1,17 +1,28 @@
-dev 2011-11-10
+8.0 2011-12-24
+- added new compiler for Perl version 5.
+
+Perlito Perl 5:
+- command line "perlito5.pl"
+- supported backends: Perl 5, Javascript
+- source code in src5/ directory
+
+Perlito Perl 6:
+- command line renamed to "perlito6.pl"
+- supported backends: Perl 5, Python 2.6, Javascript
- new experimental backend: Java
- fixed META.yml for "v6.pm" CPAN distribution (thanks Aevar)
- fixed unicode IO, added unicode tests
- add some formatting to Perl5 and Javascript output
- methods: map, grep
- operators: x
-- source code moved to src/ directory
+- source code moved to src6/ directory
Regressions:
- removed '-B' command line flag (since 7.0)
-- backends pending upgrade to the new AST: Go, Common Lisp, Ruby 1.9, Eval (since 7.0)
-- backends not supported in this version: Parrot, Rakudo, Clojure (since 7.0)
+- backends pending upgrade to the new AST: Common Lisp, Ruby 1.9, Eval
+- backends no longer supported in this version: Go, Parrot, Rakudo, Clojure
+
7.0 2011-04-20
- supported backends: Perl 5, Python 2.6, Javascript
118 README
View
@@ -1,15 +1,20 @@
-"Perlito" Perl 6 compiler
+"Perlito" Perl compiler
- This is Perlito, a compiler that implements a subset of Perl 6.
+ This is Perlito, a compiler collection that implements a subset of Perl 5 and Perl 6.
Backends
- Perlito can compile Perl 6 programs into one of the 'backend'
+ Perlito5 can compile Perl 5 programs into one of the 'backend'
+ languages:
+
+ Perl 5, Javascript
+
+ Perlito6 can compile Perl 6 programs into one of the 'backend'
languages:
Perl 5, Javascript, Python 2.6
- Previous versions of Perlito also compile to: Go, Common Lisp, and Ruby 1.9
+ Previous versions of Perlito6 also compile to: Go, Common Lisp, and Ruby 1.9
Web
@@ -17,107 +22,24 @@ Web
Main Project web page: http://www.perlito.org
- Run Perlito online, in the browser: http://perlcabal.org/~fglock/perlito.html
-
-Source code
-
- The source code for Perlito can be found in the 'src' directory.
- Perlito is written in Perl 6.
-
-USING PERLITO
-
-Using the Javascript backend in the browser
-
- Open the file 'html/perlito.html' in a browser (Firefox, Chrome, Safari).
-
- Alternately, browse to:
-
- http://perlcabal.org/~fglock/perlito.html
-
-Using the Javascript backend in the command line
-
- export PERL5LIB=lib5
- perl perlito.pl -Cjs -e 'class Main { say "hello, World!" }' > tmp.js
- d8 tmp.js
-
- Creating a bootstrapped compiler:
-
- # compile src/util/perlito.pl to Javascript, using perlito.pl:
- export PERL5LIB=lib5
- perl perlito.pl -Cjs src/util/perlito.pl > perlito.js
-
- # testing the bootstrap with the v8 developer shell
- d8 perlito.js -- -Cjs src/util/perlito.pl > perlito-new.js
-
-Using the Perl 5 backend
-
- From CPAN:
-
- Perlito is available at http://search.cpan.org/dist/v6/lib/v6.pm
-
- Installation:
+ Run Perlito online, in the browser:
- cpan v6
+ http://perlcabal.org/~fglock/perlito5.html
- From the Perlito git project directory:
+ http://perlcabal.org/~fglock/perlito6.html
- export PERL5LIB=lib5
- perl perlito.pl -Cperl5 -e 'class Main { say "hello, World!" }' | perl
-
- Creating the bootstrapped compiler:
-
- # compile src/util/perlito.pl using perlito.pl:
- export PERL5LIB=lib5
- perl perlito.pl -Cperl5 src/util/perlito.pl > perlito-perl5.pl
-
-Using the Python backend
-
- # initialize "./libpy" and compile "perlito.py"
- . util-python/build-python.sh
-
- # using the perlito.py compiler
- export PYTHONPATH=libpy
- python perlito.py -Cpython -e 'class Main { say "hello, World!" }' | python
-
-Using the Ruby backend
-
- export RUBYLIB=src/lib
-
-PRODUCING AST OUTPUT
-
- perl perlito.pl -Cast-perl6 -e 'class Main { say "hello, World!" }'
-
-RUNNING TESTS
-
- Perl 5:
-
- find t/*.t | perl -ne ' print "*** $_"; chomp; print ` perl perlito.pl -Cperl5 $_ | perl ` '
-
- Javascript:
-
- find t/*.t | perl -ne ' print "*** $_"; chomp; print ` d8 perlito.js -- -Cjs $_ > tmp.js && d8 tmp.js ` '
-
- Python 2.6:
-
- find t/*.t | perl -ne ' print "*** $_"; chomp; print ` python perlito.py -Cpython $_ | python ` '
+Source code
-AUTHORS
+ The source code for Perlito5 can be found in the 'src5' directory.
+ Perlito5 is written mostly in Perl 5. It currently contains some Perl6 extensions,
+ but these are being cleaned up.
-Flavio Soibelmann Glock - fglock@gmail.com
-The Pugs Team - perl6-compiler@perl.org
+ The source code for Perlito6 can be found in the 'src6' directory.
+ Perlito6 is written in Perl 6.
SEE ALSO
-The Perl 6 homepage at http://dev.perl.org/perl6
-The Pugs homepage at http://pugscode.org
-The Perlito homepage at http://perlito.org
-
-COPYRIGHT
-
-Copyright 2006, 2009, 2010, 2011 by Flavio Soibelmann Glock, Audrey Tang and others.
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
+ README-perlito6
-See http://www.perl.com/perl/misc/Artistic.html
+ README-perlito5
123 README-perlito6
View
@@ -0,0 +1,123 @@
+"Perlito" Perl 6 compiler
+
+ This is Perlito, a compiler that implements a subset of Perl 6.
+
+Backends
+
+ Perlito can compile Perl 6 programs into one of the 'backend'
+ languages:
+
+ Perl 5, Javascript, Python 2.6
+
+ Previous versions of Perlito also compile to: Go, Common Lisp, and Ruby 1.9
+
+Web
+
+ Main Perlito repository: http://github.com/fglock/Perlito
+
+ Main Project web page: http://www.perlito.org
+
+ Run Perlito online, in the browser: http://perlcabal.org/~fglock/perlito6.html
+
+Source code
+
+ The source code for Perlito can be found in the 'src' directory.
+ Perlito is written in Perl 6.
+
+USING PERLITO
+
+Using the Javascript backend in the browser
+
+ Open the file 'html/perlito6.html' in a browser (Firefox, Chrome, Safari).
+
+ Alternately, browse to:
+
+ http://perlcabal.org/~fglock/perlito6.html
+
+Using the Javascript backend in the command line
+
+ export PERL5LIB=lib5
+ perl perlito6.pl -Cjs -e 'class Main { say "hello, World!" }' > tmp.js
+ d8 tmp.js
+
+ Creating a bootstrapped compiler:
+
+ # compile src6/util/perlito6.pl to Javascript, using perlito6.pl:
+ export PERL5LIB=lib5
+ perl perlito6.pl -Cjs src6/util/perlito6.pl > perlito6.js
+
+ # testing the bootstrap with the v8 developer shell
+ d8 perlito6.js -- -Cjs src6/util/perlito6.pl > perlito-new.js
+
+Using the Perl 5 backend
+
+ From CPAN:
+
+ Perlito is available at http://search.cpan.org/dist/v6/lib/v6.pm
+
+ Installation:
+
+ cpan v6
+
+ From the Perlito git project directory:
+
+ export PERL5LIB=lib5
+ perl perlito6.pl -Cperl5 -e 'class Main { say "hello, World!" }' | perl
+
+ Creating the bootstrapped compiler:
+
+ # compile src6/util/perlito6.pl using perlito6.pl:
+ export PERL5LIB=lib5
+ perl perlito6.pl -Cperl5 src6/util/perlito6.pl > perlito-perl5.pl
+
+Using the Python backend
+
+ # initialize "./libpy" and compile "perlito6.py"
+ . util-python/build-perlito6-python.sh
+
+ # using the perlito6.py compiler
+ export PYTHONPATH=libpy
+ python perlito6.py -Cpython -e 'class Main { say "hello, World!" }' | python
+
+Using the Ruby backend
+
+ export RUBYLIB=src6/lib
+
+PRODUCING AST OUTPUT
+
+ perl perlito6.pl -Cast-perl6 -e 'class Main { say "hello, World!" }'
+
+RUNNING TESTS
+
+ Perl 5:
+
+ find t/*.t | perl -ne ' print "*** $_"; chomp; print ` perl perlito6.pl -Cperl5 $_ | perl ` '
+
+ Javascript:
+
+ find t/*.t | perl -ne ' print "*** $_"; chomp; print ` d8 perlito6.js -- -Cjs $_ > tmp.js && d8 tmp.js ` '
+
+ Python 2.6:
+
+ find t/*.t | perl -ne ' print "*** $_"; chomp; print ` python perlito6.py -Cpython $_ | python ` '
+
+AUTHORS
+
+Flavio Soibelmann Glock - fglock@gmail.com
+The Pugs Team - perl6-compiler@perl.org
+
+SEE ALSO
+
+The Perl 6 homepage at http://dev.perl.org/perl6
+The Pugs homepage at http://pugscode.org
+The Perlito homepage at http://perlito.org
+
+COPYRIGHT
+
+Copyright 2006, 2009, 2010, 2011 by Flavio Soibelmann Glock, Audrey Tang and others.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+See http://www.perl.com/perl/misc/Artistic.html
+
32 TODO-perlito5
View
@@ -0,0 +1,32 @@
+TODO list for Perlito5
+
+* source code
+
+-- remove Perl6 code: "class", "has", "token", hyper operator, .push, .shift, .print
+
+-- add "map", "grep", "sort"
+
+-- add regexes
+
+
+* libraries
+
+-- Data::Dumper
+
+
+* Perl5 backend
+
+* Javascript backend
+
+-- bug: packages currently create lexical blocks
+
+-- bug: "my" variables are block-wide; this doesn't work as expected: my $v = $v
+
+-- bug: variable aliases create copies instead
+
+* Python backend
+
+* Ruby backend
+
+* Java backend
+
22 TODO → TODO-perlito6
View
@@ -1,4 +1,4 @@
-TODO list for Perlito
+TODO list for Perlito6
CPAN distribution
@@ -10,9 +10,7 @@ Eval.pm module
- complete ast nodes implementation
-Command line compiler (util/perlito.pl)
-
-- migrate all bootstrap scripts to use util/perlito.pl - FIXED
+Command line compiler (src6/util/perlito6.pl)
- build Ast cache using JSON (we currently use Perl5 Data::Dumper) or XML (Go has XML and JSON input)
@@ -24,33 +22,33 @@ Command line compiler (util/perlito.pl)
- add '-B' option (execute)
-Perlito in Rakudo
+Perlito6 in Rakudo
-- Rakudo should be able to execute Perlito directly. What do we need to fix in both sides?
+- Rakudo should be able to execute Perlito6 directly. What do we need to fix in both sides?
-Perlito in Lisp
+Perlito6 in Lisp
- test other Lisp implementations
-Perlito in Go
+Perlito6 in Go
- document which release of Go to use
-Perlito in Perl5
+Perlito6 in Perl5
(no issues at the moment)
-Perlito in Parrot
+Perlito6 in Parrot
- finish OO, class variables
- fix die() parameter handling
-Perlito in Python
+Perlito6 in Python
- module loading uses mangled filenames (with underlines); it should use dot-separated names instead.
-Perlito in Ruby
+Perlito6 in Ruby
- module loading uses mangled filenames (with underlines); it should use dot-separated names instead.
2  hello.sh
View
@@ -1 +1 @@
-perl -Ilib5 perlito.pl -Bperl5 -e 'class Main { say "hello, World" }' | perl -Ilib5
+perl -Ilib5 perlito6.pl -Bperl5 -e 'class Main { say "hello, World" }' | perl -Ilib5
4 html/perlito5.js
View
@@ -1,5 +1,5 @@
-// Do not edit this file - Generated by Perlito5 7.0
-// Do not edit this file - Generated by Perlito 7.0
+// Do not edit this file - Generated by Perlito5 8.0
+// Do not edit this file - Generated by Perlito 8.0
// lib/Perlito/Javascript/Runtime.js
//
// Runtime for "Perlito" Perlito-in-Javascript
4 html/perlito-pt-BR.html → html/perlito6-pt-BR.html
View
@@ -6,7 +6,7 @@
</head>
<body>
<h1>Perlito Perl 6</h1>
- <script type="text/javascript" src="perlito.js"></script>
+ <script type="text/javascript" src="perlito6.js"></script>
<script>
function print(s) {
document.getElementById(vout).value += s + "\n";
@@ -184,7 +184,7 @@
<p>v6.pm "Perl6 em Perl5" disponível no CPAN: <a href="http://search.cpan.org/dist/v6">http://search.cpan.org/dist/v6</a></p>
-<p>Perlito em Javascript: disponível em <a href="http://perlcabal.org/~fglock/perlito.js">http://perlcabal.org/~fglock/perlito.js</a>. Esta é a versão utilizada nos exemplos deste artigo.</p>
+<p>Perlito em Javascript: disponível em <a href="http://perlcabal.org/~fglock/perlito6.js">http://perlcabal.org/~fglock/perlito6.js</a>. Esta é a versão utilizada nos exemplos deste artigo.</p>
<h2>Autor</h2>
2  html/perlito.html → html/perlito6.html
View
@@ -5,7 +5,7 @@
</head>
<body>
<h1>"Perlito" Perl 6 Compiler</h1>
- <script type="text/javascript" src="perlito.js"></script>
+ <script type="text/javascript" src="perlito6.js"></script>
<p>Source program:</p>
<textarea id="source" cols="70" rows="10">
856 html/perlito.js → html/perlito6.js 100755 → 100644
View
@@ -1,5 +1,5 @@
-// Do not edit this file - Generated by Perlito 7.0
-// Do not edit this file - Generated by Perlito 7.0
+// Do not edit this file - Generated by Perlito 8.0
+// Do not edit this file - Generated by Perlito 8.0
// lib/Perlito/Javascript/Runtime.js
//
// Runtime for "Perlito" Perlito-in-Javascript
@@ -655,6 +655,385 @@ if (typeof Main !== 'object') {
Main.lisp_dump_object; // v8 bug workaround
})()
; // use v6
+; // use v6
+;// class CompUnit
+if (typeof CompUnit !== 'object') {
+ CompUnit = function() {};
+ CompUnit = new CompUnit;
+ CompUnit.isa = function (s) { return s == 'CompUnit'; };
+ CompUnit.perl = function () { return 'CompUnit.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = CompUnit;
+ // accessor name
+ CompUnit.v_name = null;
+ CompUnit.name = function () { return this.v_name; };
+ // accessor body
+ CompUnit.v_body = null;
+ CompUnit.body = function () { return this.v_body; };
+})()
+;// class Val::Int
+if (typeof Val$Int !== 'object') {
+ Val$Int = function() {};
+ Val$Int = new Val$Int;
+ Val$Int.isa = function (s) { return s == 'Val::Int'; };
+ Val$Int.perl = function () { return 'Val::Int.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Val$Int;
+ // accessor int
+ Val$Int.v_int = null;
+ Val$Int.int = function () { return this.v_int; };
+})()
+;// class Val::Bit
+if (typeof Val$Bit !== 'object') {
+ Val$Bit = function() {};
+ Val$Bit = new Val$Bit;
+ Val$Bit.isa = function (s) { return s == 'Val::Bit'; };
+ Val$Bit.perl = function () { return 'Val::Bit.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Val$Bit;
+ // accessor bit
+ Val$Bit.v_bit = null;
+ Val$Bit.bit = function () { return this.v_bit; };
+})()
+;// class Val::Num
+if (typeof Val$Num !== 'object') {
+ Val$Num = function() {};
+ Val$Num = new Val$Num;
+ Val$Num.isa = function (s) { return s == 'Val::Num'; };
+ Val$Num.perl = function () { return 'Val::Num.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Val$Num;
+ // accessor num
+ Val$Num.v_num = null;
+ Val$Num.num = function () { return this.v_num; };
+})()
+;// class Val::Buf
+if (typeof Val$Buf !== 'object') {
+ Val$Buf = function() {};
+ Val$Buf = new Val$Buf;
+ Val$Buf.isa = function (s) { return s == 'Val::Buf'; };
+ Val$Buf.perl = function () { return 'Val::Buf.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Val$Buf;
+ // accessor buf
+ Val$Buf.v_buf = null;
+ Val$Buf.buf = function () { return this.v_buf; };
+})()
+;// class Lit::Block
+if (typeof Lit$Block !== 'object') {
+ Lit$Block = function() {};
+ Lit$Block = new Lit$Block;
+ Lit$Block.isa = function (s) { return s == 'Lit::Block'; };
+ Lit$Block.perl = function () { return 'Lit::Block.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Lit$Block;
+ // accessor sig
+ Lit$Block.v_sig = null;
+ Lit$Block.sig = function () { return this.v_sig; };
+ // accessor stmts
+ Lit$Block.v_stmts = null;
+ Lit$Block.stmts = function () { return this.v_stmts; };
+})()
+;// class Lit::Array
+if (typeof Lit$Array !== 'object') {
+ Lit$Array = function() {};
+ Lit$Array = new Lit$Array;
+ Lit$Array.isa = function (s) { return s == 'Lit::Array'; };
+ Lit$Array.perl = function () { return 'Lit::Array.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Lit$Array;
+ // accessor array1
+ Lit$Array.v_array1 = null;
+ Lit$Array.array1 = function () { return this.v_array1; };
+})()
+;// class Lit::Hash
+if (typeof Lit$Hash !== 'object') {
+ Lit$Hash = function() {};
+ Lit$Hash = new Lit$Hash;
+ Lit$Hash.isa = function (s) { return s == 'Lit::Hash'; };
+ Lit$Hash.perl = function () { return 'Lit::Hash.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Lit$Hash;
+ // accessor hash1
+ Lit$Hash.v_hash1 = null;
+ Lit$Hash.hash1 = function () { return this.v_hash1; };
+})()
+;// class Index
+if (typeof Index !== 'object') {
+ Index = function() {};
+ Index = new Index;
+ Index.isa = function (s) { return s == 'Index'; };
+ Index.perl = function () { return 'Index.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Index;
+ // accessor obj
+ Index.v_obj = null;
+ Index.obj = function () { return this.v_obj; };
+ // accessor index_exp
+ Index.v_index_exp = null;
+ Index.index_exp = function () { return this.v_index_exp; };
+})()
+;// class Lookup
+if (typeof Lookup !== 'object') {
+ Lookup = function() {};
+ Lookup = new Lookup;
+ Lookup.isa = function (s) { return s == 'Lookup'; };
+ Lookup.perl = function () { return 'Lookup.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Lookup;
+ // accessor obj
+ Lookup.v_obj = null;
+ Lookup.obj = function () { return this.v_obj; };
+ // accessor index_exp
+ Lookup.v_index_exp = null;
+ Lookup.index_exp = function () { return this.v_index_exp; };
+})()
+;// class Var
+if (typeof Var !== 'object') {
+ Var = function() {};
+ Var = new Var;
+ Var.isa = function (s) { return s == 'Var'; };
+ Var.perl = function () { return 'Var.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Var;
+ // accessor sigil
+ Var.v_sigil = null;
+ Var.sigil = function () { return this.v_sigil; };
+ // accessor twigil
+ Var.v_twigil = null;
+ Var.twigil = function () { return this.v_twigil; };
+ // accessor namespace
+ Var.v_namespace = null;
+ Var.namespace = function () { return this.v_namespace; };
+ // accessor name
+ Var.v_name = null;
+ Var.name = function () { return this.v_name; };
+})()
+;// class Proto
+if (typeof Proto !== 'object') {
+ Proto = function() {};
+ Proto = new Proto;
+ Proto.isa = function (s) { return s == 'Proto'; };
+ Proto.perl = function () { return 'Proto.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Proto;
+ // accessor name
+ Proto.v_name = null;
+ Proto.name = function () { return this.v_name; };
+})()
+;// class Call
+if (typeof Call !== 'object') {
+ Call = function() {};
+ Call = new Call;
+ Call.isa = function (s) { return s == 'Call'; };
+ Call.perl = function () { return 'Call.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Call;
+ // accessor invocant
+ Call.v_invocant = null;
+ Call.invocant = function () { return this.v_invocant; };
+ // accessor hyper
+ Call.v_hyper = null;
+ Call.hyper = function () { return this.v_hyper; };
+ // accessor method
+ Call.v_method = null;
+ Call.method = function () { return this.v_method; };
+ // accessor arguments
+ Call.v_arguments = null;
+ Call.arguments = function () { return this.v_arguments; };
+})()
+;// class Apply
+if (typeof Apply !== 'object') {
+ Apply = function() {};
+ Apply = new Apply;
+ Apply.isa = function (s) { return s == 'Apply'; };
+ Apply.perl = function () { return 'Apply.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Apply;
+ // accessor code
+ Apply.v_code = null;
+ Apply.code = function () { return this.v_code; };
+ // accessor arguments
+ Apply.v_arguments = null;
+ Apply.arguments = function () { return this.v_arguments; };
+ // accessor namespace
+ Apply.v_namespace = null;
+ Apply.namespace = function () { return this.v_namespace; };
+})()
+;// class If
+if (typeof If !== 'object') {
+ If = function() {};
+ If = new If;
+ If.isa = function (s) { return s == 'If'; };
+ If.perl = function () { return 'If.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = If;
+ // accessor cond
+ If.v_cond = null;
+ If.cond = function () { return this.v_cond; };
+ // accessor body
+ If.v_body = null;
+ If.body = function () { return this.v_body; };
+ // accessor otherwise
+ If.v_otherwise = null;
+ If.otherwise = function () { return this.v_otherwise; };
+})()
+;// class While
+if (typeof While !== 'object') {
+ While = function() {};
+ While = new While;
+ While.isa = function (s) { return s == 'While'; };
+ While.perl = function () { return 'While.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = While;
+ // accessor init
+ While.v_init = null;
+ While.init = function () { return this.v_init; };
+ // accessor cond
+ While.v_cond = null;
+ While.cond = function () { return this.v_cond; };
+ // accessor continue
+ While.v_continue = null;
+ While.continue = function () { return this.v_continue; };
+ // accessor body
+ While.v_body = null;
+ While.body = function () { return this.v_body; };
+})()
+;// class For
+if (typeof For !== 'object') {
+ For = function() {};
+ For = new For;
+ For.isa = function (s) { return s == 'For'; };
+ For.perl = function () { return 'For.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = For;
+ // accessor cond
+ For.v_cond = null;
+ For.cond = function () { return this.v_cond; };
+ // accessor body
+ For.v_body = null;
+ For.body = function () { return this.v_body; };
+})()
+;// class Decl
+if (typeof Decl !== 'object') {
+ Decl = function() {};
+ Decl = new Decl;
+ Decl.isa = function (s) { return s == 'Decl'; };
+ Decl.perl = function () { return 'Decl.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Decl;
+ // accessor decl
+ Decl.v_decl = null;
+ Decl.decl = function () { return this.v_decl; };
+ // accessor type
+ Decl.v_type = null;
+ Decl.type = function () { return this.v_type; };
+ // accessor var
+ Decl.v_var = null;
+ Decl.var = function () { return this.v_var; };
+})()
+;// class Sig
+if (typeof Sig !== 'object') {
+ Sig = function() {};
+ Sig = new Sig;
+ Sig.isa = function (s) { return s == 'Sig'; };
+ Sig.perl = function () { return 'Sig.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Sig;
+ // accessor invocant
+ Sig.v_invocant = null;
+ Sig.invocant = function () { return this.v_invocant; };
+ // accessor positional
+ Sig.v_positional = null;
+ Sig.positional = function () { return this.v_positional; };
+ // accessor named
+ Sig.v_named = null;
+ Sig.named = function () { return this.v_named; };
+})()
+;// class Method
+if (typeof Method !== 'object') {
+ Method = function() {};
+ Method = new Method;
+ Method.isa = function (s) { return s == 'Method'; };
+ Method.perl = function () { return 'Method.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Method;
+ // accessor name
+ Method.v_name = null;
+ Method.name = function () { return this.v_name; };
+ // accessor sig
+ Method.v_sig = null;
+ Method.sig = function () { return this.v_sig; };
+ // accessor block
+ Method.v_block = null;
+ Method.block = function () { return this.v_block; };
+})()
+;// class Sub
+if (typeof Sub !== 'object') {
+ Sub = function() {};
+ Sub = new Sub;
+ Sub.isa = function (s) { return s == 'Sub'; };
+ Sub.perl = function () { return 'Sub.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Sub;
+ // accessor name
+ Sub.v_name = null;
+ Sub.name = function () { return this.v_name; };
+ // accessor sig
+ Sub.v_sig = null;
+ Sub.sig = function () { return this.v_sig; };
+ // accessor block
+ Sub.v_block = null;
+ Sub.block = function () { return this.v_block; };
+})()
+;// class Do
+if (typeof Do !== 'object') {
+ Do = function() {};
+ Do = new Do;
+ Do.isa = function (s) { return s == 'Do'; };
+ Do.perl = function () { return 'Do.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Do;
+ // accessor block
+ Do.v_block = null;
+ Do.block = function () { return this.v_block; };
+})()
+;// class Use
+if (typeof Use !== 'object') {
+ Use = function() {};
+ Use = new Use;
+ Use.isa = function (s) { return s == 'Use'; };
+ Use.perl = function () { return 'Use.new(' + Main._dump(this) + ')'; };
+}
+(function () {
+ var v__NAMESPACE = Use;
+ // accessor mod
+ Use.v_mod = null;
+ Use.mod = function () { return this.v_mod; };
+})()
+; // use Perlito::AST
;// class Javascript
if (typeof Javascript !== 'object') {
Javascript = function() {};
@@ -941,18 +1320,12 @@ if (typeof CompUnit !== 'object') {
}
(function () {
var v__NAMESPACE = CompUnit;
- // accessor name
- CompUnit.v_name = null;
- CompUnit.name = function () { return this.v_name; };
// accessor attributes
CompUnit.v_attributes = null;
CompUnit.attributes = function () { return this.v_attributes; };
// accessor methods
CompUnit.v_methods = null;
CompUnit.methods = function () { return this.v_methods; };
- // accessor body
- CompUnit.v_body = null;
- CompUnit.body = function () { return this.v_body; };
// method emit_javascript
CompUnit.emit_javascript = function () {
var v_self = this;
@@ -1085,9 +1458,6 @@ if (typeof Val$Int !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Int;
- // accessor int
- Val$Int.v_int = null;
- Val$Int.int = function () { return this.v_int; };
// method emit_javascript
Val$Int.emit_javascript = function () {
var v_self = this;
@@ -1130,9 +1500,6 @@ if (typeof Val$Bit !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Bit;
- // accessor bit
- Val$Bit.v_bit = null;
- Val$Bit.bit = function () { return this.v_bit; };
// method emit_javascript
Val$Bit.emit_javascript = function () {
var v_self = this;
@@ -1175,9 +1542,6 @@ if (typeof Val$Num !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Num;
- // accessor num
- Val$Num.v_num = null;
- Val$Num.num = function () { return this.v_num; };
// method emit_javascript
Val$Num.emit_javascript = function () {
var v_self = this;
@@ -1220,9 +1584,6 @@ if (typeof Val$Buf !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Buf;
- // accessor buf
- Val$Buf.v_buf = null;
- Val$Buf.buf = function () { return this.v_buf; };
// method emit_javascript
Val$Buf.emit_javascript = function () {
var v_self = this;
@@ -1265,12 +1626,6 @@ if (typeof Lit$Block !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Block;
- // accessor sig
- Lit$Block.v_sig = null;
- Lit$Block.sig = function () { return this.v_sig; };
- // accessor stmts
- Lit$Block.v_stmts = null;
- Lit$Block.stmts = function () { return this.v_stmts; };
// method emit_javascript
Lit$Block.emit_javascript = function () {
var v_self = this;
@@ -1322,9 +1677,6 @@ if (typeof Lit$Array !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Array;
- // accessor array1
- Lit$Array.v_array1 = null;
- Lit$Array.array1 = function () { return this.v_array1; };
// method emit_javascript
Lit$Array.emit_javascript = function () {
var v_self = this;
@@ -1370,9 +1722,6 @@ if (typeof Lit$Hash !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Hash;
- // accessor hash1
- Lit$Hash.v_hash1 = null;
- Lit$Hash.hash1 = function () { return this.v_hash1; };
// method emit_javascript
Lit$Hash.emit_javascript = function () {
var v_self = this;
@@ -1418,12 +1767,6 @@ if (typeof Index !== 'object') {
}
(function () {
var v__NAMESPACE = Index;
- // accessor obj
- Index.v_obj = null;
- Index.obj = function () { return this.v_obj; };
- // accessor index_exp
- Index.v_index_exp = null;
- Index.index_exp = function () { return this.v_index_exp; };
// method emit_javascript
Index.emit_javascript = function () {
var v_self = this;
@@ -1466,12 +1809,6 @@ if (typeof Lookup !== 'object') {
}
(function () {
var v__NAMESPACE = Lookup;
- // accessor obj
- Lookup.v_obj = null;
- Lookup.obj = function () { return this.v_obj; };
- // accessor index_exp
- Lookup.v_index_exp = null;
- Lookup.index_exp = function () { return this.v_index_exp; };
// method emit_javascript
Lookup.emit_javascript = function () {
var v_self = this;
@@ -1540,18 +1877,6 @@ if (typeof Var !== 'object') {
}
(function () {
var v__NAMESPACE = Var;
- // accessor sigil
- Var.v_sigil = null;
- Var.sigil = function () { return this.v_sigil; };
- // accessor twigil
- Var.v_twigil = null;
- Var.twigil = function () { return this.v_twigil; };
- // accessor namespace
- Var.v_namespace = null;
- Var.namespace = function () { return this.v_namespace; };
- // accessor name
- Var.v_name = null;
- Var.name = function () { return this.v_name; };
// method emit_javascript
Var.emit_javascript = function () {
var v_self = this;
@@ -1636,9 +1961,6 @@ if (typeof Proto !== 'object') {
}
(function () {
var v__NAMESPACE = Proto;
- // accessor name
- Proto.v_name = null;
- Proto.name = function () { return this.v_name; };
// method emit_javascript
Proto.emit_javascript = function () {
var v_self = this;
@@ -1683,18 +2005,6 @@ if (typeof Call !== 'object') {
var v__NAMESPACE = Call;
var Hash_method_js = {};
var Hash_method_native_js = {};
- // accessor invocant
- Call.v_invocant = null;
- Call.invocant = function () { return this.v_invocant; };
- // accessor hyper
- Call.v_hyper = null;
- Call.hyper = function () { return this.v_hyper; };
- // accessor method
- Call.v_method = null;
- Call.method = function () { return this.v_method; };
- // accessor arguments
- Call.v_arguments = null;
- Call.arguments = function () { return this.v_arguments; };
// method emit_javascript
Call.emit_javascript = function () {
var v_self = this;
@@ -1826,15 +2136,6 @@ if (typeof Apply !== 'object') {
var v__NAMESPACE = Apply;
var Hash_op_infix_js = {};
var Hash_op_global_js = {};
- // accessor code
- Apply.v_code = null;
- Apply.code = function () { return this.v_code; };
- // accessor arguments
- Apply.v_arguments = null;
- Apply.arguments = function () { return this.v_arguments; };
- // accessor namespace
- Apply.v_namespace = null;
- Apply.namespace = function () { return this.v_namespace; };
// method emit_javascript
Apply.emit_javascript = function () {
var v_self = this;
@@ -2105,52 +2406,6 @@ if (typeof Apply !== 'object') {
// sub emit_javascript_bind
Apply.emit_javascript_bind = function (v_parameters, v_arguments) {
try {
- if ( bool(isa(v_parameters, 'Lit::Array')) ) { (function () {
- var v_a = null;
-
- var v_str = null;
-
- var v_i = null;
-
-(v_a = v_parameters.array1());
-(v_str = 'do ' + String.fromCharCode(123) + ' ');
-(v_i = 0);
- (function (a_) { for (var i_ = 0; i_ < a_.length ; i_++) { (function (v_var) { (v_str = (string(v_str) + string(' ') + string(v__NAMESPACE.emit_javascript_bind(v_var, (function () { var tmp = {v_obj: v_arguments,v_index_exp: (function () { var tmp = {v_int: v_i}; tmp.__proto__ = Val$Int; return tmp; })()}; tmp.__proto__ = Index; return tmp; })())) + string(String.fromCharCode(59) + ' ')));
-(v_i = add(v_i, 1));; })(a_[i_]) } })((v_a));
- throw((string(v_str) + string(v_parameters.emit_javascript()) + string(' ' + String.fromCharCode(125))));;
- })(); }
- else { (function () {
- null;
- })(); };
- if ( bool(isa(v_parameters, 'Lit::Hash')) ) { (function () {
- var v_a = null;
-
- var v_b = null;
-
- var v_str = null;
-
- var v_i = null;
-
- var v_arg = null;
-
-(v_a = v_parameters.hash1());
-(v_b = v_arguments.hash1());
-(v_str = 'do ' + String.fromCharCode(123) + ' ');
-(v_i = 0);
- (function (a_) { for (var i_ = 0; i_ < a_.length ; i_++) { (function (v_var) { (v_arg = (function () { var tmp = {v_code: 'Mu'}; tmp.__proto__ = Apply; return tmp; })());
- (function (a_) { for (var i_ = 0; i_ < a_.length ; i_++) { (function (v_var2) { if ( bool(((v_var2[0]).buf() == (v_var[0]).buf())) ) { (function () {
-(v_arg = v_var2[1]);;
- })(); }
- else { (function () {
- null;
- })(); };; })(a_[i_]) } })((v_b));
-(v_str = (string(v_str) + string(' ') + string(v__NAMESPACE.emit_javascript_bind(v_var[1], v_arg)) + string(String.fromCharCode(59) + ' ')));
-(v_i = add(v_i, 1));; })(a_[i_]) } })((v_a));
- throw((string(v_str) + string(v_parameters.emit_javascript()) + string(' ' + String.fromCharCode(125))));;
- })(); }
- else { (function () {
- null;
- })(); };
if ( bool(isa(v_parameters, 'Call')) ) { (function () {
throw((string('(') + string((v_parameters.invocant()).emit_javascript()) + string('.v_') + string(v_parameters.method()) + string(' ' + String.fromCharCode(61) + ' ') + string(v_arguments.emit_javascript()) + string(')')));;
})(); }
@@ -2300,15 +2555,6 @@ if (typeof If !== 'object') {
}
(function () {
var v__NAMESPACE = If;
- // accessor cond
- If.v_cond = null;
- If.cond = function () { return this.v_cond; };
- // accessor body
- If.v_body = null;
- If.body = function () { return this.v_body; };
- // accessor otherwise
- If.v_otherwise = null;
- If.otherwise = function () { return this.v_otherwise; };
// method emit_javascript
If.emit_javascript = function () {
var v_self = this;
@@ -2382,18 +2628,6 @@ if (typeof While !== 'object') {
}
(function () {
var v__NAMESPACE = While;
- // accessor init
- While.v_init = null;
- While.init = function () { return this.v_init; };
- // accessor cond
- While.v_cond = null;
- While.cond = function () { return this.v_cond; };
- // accessor continue
- While.v_continue = null;
- While.continue = function () { return this.v_continue; };
- // accessor body
- While.v_body = null;
- While.body = function () { return this.v_body; };
// method emit_javascript
While.emit_javascript = function () {
var v_self = this;
@@ -2439,12 +2673,6 @@ if (typeof For !== 'object') {
}
(function () {
var v__NAMESPACE = For;
- // accessor cond
- For.v_cond = null;
- For.cond = function () { return this.v_cond; };
- // accessor body
- For.v_body = null;
- For.body = function () { return this.v_body; };
// method emit_javascript
For.emit_javascript = function () {
var v_self = this;
@@ -2515,15 +2743,6 @@ if (typeof Decl !== 'object') {
}
(function () {
var v__NAMESPACE = Decl;
- // accessor decl
- Decl.v_decl = null;
- Decl.decl = function () { return this.v_decl; };
- // accessor type
- Decl.v_type = null;
- Decl.type = function () { return this.v_type; };
- // accessor var
- Decl.v_var = null;
- Decl.var = function () { return this.v_var; };
// method emit_javascript
Decl.emit_javascript = function () {
var v_self = this;
@@ -2588,29 +2807,10 @@ if (typeof Decl !== 'object') {
}
else {
return(err);
- }
- }
- }
- Decl.emit_javascript_init; // v8 bug workaround
-})()
-;// class Sig
-if (typeof Sig !== 'object') {
- Sig = function() {};
- Sig = new Sig;
- Sig.isa = function (s) { return s == 'Sig'; };
- Sig.perl = function () { return 'Sig.new(' + Main._dump(this) + ')'; };
-}
-(function () {
- var v__NAMESPACE = Sig;
- // accessor invocant
- Sig.v_invocant = null;
- Sig.invocant = function () { return this.v_invocant; };
- // accessor positional
- Sig.v_positional = null;
- Sig.positional = function () { return this.v_positional; };
- // accessor named
- Sig.v_named = null;
- Sig.named = function () { return this.v_named; };
+ }
+ }
+ }
+ Decl.emit_javascript_init; // v8 bug workaround
})()
;// class Method
if (typeof Method !== 'object') {
@@ -2621,15 +2821,6 @@ if (typeof Method !== 'object') {
}
(function () {
var v__NAMESPACE = Method;
- // accessor name
- Method.v_name = null;
- Method.name = function () { return this.v_name; };
- // accessor sig
- Method.v_sig = null;
- Method.sig = function () { return this.v_sig; };
- // accessor block
- Method.v_block = null;
- Method.block = function () { return this.v_block; };
// method emit_javascript
Method.emit_javascript = function () {
var v_self = this;
@@ -2684,15 +2875,6 @@ if (typeof Sub !== 'object') {
}
(function () {
var v__NAMESPACE = Sub;
- // accessor name
- Sub.v_name = null;
- Sub.name = function () { return this.v_name; };
- // accessor sig
- Sub.v_sig = null;
- Sub.sig = function () { return this.v_sig; };
- // accessor block
- Sub.v_block = null;
- Sub.block = function () { return this.v_block; };
// method emit_javascript
Sub.emit_javascript = function () {
var v_self = this;
@@ -2744,9 +2926,6 @@ if (typeof Do !== 'object') {
}
(function () {
var v__NAMESPACE = Do;
- // accessor block
- Do.v_block = null;
- Do.block = function () { return this.v_block; };
// method emit_javascript
Do.emit_javascript = function () {
var v_self = this;
@@ -2792,9 +2971,6 @@ if (typeof Use !== 'object') {
}
(function () {
var v__NAMESPACE = Use;
- // accessor mod
- Use.v_mod = null;
- Use.mod = function () { return this.v_mod; };
// method emit_javascript
Use.emit_javascript = function () {
var v_self = this;
@@ -3489,6 +3665,7 @@ List_a.push(1);
return(Hash_a);
})());(v_prec = (v_prec - 1)); v__NAMESPACE.add_op('infix', 'and', v_prec);(v_prec = (v_prec - 1)); v__NAMESPACE.add_op('infix', 'or', v_prec);(v_prec = (v_prec - 1)); v__NAMESPACE.add_op('infix', '*start*', v_prec);})()
; // use v6
+; // use Perlito::AST
;// class Perl5
if (typeof Perl5 !== 'object') {
Perl5 = function() {};
@@ -3592,12 +3769,6 @@ if (typeof CompUnit !== 'object') {
}
(function () {
var v__NAMESPACE = CompUnit;
- // accessor name
- CompUnit.v_name = null;
- CompUnit.name = function () { return this.v_name; };
- // accessor body
- CompUnit.v_body = null;
- CompUnit.body = function () { return this.v_body; };
// method emit_perl5
CompUnit.emit_perl5 = function () {
var v_self = this;
@@ -3668,9 +3839,6 @@ if (typeof Val$Int !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Int;
- // accessor int
- Val$Int.v_int = null;
- Val$Int.int = function () { return this.v_int; };
// method emit_perl5
Val$Int.emit_perl5 = function () {
var v_self = this;
@@ -3713,9 +3881,6 @@ if (typeof Val$Bit !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Bit;
- // accessor bit
- Val$Bit.v_bit = null;
- Val$Bit.bit = function () { return this.v_bit; };
// method emit_perl5
Val$Bit.emit_perl5 = function () {
var v_self = this;
@@ -3758,9 +3923,6 @@ if (typeof Val$Num !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Num;
- // accessor num
- Val$Num.v_num = null;
- Val$Num.num = function () { return this.v_num; };
// method emit_perl5
Val$Num.emit_perl5 = function () {
var v_self = this;
@@ -3803,9 +3965,6 @@ if (typeof Val$Buf !== 'object') {
}
(function () {
var v__NAMESPACE = Val$Buf;
- // accessor buf
- Val$Buf.v_buf = null;
- Val$Buf.buf = function () { return this.v_buf; };
// method emit_perl5
Val$Buf.emit_perl5 = function () {
var v_self = this;
@@ -3848,12 +4007,6 @@ if (typeof Lit$Block !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Block;
- // accessor sig
- Lit$Block.v_sig = null;
- Lit$Block.sig = function () { return this.v_sig; };
- // accessor stmts
- Lit$Block.v_stmts = null;
- Lit$Block.stmts = function () { return this.v_stmts; };
// method emit_perl5
Lit$Block.emit_perl5 = function () {
var v_self = this;
@@ -3896,9 +4049,6 @@ if (typeof Lit$Array !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Array;
- // accessor array1
- Lit$Array.v_array1 = null;
- Lit$Array.array1 = function () { return this.v_array1; };
// method emit_perl5
Lit$Array.emit_perl5 = function () {
var v_self = this;
@@ -3944,9 +4094,6 @@ if (typeof Lit$Hash !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Hash;
- // accessor hash1
- Lit$Hash.v_hash1 = null;
- Lit$Hash.hash1 = function () { return this.v_hash1; };
// method emit_perl5
Lit$Hash.emit_perl5 = function () {
var v_self = this;
@@ -3992,12 +4139,6 @@ if (typeof Index !== 'object') {
}
(function () {
var v__NAMESPACE = Index;
- // accessor obj
- Index.v_obj = null;
- Index.obj = function () { return this.v_obj; };
- // accessor index_exp
- Index.v_index_exp = null;
- Index.index_exp = function () { return this.v_index_exp; };
// method emit_perl5
Index.emit_perl5 = function () {
var v_self = this;
@@ -4040,12 +4181,6 @@ if (typeof Lookup !== 'object') {
}
(function () {
var v__NAMESPACE = Lookup;
- // accessor obj
- Lookup.v_obj = null;
- Lookup.obj = function () { return this.v_obj; };
- // accessor index_exp
- Lookup.v_index_exp = null;
- Lookup.index_exp = function () { return this.v_index_exp; };
// method emit_perl5
Lookup.emit_perl5 = function () {
var v_self = this;
@@ -4088,18 +4223,6 @@ if (typeof Var !== 'object') {
}
(function () {
var v__NAMESPACE = Var;
- // accessor sigil
- Var.v_sigil = null;
- Var.sigil = function () { return this.v_sigil; };
- // accessor twigil
- Var.v_twigil = null;
- Var.twigil = function () { return this.v_twigil; };
- // accessor namespace
- Var.v_namespace = null;
- Var.namespace = function () { return this.v_namespace; };
- // accessor name
- Var.v_name = null;
- Var.name = function () { return this.v_name; };
// method emit_perl5
Var.emit_perl5 = function () {
var v_self = this;
@@ -4145,7 +4268,17 @@ if (typeof Var !== 'object') {
null;
})(); };
if ( bool((v_self.v_twigil == '.')) ) { (function () {
- throw((string(Perl5.tab(v_level)) + string(String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string(String.fromCharCode(125))));;
+ if ( bool((v_self.v_sigil == String.fromCharCode(37))) ) { (function () {
+ throw((string(Perl5.tab(v_level)) + string('(') + string('defined ' + String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string(String.fromCharCode(125) + ' ') + string(String.fromCharCode(63) + ' ' + String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string(String.fromCharCode(125) + ' ') + string(': (' + String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string((string(String.fromCharCode(125) + ' ' + String.fromCharCode(61) + ' bless(') + string(String.fromCharCode(123)) + string(String.fromCharCode(125) + ', ' + String.fromCharCode(39) + 'HASH' + String.fromCharCode(39) + ')))')))));;
+ })(); }
+ else { (function () {
+ if ( bool((v_self.v_sigil == String.fromCharCode(64))) ) { (function () {
+ throw((string(Perl5.tab(v_level)) + string('(') + string('defined ' + String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string(String.fromCharCode(125) + ' ') + string(String.fromCharCode(63) + ' ' + String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string(String.fromCharCode(125) + ' ') + string(': (' + String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string((string(String.fromCharCode(125) + ' ' + String.fromCharCode(124) + String.fromCharCode(124) + String.fromCharCode(61) + ' bless([], ' + String.fromCharCode(39) + 'ARRAY' + String.fromCharCode(39) + ')))')))));;
+ })(); }
+ else { (function () {
+ throw((string(Perl5.tab(v_level)) + string(String.fromCharCode(36) + 'self->' + String.fromCharCode(123)) + string(v_self.v_name) + string(String.fromCharCode(125))));;
+ })(); };;
+ })(); };;
})(); }
else { (function () {
null;
@@ -4201,9 +4334,6 @@ if (typeof Proto !== 'object') {
}
(function () {
var v__NAMESPACE = Proto;
- // accessor name
- Proto.v_name = null;
- Proto.name = function () { return this.v_name; };
// method emit_perl5
Proto.emit_perl5 = function () {
var v_self = this;
@@ -4247,18 +4377,6 @@ if (typeof Call !== 'object') {
(function () {
var v__NAMESPACE = Call;
var Hash_method_perl5 = {};
- // accessor invocant
- Call.v_invocant = null;
- Call.invocant = function () { return this.v_invocant; };
- // accessor hyper
- Call.v_hyper = null;
- Call.hyper = function () { return this.v_hyper; };
- // accessor method
- Call.v_method = null;
- Call.method = function () { return this.v_method; };
- // accessor arguments
- Call.v_arguments = null;
- Call.arguments = function () { return this.v_arguments; };
// method emit_perl5
Call.emit_perl5 = function () {
var v_self = this;
@@ -4391,15 +4509,6 @@ if (typeof Apply !== 'object') {
var v__NAMESPACE = Apply;
var Hash_op_prefix_perl5 = {};
var Hash_op_infix_perl5 = {};
- // accessor code
- Apply.v_code = null;
- Apply.code = function () { return this.v_code; };
- // accessor arguments
- Apply.v_arguments = null;
- Apply.arguments = function () { return this.v_arguments; };
- // accessor namespace
- Apply.v_namespace = null;
- Apply.namespace = function () { return this.v_namespace; };
// method emit_perl5
Apply.emit_perl5 = function () {
var v_self = this;
@@ -4603,58 +4712,6 @@ if (typeof Apply !== 'object') {
else { (function () {
null;
})(); };
- if ( bool(isa(v_parameters, 'Lit::Array')) ) { (function () {
- var v_a = null;
-
- var v_str = null;
-
- var v_i = null;
-
-(v_a = v_parameters.array1());
-(v_str = 'do ' + String.fromCharCode(123) + ' ');
-(v_i = 0);
- (function (a_) { for (var i_ = 0; i_ < a_.length ; i_++) { (function (v_var) { (v_str = (string(v_str) + string((string(' ') + string(v__NAMESPACE.emit_perl5_bind(v_var, (function () { var tmp = {v_obj: v_arguments,v_index_exp: (function () { var tmp = {v_int: v_i}; tmp.__proto__ = Val$Int; return tmp; })()}; tmp.__proto__ = Index; return tmp; })())) + string(String.fromCharCode(59) + ' ')))));
-(v_i = add(v_i, 1));; })(a_[i_]) } })((v_a));
- throw((string(v_str) + string(v_parameters.emit_perl5()) + string(' ' + String.fromCharCode(125))));;
- })(); }
- else { (function () {
- null;
- })(); };
- if ( bool(isa(v_parameters, 'Lit::Hash')) ) { (function () {
- var v_a = null;
-
- var v_b = null;
-
- var v_str = null;
-
- var v_i = null;
-
- var v_arg = null;
-
-(v_a = v_parameters.hash1());
-(v_b = v_arguments.hash1());
-(v_str = 'do ' + String.fromCharCode(123) + ' ');
-(v_i = 0);
- (function (a_) { for (var i_ = 0; i_ < a_.length ; i_++) { (function (v_var) { (v_arg = (function () { var tmp = {v_code: 'Mu',v_arguments: (function () {
- var List_a = [];
-
- var List_v = [];
-
- return(List_a);
-})()}; tmp.__proto__ = Apply; return tmp; })());
- (function (a_) { for (var i_ = 0; i_ < a_.length ; i_++) { (function (v_var2) { if ( bool(((v_var2[0]).buf() == (v_var[0]).buf())) ) { (function () {
-(v_arg = v_var2[1]);;
- })(); }
- else { (function () {
- null;
- })(); };; })(a_[i_]) } })((v_b));
-(v_str = (string(v_str) + string((string(' ') + string(v__NAMESPACE.emit_perl5_bind(v_var[1], v_arg)) + string(String.fromCharCode(59) + ' ')))));
-(v_i = add(v_i, 1));; })(a_[i_]) } })((v_a));
- throw((string(v_str) + string(v_parameters.emit_perl5()) + string(' ' + String.fromCharCode(125))));;
- })(); }
- else { (function () {
- null;
- })(); };
if ( bool(or(and(isa(v_parameters, 'Var'), function () { return (v_parameters.sigil() == String.fromCharCode(64)); }), function () { return and(isa(v_parameters, 'Decl'), function () { return (v_parameters.var().sigil() == String.fromCharCode(64)); }); })) ) { (function () {
(v_arguments = (function () { var tmp = {v_array1: (function () {
var List_a = [];
@@ -4746,15 +4803,6 @@ if (typeof If !== 'object') {
}
(function () {
var v__NAMESPACE = If;
- // accessor cond
- If.v_cond = null;
- If.cond = function () { return this.v_cond; };
- // accessor body
- If.v_body = null;
- If.body = function () { return this.v_body; };
- // accessor otherwise
- If.v_otherwise = null;
- If.otherwise = function () { return this.v_otherwise; };
// method emit_perl5
If.emit_perl5 = function () {
var v_self = this;
@@ -4797,18 +4845,6 @@ if (typeof While !== 'object') {
}
(function () {
var v__NAMESPACE = While;
- // accessor init
- While.v_init = null;
- While.init = function () { return this.v_init; };
- // accessor cond
- While.v_cond = null;
- While.cond = function () { return this.v_cond; };
- // accessor continue
- While.v_continue = null;
- While.continue = function () { return this.v_continue; };
- // accessor body
- While.v_body = null;
- While.body = function () { return this.v_body; };
// method emit_perl5
While.emit_perl5 = function () {
var v_self = this;
@@ -4867,12 +4903,6 @@ if (typeof For !== 'object') {
}
(function () {
var v__NAMESPACE = For;
- // accessor cond
- For.v_cond = null;
- For.cond = function () { return this.v_cond; };
- // accessor body
- For.v_body = null;
- For.body = function () { return this.v_body; };
// method emit_perl5
For.emit_perl5 = function () {
var v_self = this;
@@ -4939,15 +4969,6 @@ if (typeof Decl !== 'object') {
}
(function () {
var v__NAMESPACE = Decl;
- // accessor decl
- Decl.v_decl = null;
- Decl.decl = function () { return this.v_decl; };
- // accessor type
- Decl.v_type = null;
- Decl.type = function () { return this.v_type; };
- // accessor var
- Decl.v_var = null;
- Decl.var = function () { return this.v_var; };
// method emit_perl5
Decl.emit_perl5 = function () {
var v_self = this;
@@ -5007,57 +5028,6 @@ if (typeof Decl !== 'object') {
}
Decl.emit_perl5_indented; // v8 bug workaround
})()
-;// class Sig
-if (typeof Sig !== 'object') {
- Sig = function() {};
- Sig = new Sig;
- Sig.isa = function (s) { return s == 'Sig'; };
- Sig.perl = function () { return 'Sig.new(' + Main._dump(this) + ')'; };
-}
-(function () {
- var v__NAMESPACE = Sig;
- // accessor invocant
- Sig.v_invocant = null;
- Sig.invocant = function () { return this.v_invocant; };
- // accessor positional
- Sig.v_positional = null;
- Sig.positional = function () { return this.v_positional; };
- // accessor named
- Sig.v_named = null;
- Sig.named = function () { return this.v_named; };
- // method emit_perl5
- Sig.emit_perl5 = function () {
- var v_self = this;
- try {
- return(v_self.emit_perl5_indented(0));;
- }
- catch(err) {
- if ( err instanceof Error ) {
- throw(err);
- }
- else {
- return(err);
- }
- }
- }
- Sig.emit_perl5; // v8 bug workaround
- // method emit_perl5_indented
- Sig.emit_perl5_indented = function (v_level) {
- var v_self = this;
- try {
- return(' print ' + String.fromCharCode(39) + 'Signature - TODO' + String.fromCharCode(39) + String.fromCharCode(59) + ' die ' + String.fromCharCode(39) + 'Signature - TODO' + String.fromCharCode(39) + String.fromCharCode(59) + ' ');;
- }
- catch(err) {
- if ( err instanceof Error ) {
- throw(err);
- }
- else {
- return(err);
- }
- }
- }
- Sig.emit_perl5_indented; // v8 bug workaround
-})()
;// class Method
if (typeof Method !== 'object') {
Method = function() {};
@@ -5067,15 +5037,6 @@ if (typeof Method !== 'object') {
}
(function () {
var v__NAMESPACE = Method;
- // accessor name
- Method.v_name = null;
- Method.name = function () { return this.v_name; };
- // accessor sig
- Method.v_sig = null;
- Method.sig = function () { return this.v_sig; };
- // accessor block
- Method.v_block = null;
- Method.block = function () { return this.v_block; };
// method emit_perl5
Method.emit_perl5 = function () {
var v_self = this;
@@ -5135,15 +5096,6 @@ if (typeof Sub !== 'object') {
}
(function () {
var v__NAMESPACE = Sub;
- // accessor name
- Sub.v_name = null;
- Sub.name = function () { return this.v_name; };
- // accessor sig
- Sub.v_sig = null;
- Sub.sig = function () { return this.v_sig; };
- // accessor block
- Sub.v_block = null;
- Sub.block = function () { return this.v_block; };
// method emit_perl5
Sub.emit_perl5 = function () {
var v_self = this;
@@ -5200,9 +5152,6 @@ if (typeof Do !== 'object') {
}
(function () {
var v__NAMESPACE = Do;
- // accessor block
- Do.v_block = null;
- Do.block = function () { return this.v_block; };
// method emit_perl5
Do.emit_perl5 = function () {
var v_self = this;
@@ -5248,9 +5197,6 @@ if (typeof Use !== 'object') {
}
(function () {
var v__NAMESPACE = Use;
- // accessor mod
- Use.v_mod = null;
- Use.mod = function () { return this.v_mod; };
// method emit_perl5
Use.emit_perl5 = function () {
var v_self = this;
@@ -15075,9 +15021,6 @@ if (typeof Lit$Array !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Array;
- // accessor array1
- Lit$Array.v_array1 = null;
- Lit$Array.array1 = function () { return this.v_array1; };
// method expand_interpolation
Lit$Array.expand_interpolation = function () {
var v_self = this;
@@ -15205,9 +15148,6 @@ if (typeof Lit$Hash !== 'object') {
}
(function () {
var v__NAMESPACE = Lit$Hash;
- // accessor hash1
- Lit$Hash.v_hash1 = null;
- Lit$Hash.hash1 = function () { return this.v_hash1; };
// method expand_interpolation
Lit$Hash.expand_interpolation = function () {
var v_self = this;
@@ -15442,7 +15382,7 @@ if (typeof Main !== 'object') {
var v_p = null;
(v_p = index(v_s, v_old));
- return(( bool((v_p >= 0)) ? (string((v_s || "").substr(0, v_p)) + string(v_new) + string(v__NAMESPACE._replace((v_s || "").substr(add(v_p, v__NAMESPACE.length(v_old))), v_old, v_new))) : v_s));;
+ return(( bool((v_p >= 0)) ? (string((v_s || "").substr(0, v_p)) + string(v_new) + string(v__NAMESPACE._replace((v_s || "").substr(add(v_p, chars(v_old))), v_old, v_new))) : v_s));;
}
catch(err) {
if ( err instanceof Error ) {
2  lib5/Perlito/AST.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Clojure/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Emitter/Token.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Eval.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Expression.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Go/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Go/Prelude.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Grammar.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Grammar/Control.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Grammar/Regex.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Java/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Javascript/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Javascript/Prelude.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Javascript/Runtime.js
View
@@ -1,4 +1,4 @@
-// Do not edit this file - Generated by Perlito 7.0
+// Do not edit this file - Generated by Perlito 8.0
// lib/Perlito/Javascript/Runtime.js
//
// Runtime for "Perlito" Perlito-in-Javascript
2  lib5/Perlito/Lisp/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Lisp/Prelude.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Macro.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Parrot/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Parrot/Match.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Perl5/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Perl5/Prelude.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Precedence.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Python/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Rakudo/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Ruby/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Runtime.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito/Test.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito 7.0
+# Do not edit this file - Generated by Perlito 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/AST.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Emitter/Token.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Eval.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Expression.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Grammar.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Grammar/Control.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Grammar/Regex.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Javascript/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Javascript/Prelude.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Javascript/Runtime.js
View
@@ -1,4 +1,4 @@
-// Do not edit this file - Generated by Perlito 7.0
+// Do not edit this file - Generated by Perlito 8.0
// lib/Perlito/Javascript/Runtime.js
//
// Runtime for "Perlito" Perlito-in-Javascript
2  lib5/Perlito5/Macro.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Perl5/Emitter.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Perl5/Prelude.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Precedence.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Runtime.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
2  lib5/Perlito5/Test.pm
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
4 perlito5.pl
View
@@ -1,4 +1,4 @@
-# Do not edit this file - Generated by Perlito5 7.0
+# Do not edit this file - Generated by Perlito5 8.0
use v5;
use utf8;
use strict;
@@ -23,7 +23,7 @@ package GLOBAL;
use Perlito5::Precedence;
use Perlito5::Runtime;
((my $_V6_COMPILER_NAME) = 'Perlito5');