Branch: refs/heads/rurban/lexqnames-gh1095-dev
Home: https://github.com/parrot/parrot
Commit: 4c00a4039511a84ca7ca5cf4d5e5e7591529804d
https://github.com/parrot/parrot/commit/4c00a4039511a84ca7ca5cf4d5e5e7591529804d
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/symreg.c
M src/ops/core_ops.c
M src/pmc/lexpad.pmc
Log Message:
-----------
WIP development only: add -t8 flag, unescape in mk_const
see https://github.com/parrot/parrot/issues/1095#issuecomment-58470471
Commit: 46954c5fe00dba7469cf49578c33e4825dce7d27
https://github.com/parrot/parrot/commit/46954c5fe00dba7469cf49578c33e4825dce7d27
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
M compilers/imcc/imcparser.h
Log Message:
-----------
WIP mk_const and str_unescape: skip "
Commit: 28d9add80c60437076fb1181113a252c64fe8305
https://github.com/parrot/parrot/commit/28d9add80c60437076fb1181113a252c64fe8305
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
M compilers/imcc/imcparser.h
M compilers/imcc/pbc.c
M compilers/imcc/pbc.h
M runtime/parrot/library/P6object.pir
M src/string/api.c
Log Message:
-----------
WIP: fixed the tests, but broke parrot
allow and handle now empty strings im imcc, fix
quoted sub names
Commit: ea79262e17e34105e26db4e6b0bfe5916d38e5e6
https://github.com/parrot/parrot/commit/ea79262e17e34105e26db4e6b0bfe5916d38e5e6
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/pbc.c
M src/string/api.c
Log Message:
-----------
imcc encodings: fix unicode encoded constants
Commit: 39ef712678ba994fd6fcdfc3fcd10e7e0fd9ccaa
https://github.com/parrot/parrot/commit/39ef712678ba994fd6fcdfc3fcd10e7e0fd9ccaa
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] fix .sub name last char
Commit: 153d572f76b10c4c9356851867255b08d200248f
https://github.com/parrot/parrot/commit/153d572f76b10c4c9356851867255b08d200248f
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/debug.c
M compilers/imcc/pbc.c
M compilers/imcc/symreg.c
M t/op/basic.t
Log Message:
-----------
[imcc] fix -d8 dump_instructions, fix double unescaping
string_from_reg may not unescape the const again. fixes t/op/basic_6.pasm
change t/op/basic_9.pasm to catch the new Unknown escape sequence \i in Parrot
fl\ies
Commit: 29adaadca37b9a8ee30793e05b69c2e31a24c456
https://github.com/parrot/parrot/commit/29adaadca37b9a8ee30793e05b69c2e31a24c456
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/debug.h
M compilers/imcc/imcc.y
M compilers/imcc/pbc.c
M compilers/imcc/symreg.c
M include/parrot/interpreter.h
Log Message:
-----------
[imcc] fix U type in sub fixup
Honor mk_const Slp, do not change S to U when called a 2nd time as S
with already stripped quotes.
Change -t8 private trace flag to -d2 proper imcc flag for mk_const tracking
Add more debugging verboseness.
Commit: de3dd7831931009d3c10d68882218e01cfe6bd7b
https://github.com/parrot/parrot/commit/de3dd7831931009d3c10d68882218e01cfe6bd7b
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/optimizer.c
M compilers/imcc/parser_util.c
M compilers/imcc/pbc.c
M compilers/imcc/pcc.c
M compilers/imcc/symreg.c
M compilers/imcc/symreg.h
Log Message:
-----------
[imcc] the plot thickens. pass the ghash|0 to _mk_const
do not unescape binary strings containing 0
Commit: 32c1b85f23ec05ab2a9695a842a02c5faabd0ef4
https://github.com/parrot/parrot/commit/32c1b85f23ec05ab2a9695a842a02c5faabd0ef4
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/pbc.c
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] 2 more -t8 leftovers over to -d2
Note that currently string_from_reg is the best place to resolve
encoded U strings, as registers store them the same way as in symreg constants.
But we should optimimze that to be more efficient, see GH #1097
Commit: fabf2bb9c2bd5c46138f41f2d17ed42becde2494
https://github.com/parrot/parrot/commit/fabf2bb9c2bd5c46138f41f2d17ed42becde2494
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] represent constants with \0 as fixed_8:"\x00"
Commit: e0e5dfffe14d353829721d80fd598e0c7e2e4c75
https://github.com/parrot/parrot/commit/e0e5dfffe14d353829721d80fd598e0c7e2e4c75
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] oops
Commit: 4b266feb051706877e2668809c897ce89585c603
https://github.com/parrot/parrot/commit/4b266feb051706877e2668809c897ce89585c603
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/pbc.c
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] fix subid quote stripping
still a battlefield are pmc_const's
which are unquoted, unescaped possibly twice,
and then converted to pmc values.
Commit: da28ed9ba3883600b479379058a189c46edd3a2e
https://github.com/parrot/parrot/commit/da28ed9ba3883600b479379058a189c46edd3a2e
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/symreg.c
M compilers/imcc/symreg.h
Log Message:
-----------
[imcc] add mk_string, unify string quote and unescape handling
Also for mk_sub_address_fromc, _mk_adress, do_loadlib, .lex, mk_const_ident.
This broke the string GC somewhow.
Commit: 5b2a33f96330f4f40d6e5e8270a9d7fd1d753d43
https://github.com/parrot/parrot/commit/5b2a33f96330f4f40d6e5e8270a9d7fd1d753d43
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
M compilers/imcc/symreg.h
Log Message:
-----------
[imcc] fix assertion for empty _mk_const names
compiles now, just parrot2 still broken
Commit: 6c120b59c87c8063f79b4bbf04bd311de1a2724c
https://github.com/parrot/parrot/commit/6c120b59c87c8063f79b4bbf04bd311de1a2724c
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] how to handle empty string constants in _mk_symreg?
Commit: baf952d63066fbdb49160131039b9d9ba17d2673
https://github.com/parrot/parrot/commit/baf952d63066fbdb49160131039b9d9ba17d2673
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] hack to allow NULL strings in sym hash
Commit: 66769fc896118936848b388da41b958356b2fa10
https://github.com/parrot/parrot/commit/66769fc896118936848b388da41b958356b2fa10
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
M src/string/api.c
Log Message:
-----------
[cage] codingstd, comments
Commit: ab4dbd163b342d89a371686061f4928a6773e99c
https://github.com/parrot/parrot/commit/ab4dbd163b342d89a371686061f4928a6773e99c
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
M compilers/imcc/imcparser.h
Log Message:
-----------
[imcc] fix imcc.y syntax error
Commit: 96181c22aca65b6df743706613b894bfcfb9b8f6
https://github.com/parrot/parrot/commit/96181c22aca65b6df743706613b894bfcfb9b8f6
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/symreg.c
M src/packfile/output.c
M src/packfile/segments.c
Log Message:
-----------
[test] fix imcc clash.t tests
all pass now
also work on catching a valgrind problem
unitialized buffer of size 8 written to pbc
with the last CONSTANT bytecode buffer element in default_pack.
valgrind ./parrot_old -t8 -o runtime/parrot/library/PGE/Dumper.pbc
runtime/parrot/library/PGE/Dumper.pir
Commit: f84e710cb860094620f8adf8d69d1bbbd41ac24b
https://github.com/parrot/parrot/commit/f84e710cb860094620f8adf8d69d1bbbd41ac24b
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imclexer.c
M compilers/imcc/imcparser.c
M compilers/imcc/imcparser.h
M compilers/imcc/pbc.c
M compilers/imcc/pcc.c
M config/gen/makefiles/root.in
M config/init/hints/darwin.pm
Log Message:
-----------
[imcc] fix integerarray encoding and loadlib
now only winxed troubles over a null hash key, and
several minor test errors
Commit: 8fa7663730f93f8b1a137bb5544c7e0773a0a30b
https://github.com/parrot/parrot/commit/8fa7663730f93f8b1a137bb5544c7e0773a0a30b
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
Log Message:
-----------
imcc: WIP do_loadlib use external memory for temp string
Commit: 9d469eb99c536bdb7058d04567f35b19b5ad1a60
https://github.com/parrot/parrot/commit/9d469eb99c536bdb7058d04567f35b19b5ad1a60
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/pbc.c
Log Message:
-----------
imcc: never store STRINGNULL in registers
performance-wise it would be a good idea, but the vm is not prepared
to deal with it. e.g. index fails, lots of invalid encoding errors.
maybe we should set the empty string to ascii.
Commit: a190936cd525eb43e4c48a6c96d094307e7b6dca
https://github.com/parrot/parrot/commit/a190936cd525eb43e4c48a6c96d094307e7b6dca
Author: Reini Urban <[email protected]>
Date: 2014-11-06 (Thu, 06 Nov 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
Log Message:
-----------
fixup imcc.y empty .const '' $Pxx = "constant"
only minimal syntax errors remaining:
t/op/stringu.t (Wstat: 256 Tests: 50 Failed: 1)
Failed test: 21
t/op/string_cs.t (Wstat: 256 Tests: 58 Failed: 1)
Failed test: 32
t/pmc/bytebuffer.t (Wstat: 256 Tests: 42 Failed: 2)
Failed tests: 19, 42
Parse errors: Bad plan. You planned 57 tests but ran 42.
t/pmc/multidispatch.t (Wstat: 768 Tests: 47 Failed: 3)
Failed tests: 26-28
t/pmc/packfileview.t (Wstat: 0 Tests: 20 Failed: 4)
Failed tests: 11-14
t/oo/objects.t (Wstat: 256 Tests: 0 Failed: 0)
t/library/mime_base64u.t (Wstat: 256 Tests: 15 Failed: 5)
Failed tests: 3-4, 11-12, 15
Parse errors: Bad plan. You planned 20 tests but ran 15.
t/tools/pbc_disassemble.t (Wstat: 256 Tests: 10 Failed: 1)
Failed test: 10
t/tools/pbc_dump.t (Wstat: 768 Tests: 25 Failed: 3)
Failed tests: 9-11
Compare: https://github.com/parrot/parrot/compare/657f11ff3e8b...a190936cd525_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits