<feed xmlns='http://www.w3.org/2005/Atom'>
<title>odenwald/example/toy-reorder/grammar, branch master</title>
<subtitle>Mirror of https://github.com/pks/odenwald.git
</subtitle>
<id>https://git.simianer.de/mirrored/odenwald/atom?h=master</id>
<link rel='self' href='https://git.simianer.de/mirrored/odenwald/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.simianer.de/mirrored/odenwald/'/>
<updated>2026-02-24T16:07:57Z</updated>
<entry>
<title>Fix reordering bug in derive and add test example</title>
<updated>2026-02-24T16:07:57Z</updated>
<author>
<name>Patrick Simianer</name>
<email>patrick@lilt.com</email>
</author>
<published>2026-02-24T16:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.simianer.de/mirrored/odenwald/commit/?id=77666a09c0f82b231605da463a946a5a5fcd09b6'/>
<id>urn:sha1:77666a09c0f82b231605da463a946a5a5fcd09b6</id>
<content type='text'>
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 -&gt; English SVO) to exercise
the fix. Also updates trollop -&gt; optimist and guards xmlsimple require.

Co-Authored-By: Claude Opus 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
