Branch: refs/heads/rurban/lexqnames-gh1095-dev
Home: https://github.com/parrot/parrot
Commit: d962cd9faf05e18d6e1282164e6f62b0cf2fc32a
https://github.com/parrot/parrot/commit/d962cd9faf05e18d6e1282164e6f62b0cf2fc32a
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M t/compilers/imcc/syn/clash.t
Log Message:
-----------
[test] add testcase for double-quoted lex names GH #1095
in perl6 the correctly double-quoted .lex "foo\\o", $P3 name fails to work.
see https://rt.perl.org/Public/Bug/Display.html?id=116643
this might be caused by the switch from globals to lexicals, as this statement
is now enclosed in a block.
in parrot the binary character \0 causes problems in lexnames with roundtrips.
Commit: 3a197faa812c529ca018d1d23ce5db271d7da17c
https://github.com/parrot/parrot/commit/3a197faa812c529ca018d1d23ce5db271d7da17c
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M t/compilers/imcc/syn/clash.t
Log Message:
-----------
[test] Added LexInfo.declare_lex_preg and more imcc/syn/clash.t tests
For GH #1095
global names do work fine, only lexicals not.
Note I do not know how to reliable get the correct target register index for
declare_lex_preg in pure pir, and how to initialize it.
Setting it crashes the ctx.
Commit: 92fd945907c91d539952a3589e1165bcb0e06cff
https://github.com/parrot/parrot/commit/92fd945907c91d539952a3589e1165bcb0e06cff
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M t/compilers/imcc/syn/clash.t
Log Message:
-----------
[test] add testcase for immc parser bug even with globals
Also updated [GH #1095]
Commit: d6140832685b4eae9e5c93ea34d94e2ebba0df78
https://github.com/parrot/parrot/commit/d6140832685b4eae9e5c93ea34d94e2ebba0df78
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M t/compilers/imcc/syn/clash.t
Log Message:
-----------
[test] just clarifying comments about the parser
Commit: 2fe1a9dcaee7d592ed5f852f305300974c38fe84
https://github.com/parrot/parrot/commit/2fe1a9dcaee7d592ed5f852f305300974c38fe84
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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/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: bf9126d4154cd6c65bcdff6a1c3a9c803f6cac94
https://github.com/parrot/parrot/commit/bf9126d4154cd6c65bcdff6a1c3a9c803f6cac94
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/imcc.y
M compilers/imcc/imcparser.c
M compilers/imcc/symreg.c
Log Message:
-----------
WIP mk_const and str_unescape: skip "
Commit: 9951d7420c93e5326b4b8748d34c8b1f2a60ed23
https://github.com/parrot/parrot/commit/9951d7420c93e5326b4b8748d34c8b1f2a60ed23
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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
M t/compilers/imcc/syn/clash.t
Log Message:
-----------
WIP: fixed the tests, but broke parrot
allow and handle now empty strings im imcc, fix
quoted sub names
Commit: b187913996311c765a10559579e9833d096f348b
https://github.com/parrot/parrot/commit/b187913996311c765a10559579e9833d096f348b
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/pbc.c
M src/string/api.c
Log Message:
-----------
imcc encodings: fix unicode encoded constants
Commit: 72c58a80a6ffe138f0522d21c93666a5150d7414
https://github.com/parrot/parrot/commit/72c58a80a6ffe138f0522d21c93666a5150d7414
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: f15f3214d77619aa69ccfac3a8ec4411ddef003a
https://github.com/parrot/parrot/commit/f15f3214d77619aa69ccfac3a8ec4411ddef003a
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: ad079197f85930747efa546cae41197d9295d81a
https://github.com/parrot/parrot/commit/ad079197f85930747efa546cae41197d9295d81a
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: 8d0f9cee9b6dfcc805285b59e69bf664a736a849
https://github.com/parrot/parrot/commit/8d0f9cee9b6dfcc805285b59e69bf664a736a849
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: 70f4f75e59a27efd5c29d3c8c0225c6b045c9639
https://github.com/parrot/parrot/commit/70f4f75e59a27efd5c29d3c8c0225c6b045c9639
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/imcc.y
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: d01713e84c27fdbbce0278ab3fff740593202789
https://github.com/parrot/parrot/commit/d01713e84c27fdbbce0278ab3fff740593202789
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] represent constants with \0 as fixed_8:"\x00"
Commit: bad70af07e2d3797bbbc12abed76a531712882d6
https://github.com/parrot/parrot/commit/bad70af07e2d3797bbbc12abed76a531712882d6
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] oops
Commit: 108597913cd9dc72c4503ccdbd056389dccecf47
https://github.com/parrot/parrot/commit/108597913cd9dc72c4503ccdbd056389dccecf47
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: fb2871a861e4f13f6bf143a523e6805ebb67803a
https://github.com/parrot/parrot/commit/fb2871a861e4f13f6bf143a523e6805ebb67803a
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: 6398fd5801fe6df2aa872841bd4b25b09e8f9903
https://github.com/parrot/parrot/commit/6398fd5801fe6df2aa872841bd4b25b09e8f9903
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: e5378a45fbbaf5fbdbb0285fd019b7b24b102911
https://github.com/parrot/parrot/commit/e5378a45fbbaf5fbdbb0285fd019b7b24b102911
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] how to handle empty string constants in _mk_symreg?
Commit: 9fad974d9b3198ddb17d09cc909ceace84f84ceb
https://github.com/parrot/parrot/commit/9fad974d9b3198ddb17d09cc909ceace84f84ceb
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/symreg.c
Log Message:
-----------
[imcc] hack to allow NULL strings in sym hash
Commit: 295ad9562f595a3fe9e5b9af3e3dda9b8353df31
https://github.com/parrot/parrot/commit/295ad9562f595a3fe9e5b9af3e3dda9b8353df31
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/symreg.c
M src/string/api.c
Log Message:
-----------
[cage] codingstd, comments
Commit: ede9ae677365a727013b4845abd57b677ef9828a
https://github.com/parrot/parrot/commit/ede9ae677365a727013b4845abd57b677ef9828a
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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: 3812fecaa6d4c41b06024a393fd0a5e86f72c6cb
https://github.com/parrot/parrot/commit/3812fecaa6d4c41b06024a393fd0a5e86f72c6cb
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M compilers/imcc/symreg.c
M src/packfile/output.c
M src/packfile/segments.c
M t/compilers/imcc/syn/clash.t
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: 3916dbb762b82012dfcc7112f444c2b703cc1475
https://github.com/parrot/parrot/commit/3916dbb762b82012dfcc7112f444c2b703cc1475
Author: Reini Urban <[email protected]>
Date: 2014-10-24 (Fri, 24 Oct 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
Compare: https://github.com/parrot/parrot/compare/53c92b448822...3916dbb762b8_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits