summaryrefslogtreecommitdiff
path: root/example/toy-reorder/in
AgeCommit message (Collapse)Author
5 daysFix reordering bug in derive and add test examplePatrick Simianer
derive used a sequential counter to index into the source-side NT map, which only worked for monotone rules. Now looks up tails by the target NT's own index via map.index(i.index). Adds toy-reorder example (German verb-final -> English SVO) to exercise the fix. Also updates trollop -> optimist and guards xmlsimple require. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>