Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 30dd74e71ce803f49842ad2d7ed002d70f1d474b 1 parent f03d252
@fglock authored
View
4 ChangeLog
@@ -8,9 +8,7 @@ dev version - 2010-09-01
- correct operator precedence
- interpolation of variables and code in strings
- 'unless'
-- lists
-- 'Mu'
-- several fixes in Hash, Array, Block, Bool, Str
+- several fixes in List, Hash, Array, Block, Bool, Str, Mu
- operators: numeric autoincrements, defined-or, range
6.0 2010-07-27
View
10 TODO
@@ -1,5 +1,9 @@
TODO list for Perlito
+CPAN distribution
+
+- cross compilation doesn't work (can't create the temporary "AST" files)
+
Eval.pm module
- add exceptions
@@ -34,8 +38,6 @@ Perlito in Lisp
Perlito in Go
-- the floating point implementation seemed to slow down the bootstrapped compiler
-
- document which release of Go to use
Perlito in Perl5
@@ -66,7 +68,7 @@ Missing Backends
- Clojure
-- v6.pm
+- v6.pm - FIXED
Missing Features
@@ -134,3 +136,5 @@ Semantics
- In Perlito, @a = [] initializes @a to empty Array - FIXED
This should create an array with an array inside.
+- Not implemented: %a = (list)
+
View
7 lib/Perlito/Grammar/Mapping.pm
@@ -1,7 +0,0 @@
-
-use v6;
-
-grammar Perlito::Grammar {
- 1;
-}
-
View
24 lib5/Perlito/Grammar/Mapping.pm
@@ -1,24 +0,0 @@
-# Do not edit this file - Generated by Perlito 6.0
-use v5;
-use utf8;
-use strict;
-use warnings;
-no warnings ('redefine', 'once', 'void', 'uninitialized', 'misc', 'recursion');
-use Perlito::Perl5::Runtime;
-our $MATCH = Perlito::Match->new();
-{
-package GLOBAL;
-sub new { shift; bless { @_ }, "GLOBAL" }
-
-# use v6
-;
-{
-package Perlito::Grammar;
-sub new { shift; bless { @_ }, "Perlito::Grammar" }
-1
-}
-
-
-}
-
-1;
View
2  lib5/Perlito/Javascript/Runtime.js
@@ -344,7 +344,7 @@ Perlito$Grammar.f_is_newline = function (v_str, v_pos) {
v_str: v_str,
v_from: v_pos,
v_to: m_ != null ? v_pos + m_[0].length : v_pos,
- v_bool: m_ != null,
+ v_bool: m_ != null
};
tmp.__proto__ = Perlito$Match;
return tmp;
View
1  misc/MiniPerl5/Grammar.pm
@@ -3,7 +3,6 @@ use v6;
grammar MiniPerl5::Grammar {
use Perlito::Grammar::Regex;
-use Perlito::Grammar::Mapping;
use Perlito::Grammar::Control;
my $Class_name; # for diagnostic messages
View
1  util-python/build-python.sh
@@ -16,7 +16,6 @@ perl perlito.pl -Cpython lib/Perlito/Python/Prelude.pm > libpy/Perlito__Python_
perl perlito.pl -Cpython lib/Perlito/Test.pm > libpy/Perlito_Test.py
perl perlito.pl -Cpython lib/Perlito/Grammar.pm > libpy/Perlito__Grammar.py
perl perlito.pl -Cpython lib/Perlito/Grammar/Control.pm > libpy/Perlito__Grammar__Control.py
-perl perlito.pl -Cpython lib/Perlito/Grammar/Mapping.pm > libpy/Perlito__Grammar__Mapping.py
perl perlito.pl -Cpython lib/Perlito/Grammar/Regex.pm > libpy/Perlito__Grammar__Regex.py
perl perlito.pl -Cpython lib/Perlito/Emitter/Token.pm > libpy/Perlito__Emitter__Token.py
perl perlito.pl -Cpython lib/Perlito/Eval.pm > libpy/Perlito__Eval.py
View
1  util-ruby/bootstrap-ruby.sh
@@ -13,7 +13,6 @@ ruby1.9 perlito.rb -Cruby lib/Perlito/Test.pm > librb-new/Perlito__Te
ruby1.9 perlito.rb -Cruby lib/Perlito/Grammar.pm > librb-new/Perlito__Grammar.rb
ruby1.9 perlito.rb -Cruby lib/Perlito/Grammar/Control.pm > librb-new/Perlito__Grammar__Control.rb
-ruby1.9 perlito.rb -Cruby lib/Perlito/Grammar/Mapping.pm > librb-new/Perlito__Grammar__Mapping.rb
ruby1.9 perlito.rb -Cruby lib/Perlito/Grammar/Regex.pm > librb-new/Perlito__Grammar__Regex.rb
ruby1.9 perlito.rb -Cruby lib/Perlito/Emitter/Token.pm > librb-new/Perlito__Emitter__Token.rb
ruby1.9 perlito.rb -Cruby lib/Perlito/Eval.pm > librb-new/Perlito__Eval.rb
View
1  util-ruby/build-ruby.sh
@@ -11,7 +11,6 @@ perl perlito.pl -Cruby lib/Perlito/Test.pm > librb/Perlito/Test.rb
perl perlito.pl -Cruby lib/Perlito/Grammar.pm > librb/Perlito__Grammar.rb
perl perlito.pl -Cruby lib/Perlito/Grammar/Control.pm > librb/Perlito__Grammar__Control.rb
-perl perlito.pl -Cruby lib/Perlito/Grammar/Mapping.pm > librb/Perlito__Grammar__Mapping.rb
perl perlito.pl -Cruby lib/Perlito/Grammar/Regex.pm > librb/Perlito__Grammar__Regex.rb
perl perlito.pl -Cruby lib/Perlito/Emitter/Token.pm > librb/Perlito__Emitter__Token.rb
perl perlito.pl -Cruby lib/Perlito/Eval.pm > librb/Perlito__Eval.rb
View
1  util/perlito.pl
@@ -8,7 +8,6 @@
use Perlito::Ruby::Emitter;
use Perlito::Grammar;
use Perlito::Grammar::Control;
- use Perlito::Grammar::Mapping;
use Perlito::Grammar::Regex;
use Perlito::Emitter::Token;
View
1  v6.pm/MANIFEST
@@ -11,7 +11,6 @@ lib/Perlito/Go/Prelude.pm
lib/Perlito/Go/Runtime.go
lib/Perlito/Grammar.pm
lib/Perlito/Grammar/Control.pm
-lib/Perlito/Grammar/Mapping.pm
lib/Perlito/Grammar/Regex.pm
lib/Perlito/Javascript/Emitter.pm
lib/Perlito/Javascript/Prelude.pm
View
4 v6.pm/make-v6.sh
@@ -1,3 +1,5 @@
+[ -d v6.pm ] && cd v6.pm
+
rm -rf lib
rm -rf t
@@ -19,3 +21,5 @@ rm -rf scripts
mkdir scripts
cp ../perlito.pl scripts/perlito
+perl Makefile.PL
+
Please sign in to comment.
Something went wrong with that request. Please try again.