On 09/25/2015 09:10 AM, luigi scarso wrote:
On Fri, Sep 25, 2015 at 4:09 PM, Orion Poplawski
mailto:orion@cora.nwra.com> wrote: I'm just starting to take a look how luatex makes use of lua. And it appears that luatex does not merely use lua, but extends it in various ways, essentially creating new lua dialect. Is the assessment correct? Is there any documentation on this?
hm, the only relevant patch I can see here https://www.tug.org/svn/texlive/trunk/Build/source/libs/lua52/lua-5.2.4-PATC... is about utf-8 chars in names. For the rest, there are a bunch of libraries as lpeg that are embedded in the interpreter.
It's no so much the changes made to lua directly, but that luatex appears to make use of lua internals, e.g.: texk/web2c/luatexdir/lua/lstrlibext.c includes lapi.h which is not a public lua header. And texk/web2c/luatexdir/lua/texluac.w uses ldebug.h, ldo.h
The current manual is luatexref-t.pdf at foundry.supelec.fr/scm/viewvc.php/trunk/manual/luatexref-t.pdf?root=luatex&view=log http://foundry.supelec.fr/scm/viewvc.php/trunk/manual/luatexref-t.pdf?root=luatex&view=log
Thanks. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com