Permalink
Switch branches/tags
Nothing to show
Commits on May 10, 2012
Commits on Oct 16, 2011
  1. remove useless get_pointer

    fperrad committed Oct 16, 2011
Commits on Aug 4, 2011
  1. [test_lex] use encoding 'utf8'

    fperrad committed Aug 4, 2011
  2. Merge pull request #3 from dafrito/master

    fperrad committed Aug 4, 2011
    Removed optimization from transform return
  3. Allow installable_luap to display Unicode characters

    dafrito committed Aug 4, 2011
    installable_luap fails to display Unicode characters. Consider the following snippet:
    
    print "∙";
    
    This yields the following error:
    
    ./installable_luap Unicode.lua
    Invalid character in ASCII string
    current instr.: 'parrot;PCT;HLLCompiler;evalfiles' pc 1468 (compilers/pct/src/PCT/HLLCompiler.pir:756)
    called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1719 (compilers/pct/src/PCT/HLLCompiler.pir:875)
    called from Sub 'main' pc 27 (luap.pir:27)
    
    This patch fixes the problem for installable_luap, but it remains for installable_lua
Commits on Aug 3, 2011
  1. luaaux.pir: Changed encoding to utf8

    dafrito committed Aug 3, 2011
    This fixes a "Lossy conversion to single byte encoding" error when
    trying to run a Lua program with Unicode characters.
    
    A simple test is the following snippet:
    
    print "∙";
  2. transform return: Removed an optimization that broke some table literals

    dafrito committed Aug 3, 2011
    This optimization would normally remove an unnecessary variable, such as
    the one in the following generated PIR:
    
    set $P18, $P17[k_Foo]
    new $P19, "LuaNil"
    .tailcall $P18()
    
    In the above snippet, $P19 is not used, so it can be removed without
    harm. However, there are instances where this variable is used. Consider
    the following code:
    
    function Foo()
    	return 42
    end
    
    return { Foo() }
    
    In this case, the following PIR should be generated:
    
    new $P21, "LuaNil"
    ($P21 :slurpy) = $P20()
    .tailcall tconstruct($P18, $P19, $P21 :flat)
    
    In this case, the register that initially contains a nil value is
    actually used, so it cannot be optimized away.
Commits on Aug 1, 2011
  1. use the manpage layout

    fperrad committed Aug 1, 2011
Commits on Jul 31, 2011
  1. generate manpages (with pod2man)

    fperrad committed Jul 31, 2011
Commits on Jul 30, 2011
  1. fix: put 'self' in a inner scope

    fperrad committed Jul 30, 2011
    (reported by Aaron Faanes)
Commits on Jun 19, 2011
  1. fix after parrot/parrot@6afb0ae

    fperrad committed Jun 19, 2011
    (.annotate file)
Commits on May 17, 2011
  1. random: fix range

    fperrad committed May 17, 2011
  2. refactor without Math/Rand

    fperrad committed May 17, 2011
Commits on Feb 22, 2011
  1. update submodule lua-TestMore

    fperrad committed Feb 22, 2011
Commits on Feb 18, 2011
  1. Fix (probably very old bug) bug with marking of LuaTable.

    bacek committed Feb 18, 2011
    Previously if we set C<key> to NULL C<value> then C<key> wasn't marked.
Commits on Feb 16, 2011
Commits on Feb 15, 2011
  1. Specify 'binary' encoding for loaded files.

    bacek committed Feb 15, 2011
    Fix loading of mandelbrot test data.
Commits on Jan 23, 2011
  1. update submodule lua-TestMore

    fperrad committed Jan 23, 2011
  2. update submodule lua-TestMore

    fperrad committed Jan 23, 2011
Commits on Jan 6, 2011
  1. fix the following error:

    fperrad committed Jan 6, 2011
        too many named arguments: 1 passed, 0 used
Commits on Dec 26, 2010
  1. concat_s_s is gone

    fperrad committed Dec 26, 2010
Commits on Dec 2, 2010
  1. now, binary encoding needed

    fperrad committed Dec 2, 2010
Commits on Nov 30, 2010
Commits on Nov 28, 2010
  1. s/key_append/Parrot_key_append/

    fperrad committed Nov 28, 2010
    s/key_new_cstring/Parrot_key_new_cstring/
Commits on Nov 21, 2010
  1. update for upstream Perl6Regex changes

    plobsing committed Nov 21, 2010
    StringBuilder is now used in stead of CodeString
  2. update to upstream PGE;Expr changes

    plobsing committed Nov 21, 2010
    PGE;Expr now uses StringBuilder in stead of CodeString
Commits on Nov 10, 2010
  1. stdhandle is gone

    fperrad committed Nov 10, 2010
Commits on Sep 25, 2010
Commits on Sep 19, 2010
Commits on Sep 16, 2010