This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # Copyright © 2026 Tomte Bender <tomte.bender@gmail.com> | |
| # This file is licensed under tomteb's Quick License. If a copy of the license was | |
| # not provided together with this file, you can recieve one at <https://github.com/tomtebender/tbql-license/blob/main/LICENSE>. | |
| import sys, re, os | |
| from os.path import dirname | |
| def walk_includes(fpath): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function tab2str(tab) | |
| local s = "{" | |
| for i,v in pairs(tab) do | |
| if type(v) == "table" then | |
| s = s.."{" | |
| for it,vt in pairs(v) do | |
| if type(vt) == "table" then | |
| s = s.."{" | |
| s = s..stringall.table(vt) | |
| if it ~= #v then |