gavin ff3390f60c track m4 files under parsetexi 7 éve
..
m4 ff3390f60c track m4 files under parsetexi 7 éve
ChangeLog 4ac1eef7c7 parsetexi use Texinfo::XSLoader 8 éve
Common.pm 71a37597b6 don't set prefix array for index records 8 éve
Makefile.am 0958308ba4 parsetexi re-add independent executable 8 éve
Parser-5556.pm 2d81f8ad06 move parsetexi subdirectory 8 éve
Parsetexi.pm d297a27d7b parsetexi update 8 éve
Parsetexi.xs c2995e55b0 parsetexi update 8 éve
README 023eff3db7 parsetexi work on floats 8 éve
TODO 2d81f8ad06 move parsetexi subdirectory 8 éve
aclocal.m4 8ada7844c1 parsetexi replace build system 8 éve
api.c f1f14a3f74 parsetexi update 8 éve
api.h 1102d34f07 parsetexi update 8 éve
close.c 8184dbd3da parsetexi invalid nestings 8 éve
command_data.awk a9e26a8434 parsetexi update 8 éve
command_data.txt b93088525a parsetexi update 8 éve
command_ids.h 2d81f8ad06 move parsetexi subdirectory 8 éve
commands.c 4fa11eddf1 parsetexi update 8 éve
commands.h 4fa11eddf1 parsetexi update 8 éve
compile 2d81f8ad06 move parsetexi subdirectory 8 éve
complete_tree.pl 2d81f8ad06 move parsetexi subdirectory 8 éve
configure.ac 8ada7844c1 parsetexi replace build system 8 éve
context_stack.c fc68db0880 parsetexi update 8 éve
context_stack.h 20b403a7f1 parsetexi region is element not just command id 8 éve
convert.c b3fb02e245 avoid apparent range in regex 8 éve
convert.h e06582264b parsetexi check_node_label 8 éve
counter.c 2d81f8ad06 move parsetexi subdirectory 8 éve
counter.h 2d81f8ad06 move parsetexi subdirectory 8 éve
debug.c 2d81f8ad06 move parsetexi subdirectory 8 éve
debug_perl.txt 2d81f8ad06 move parsetexi subdirectory 8 éve
def.c 08a837535d parsetexi update 8 éve
def.h 14778ebc1f parsetexi update 8 éve
depcomp 2d81f8ad06 move parsetexi subdirectory 8 éve
dump_perl.c c2995e55b0 parsetexi update 8 éve
dump_perl.h 2d81f8ad06 move parsetexi subdirectory 8 éve
element_types.awk 2d81f8ad06 move parsetexi subdirectory 8 éve
element_types.c 08a837535d parsetexi update 8 éve
element_types.h 08a837535d parsetexi update 8 éve
element_types.txt 08a837535d parsetexi update 8 éve
end_line.c 52a1a73bc4 parsetexi update 8 éve
errors.c b32cfc83d7 parsetexi macros 8 éve
errors.h b32cfc83d7 parsetexi macros 8 éve
extra.c a3fba4b6d1 parsetexi update 8 éve
handle_commands.c 304d4047dc parsetexi record more global commands 8 éve
handle_commands.h cb4d1b076e parsetexi update 8 éve
indices.c 8184dbd3da parsetexi invalid nestings 8 éve
indices.h 2d81f8ad06 move parsetexi subdirectory 8 éve
input.c 52a1a73bc4 parsetexi update 8 éve
input.h 52a1a73bc4 parsetexi update 8 éve
install-sh 2d81f8ad06 move parsetexi subdirectory 8 éve
labels.c c2995e55b0 parsetexi update 8 éve
labels.h c2995e55b0 parsetexi update 8 éve
macro.c 4c271f3c14 parsetexi convert macrobody only once 8 éve
macro.h b32cfc83d7 parsetexi macros 8 éve
main.c d318471e81 parsetexi update 8 éve
makeinfo 2d81f8ad06 move parsetexi subdirectory 8 éve
makeinfo-debug.txt 2d81f8ad06 move parsetexi subdirectory 8 éve
menus.c c2995e55b0 parsetexi update 8 éve
missing 2d81f8ad06 move parsetexi subdirectory 8 éve
multitable.c 8d1c3b491c parsetexi check_no_text 8 éve
parser.c 52a1a73bc4 parsetexi update 8 éve
parser.h 52a1a73bc4 parsetexi update 8 éve
ppport.h 8ada7844c1 parsetexi replace build system 8 éve
separator.c 8c3da5ae9a parsetexi update 8 éve
text.c 5580765e4d parsetexi convert_to_utf8 8 éve
text.h 5580765e4d parsetexi convert_to_utf8 8 éve
tree.c 2d81f8ad06 move parsetexi subdirectory 8 éve
tree.h 2d81f8ad06 move parsetexi subdirectory 8 éve
tree_types.h 304d4047dc parsetexi record more global commands 8 éve

README

This is an experimental program intended to replicate the functionality
in tp/Texinfo/Parser.pm.


some modifications needed to run at the moment. diff in
tp/diff-for-test-parsetexi.diff

=====================================================================
Notes -

should be able to debug with gdb. Add

./configure PERL_EXT_CFLAGS='-g -O0'

For individual tests can do "gdb perl" followed by e.g.

(gdb) r -w t/27float.t comment_space_comand_in_float

After a single run can set breakpoints.

How to debug with valgrind -
export PERL5LIB to the value in the makeinfo script

with alias VAL='valgrind --log-file=val.log', can do e.g.

VAL perl ./texi2any-C.pl texinfo.texi

also

valgrind --vgdb-error=0 perl texi2any-C.pl texinfo.texi

=====================================================================

Can compare execution runs of parsetexi and Perl makeinfo with

makeinfo -C DEBUG=1 node_structure.texi |& less

vs.

./parsetexi node_structure.texi |& less