Hello, I couldn't figure out, how I can get access to the luatex-sources. My concern is: I'm developing a music-score language, as of now called "emil" (= easy music input language), which is likely to move towards Lua. (Hans: we had a short conversation in Darmstadt, if you remember). I am curious to see, how luatex communicates with the tex-interpreter. I'm at the beginning and my first problem is, to get Lua-output as a scannable string back to the calling interpreter. Hans' luatex-manual points out, that luatex has this already built in. So my question: can I get access to the sources, or get a hint, how to output Lua to the calling interpreter, Thanks in advance Christof
Hi Christof,
Hello,
I couldn't figure out, how I can get access to the luatex-sources.
The sources are here: https://foundry.supelec.fr/projects/luatex You can browse online, but because of a problem with the gforge server configuration at the moment you have to be a registered developer to do checkouts. If you know how to use wget, the checkout tree that generates the report to this mailing list is available online as well: http://context.aanhet.net/svn/luatex/ But if can you hold on 'til friday, that is perhaps the best idea. I'll do a snapshot release of the repository then, along with a bit of cleanup and some basic documentation.
My concern is: I'm developing a music-score language, as of now called "emil" (= easy music input language), which is likely to move towards Lua. (Hans: we had a short conversation in Darmstadt, if you remember).
This sounds exciting.
So my question: can I get access to the sources, or get a hint, how to output Lua to the calling interpreter,
Lua code called from within TeX has a command tex.print(). Anything you feed to that function ends up inside LuaTeX as if you executed eTeX's \detokenize instead of \directlua. Cheers, Taco
Christof Schardt wrote:
Hello,
I couldn't figure out, how I can get access to the luatex-sources.
My concern is: I'm developing a music-score language, as of now called "emil" (= easy music input language), which is likely to move towards Lua. (Hans: we had a short conversation in Darmstadt, if you remember). I am curious to see, how luatex communicates with the tex-interpreter. I'm at the beginning and my first problem is, to get Lua-output as a scannable string back to the calling interpreter. Hans' luatex-manual points out, that luatex has this already built in.
So my question: can I get access to the sources, or get a hint, how to output Lua to the calling interpreter,
this is still a bit experimental, but you must think of something \luainstance {lua code} (there can be multiple lua instances) it's fully expandable and you feed back results into the tex input stream with tex.print() very rough picture (a bit behind) www.pragma-ade.com/general/manuals/luatex.pdf Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Christof Schardt
-
Hans Hagen
-
Taco Hoekwater