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

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

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

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

    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
    dafrito committed Aug 4, 2011
Commits on Aug 3, 2011
  1. luaaux.pir: Changed encoding to utf8

    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 "∙";
    dafrito committed Aug 3, 2011
  2. transform return: Removed an optimization that broke some table literals

    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.
    dafrito committed Aug 3, 2011
Commits on Aug 1, 2011
  1. use the manpage layout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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