Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch pt-container-ssoberni Excluding Merge-Ins
This is equivalent to a diff from 623801c583 to d907079d5b
2018-07-09
| ||
21:17 | Tkt [351b8b2f55]. Work branch integrated. check-in: 3720e40747 user: andreask tags: trunk | |
21:08 | More tests: syntax, drop unreachable. More comments. Noted untested ops. pt::peg::op <B> - Version bump to 1.0.2 Closed-Leaf check-in: d907079d5b user: andreask tags: pt-container-ssoberni | |
19:49 | Some fixes to the new pe transform testing. check-in: 8436048fee user: andreask tags: pt-container-ssoberni | |
17:14 | docstrip - Moved manpage changes from generated file into the actual package sources. No version change check-in: 180c2ac3c8 user: andreask tags: trunk | |
2018-06-27
| ||
17:16 | Update peg container transform work to latest trunk, including peg ffp fixes. check-in: 63282d761b user: aku tags: pt-container-ssoberni | |
17:07 | Merged FFP work by Stefan Sobernig. check-in: 623801c583 user: aku tags: trunk | |
2018-06-25
| ||
23:00 | Fixes for the FFP tests - Change test grammar to enforce consummation of all input - Fix error in ok grammar example copied from the fail example. - Fix mis-count in the FFP result for the fail example, and missing closing brace Closed-Leaf check-in: d58dafb114 user: aku tags: ssoberni-ffp-3ed39a451f | |
2018-06-20
| ||
05:46 | doctools doctoc - html formatting - anchors based on section titles and file labels. bump to 1.1.7 docidx - html formatting - anchors based on keywords, ignore non-alphanumeric characters. bump to 1.0.8 dtplite - See doc_auto below. Bump to 1.3.1. Further, factored generator blocks into separate procedures. sak / doc_auto - Ignore leading non-alphanumeric characters for sorting. dicttool <D> Typo fix - dicttool.man Regenerated embedded and other documentation. check-in: fe060af06b user: aku tags: trunk | |
Changes to modules/pt/pkgIndex.tcl.
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | package ifneeded pt::pe 1.0.2 [list source [file join $dir pt_pexpression.tcl]] package ifneeded pt::pe::op 1.0.1 [list source [file join $dir pt_pexpr_op.tcl]] # Parsing Expression Grammar support. package ifneeded pt::peg 1 [list source [file join $dir pt_pegrammar.tcl]] package ifneeded pt::peg::container 1 [list source [file join $dir pt_peg_container.tcl]] package ifneeded pt::peg::interp 1.0.1 [list source [file join $dir pt_peg_interp.tcl]] |
︙ |
Changes to modules/pt/pt_peg_op.man.
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | + - + - + | [comment {-*- text -*- doctools manpage}] [vset VERSION 1.0.2] |
︙ |
Changes to modules/pt/pt_peg_op.tcl.
︙ | |||
135 136 137 138 139 140 141 | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | - + - + | set mode() value # calls = array (x -> called-by-x) # caller = array (x -> users-of-x) set changed [$container nonterminals] while {[llength $changed]} { |
︙ | |||
186 187 188 189 190 191 192 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | - + - + | } } # # ## ### ##### ######## ############# proc ::pt::peg::op::minimize {container} { flatten $container |
︙ | |||
300 301 302 303 304 305 306 | 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 | - + - - + + | # Choice is realizable if we have at least one realizable # branch. This is also the place where we have to remove # unrealizable children when we drop unrealizable symbols # from a grammar. return [tcl::mathfunc::max {*}$arguments] } |
︙ | |||
369 370 371 372 373 374 375 | 369 370 371 372 373 374 375 376 377 | - + | ## State / Configuration :: n/a namespace eval ::pt::peg::op {} # # ## ### ##### ######## ############# ##################### ## Ready |
Added modules/pt/pt_peg_op.test.
|
Changes to modules/pt/pt_pexpr_op.tcl.
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | - - + - - - + - - - - - - - + + + + + - - - - - - + + + + + + - - - - + + + + + | # # ## ### ##### ######## ############# ## Internals proc ::pt::pe::op::Drop {dropset pe op arguments} { if {$op eq "n"} { lassign $arguments symbol if {[struct::set contains $dropset $symbol]} { |
︙ |
Added modules/pt/tests/pt_peg_op.tests.