[luatex] read and write streams

Hans Hagen pragma at wxs.nl
Thu Nov 19 13:34:15 CET 2015


On 11/19/2015 1:20 PM, David Carlisle wrote:

> I don't know what you count as "often"?
> Looking in the latex area (only) in texlive 2015 I see over a hundred
> files using it:
>
> cd  /usr/local/texlive/2015/texmf-dist/tex/latex
> find . -type f -exec grep -H '\\newread'  \{\} \; | wc -l
>
> 114
>
> Whether anyone wants to load more than 14 of them into luatex
> in the same document is of course a harder question to answer,
> it is though perhaps more likely than needing a few thousand
> catcode tables:-)

but how often multiple newreads?

anyway, it's not just bumping a number but also adapting tests as well 
as a bunch of larger static arrays (keep in mind we have callback sin 
input) .. in fact, one can just write thousands of input handlers in lua

and yes, we could have less catcode tables (256 would do probably)

> Although I have to admit that I was asking on the grounds of symmetry
> in the design of the language rather than actual use.
> That isn't necessarily a bad thing though...

sure, but then we need to get rid of / change some / add to core tex 
thingies too because it's a rather hybrid thing .. never ending

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list