Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread David Kastrup
Hans Hagen writes: > in cases where you use tex as processsing engine one can avoid most > tex and especially nasty parsing by just keeping the tricky stuff at > the lua end or in the case of lilypond at the lisp end: just avoid > parsing at the tex end and spit out predictable tex code ... no us

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread Hans Hagen
On 5/7/2013 7:53 PM, David Kastrup wrote: The pipelining (rather than lexer switching) approach used by LuaTeX also means that error messages related to Lua/TeX interoperation are useless: they can't refer to the original source location since that has been lost during tokenizing and detokenizin

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread David Kastrup
Hans Hagen writes: > in cases where you use tex as processsing engine one can avoid most > tex and especially nasty parsing by just keeping the tricky stuff at > the lua end or in the case of lilypond at the lisp end: just avoid > parsing at the tex end and spit out predictable tex code ... no us

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread Hans Hagen
On 5/7/2013 5:57 PM, David Kastrup wrote: Actually, one of such people is a major financial backer of my ongoing work on LilyPond since working on beating consistency into a programming model that was a loose connection of independent hacks at one point of time was what empowered increasingly ef

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread Hans Hagen
On 5/7/2013 1:13 PM, David Kastrup wrote: Hi, at the recent BachoTeX conference, I held a talk comparing LuaTeX and LilyPond integration of their respective extension languages. Now the talk slot was just 30 minutes, so the talk was quite more condensed than the proceedings, and I probably wou

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread David Kastrup
Taco Hoekwater writes: > Hi David, > > On May 7, 2013, at 1:13 PM, David Kastrup wrote: > >> I've added some rough sketches at the end of the article that should >> make clear why this can't be done in formats alone but will require >> primitive support as well if things are supposed to turn out

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread Taco Hoekwater
Hi David, On May 7, 2013, at 1:13 PM, David Kastrup wrote: > I've added some rough sketches at the end of the article that should > make clear why this can't be done in formats alone but will require > primitive support as well if things are supposed to turn out nicely. My brain is wired such t

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread David Kastrup
Bruno Le Floch writes: > Hello David, > >> comparing LuaTeX and LilyPond integration of their respective >> extension languages. >> [...] >> I've added some rough sketches at the end of the article that should >> make clear why this can't be done in formats alone but will require >> primitive sup

Re: [Dev-luatex] Extension language integration of LuaTeX and LilyPond

2013-05-07 Thread Bruno Le Floch
Hello David, > comparing LuaTeX and LilyPond integration of their respective extension > languages. > [...] > I've added some rough sketches at the end of the article that should > make clear why this can't be done in formats alone but will require > primitive support as well if things are suppos