Am 10.08.2025 um 11:33 schrieb Hraban Ramm:
Hi again,

for caching some generated data, I’d like to save a nested Lua table to a file, and load it later.

I found http://lua-users.org/wiki/SaveTableToFile

Is there already something (better) in ConTeXt? I'd assume, since the functionality is needed for tuc files?

table.tofile("my_file.lua",my_table)

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to