Tino Didriksen <tino.didrik...@gmail.com> čálii: > https://github.com/apertium/apertium-por-cat uses both metalrx.py and the > XSLT. > > I have moved all these shared scripts and XSLTs to apertium ( > https://github.com/apertium/apertium/tree/master/scripts ), and will be > updating languages/pairs to use them from there.
So it seems the python script https://github.com/apertium/apertium/blob/master/scripts/apertium-metalrx lets you do <def-macro> with templates like {{pfoo}}: https://github.com/apertium/apertium-por-cat/blob/master/apertium-por-cat.cat-por.metalrx#L5 that the caller can replace: https://github.com/apertium/apertium-por-cat/blob/master/apertium-por-cat.cat-por.metalrx#L3223 Perhaps https://github.com/apertium/apertium/blob/master/scripts/apertium-metalrx-to-lrx.in should call both the XSLT and the python script? It seems they should be compatible, doing nothing if the special features aren't used. (If so, scripts/apertium-metalrx should probably be named somethingelse.py.)
signature.asc
Description: PGP signature
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff