Assuming that the following assignments a = z.a etc. are correct, is it possible to use a function iso to obtain them. I thought of the name "iso" because in my main code a is a point, z.a is an affix that represents the point.
% !TEX TS-program = lualatex
\documentclass{article}
\usepackage{tkz-euclide}
\usepackage{tkz-elements}
\begin{document}
\parindent = 0pt
\begin{elements}
z.a = {5,2}
z.b = {3,-2}
z.c = {4,0}
-- instead of a = z.a b = z.b c = z.c
__ is it possible to do iso() with
-- function iso ()
-- for i,k in pairs(z) do
-- ????
-- end
-- end
\end{elements}
\end{document}
a'? skip, give error, generate a variable you can not access? It will make the Lua very hard for any human to read as in all normal cases you can read the code statically to see where a variable is defined. It's possible to dynamcally alter the Lua symbol table, but not recommended for any normal use. – David Carlisle Mar 06 '23 at 14:32a', then these are points that are used to construct other points with tools like the ones I have intkz-euclide. I already have a hundred examples and as many lua functions et methods that allow me to recreate with lua all my old examples. I will test again to decide if I use this possibility (but by hand and without macro). – Alain Matthes Mar 06 '23 at 15:02