tabularray icon indicating copy to clipboard operation
tabularray copied to clipboard

Rewrite table building code with Lua

Open lvjr opened this issue 2 years ago • 2 comments

Maybe we can rewrite table building code with Lua language in the future. This would make tabularray run much faster on LuaTeX.

lvjr avatar May 22 '22 11:05 lvjr

Since lua doesn't have catcodes, there might be some limitations in building tables with lua.

lvjr avatar Nov 30 '22 14:11 lvjr

Just come across this -- maybe you already know but Lua has some support for tokens.

Lots of things need to be manually implemented though e.g. you can't create a control sequence not in the hash table on Lua side (but then Lua doesn't even have a built-in to concatenate to tables so maybe this is expected...)

https://tex.stackexchange.com/questions/45293/can-the-lua-part-of-luatex-know-about-tokens/

user202729 avatar May 19 '23 07:05 user202729