Tcl Library Source Code

Check-in [bce28f8438]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Ticket [7665c3532c]. Matching the empty string, i.e. epsilon. Extended the Literal command in the AST traversal part of the PEG importer to recognize the empty string and generate the proper PE (i.e. epsilon). Extended the Convert command of the PEG exporter to properly convert epsilon into an empty string. Extended testsuite. (Not fully tested yet)
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | pt-bug-7665c3532c-epsilon
Files: files | file ages | folders
SHA1: bce28f84383803c65f60e2c2e8c7b3f42d6cd69b
User & Date: andreask 2014-01-21 22:52:10.842
Context
2014-01-22
08:45
Fix all issues with the extended tests. I.e. replace various placeholder data with the real thing. check-in: 66707cafa9 user: aku tags: pt-bug-7665c3532c-epsilon
2014-01-21
22:52
Ticket [7665c3532c]. Matching the empty string, i.e. epsilon. Extended the Literal command in the AST traversal part of the PEG importer to recognize the empty string and generate the proper PE (i.e. epsilon). Extended the Convert command of the PEG exporter to properly convert epsilon into an empty string. Extended testsuite. (Not fully tested yet) check-in: bce28f8438 user: andreask tags: pt-bug-7665c3532c-epsilon
19:34
Updated embedded documentation check-in: 2b1eb9024a user: aku tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Changes to modules/pt/pt_peg_from_peg.tcl.
Changes to modules/pt/pt_peg_to_peg.tcl.
Added modules/pt/tests/data/ok/peg_container-bulk/11_epsilon.
Added modules/pt/tests/data/ok/peg_container-incremental/11_epsilon.
Added modules/pt/tests/data/ok/peg_container-templated-bulk/11_epsilon.
Added modules/pt/tests/data/ok/peg_container-templated-incremental/11_epsilon.
Added modules/pt/tests/data/ok/peg_cparam-critcl/11_epsilon.
Added modules/pt/tests/data/ok/peg_cparam/11_epsilon.
Added modules/pt/tests/data/ok/peg_json-indalign/11_epsilon.
Added modules/pt/tests/data/ok/peg_json-indented/11_epsilon.
Added modules/pt/tests/data/ok/peg_json-ultracompact/11_epsilon.
Added modules/pt/tests/data/ok/peg_param-compact/11_epsilon.
Added modules/pt/tests/data/ok/peg_param-inlined/11_epsilon.
Added modules/pt/tests/data/ok/peg_param-unopt/11_epsilon.
Added modules/pt/tests/data/ok/peg_param/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-ast-fused/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-ast-templated-fused/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-ast-templated/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-ast/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-fused/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-templated-fused/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg-templated/11_epsilon.
Added modules/pt/tests/data/ok/peg_peg/11_epsilon.
Added modules/pt/tests/data/ok/peg_serial-canonical/11_epsilon.
Added modules/pt/tests/data/ok/peg_serial-print/11_epsilon.
Added modules/pt/tests/data/ok/peg_serial/11_epsilon.
Added modules/pt/tests/data/ok/peg_tclparam-snit/11_epsilon.
Added modules/pt/tests/data/ok/peg_tclparam-tcloo/11_epsilon.
Added modules/pt/tests/data/ok/peg_tclparam/11_epsilon.
Changes to modules/pt/tests/pt_astree.tests.
Changes to modules/pt/tests/pt_cparam_config_critcl.tests.
Changes to modules/pt/tests/pt_parse_peg.tests.
Changes to modules/pt/tests/pt_peg_export_container.tests.
Changes to modules/pt/tests/pt_peg_export_json.tests.
Changes to modules/pt/tests/pt_peg_export_peg.tests.
Changes to modules/pt/tests/pt_peg_export_plugins.tests.
Changes to modules/pt/tests/pt_peg_from_json.tests.
Changes to modules/pt/tests/pt_peg_from_peg.tests.
Changes to modules/pt/tests/pt_peg_import_json.tests.
Changes to modules/pt/tests/pt_peg_import_peg.tests.
Changes to modules/pt/tests/pt_peg_import_plugins.tests.
Changes to modules/pt/tests/pt_peg_interp.tests.
Changes to modules/pt/tests/pt_peg_to_container.tests.
Changes to modules/pt/tests/pt_peg_to_cparam.tests.
Changes to modules/pt/tests/pt_peg_to_json.tests.
Changes to modules/pt/tests/pt_peg_to_param.tests.
Changes to modules/pt/tests/pt_peg_to_peg.tests.
Changes to modules/pt/tests/pt_peg_to_tclparam.tests.
Changes to modules/pt/tests/pt_pegrammar.tests.
Changes to modules/pt/tests/pt_pexpression.tests.
Changes to modules/pt/tests/pt_tclparam_config_snit.tests.
Changes to modules/pt/tests/pt_tclparam_config_tcloo.tests.