Open balqui opened 1 year ago
As of mid Thermidor 2024, only the connected component of the function named in .pragma main is checked for having been correctly defined. It runs a depth-first search on the how-def arcs. An old local text file wished for "handle functions that depend on as-yet-undefined functions" which is possible now as long as the main call will not need them. I am likely to consider the current solutions sufficient and to close this issue soon.
Stable for 1.0 and 1.1 but I believe I can get that working more smoothly if the pycode dict is filled up along the returning recursions of check_names instead of upon reading the function. But, then, I have to pay extra care to the case of list() with w_code = 2.
If the dependencies among the defined functions are maintained, one could conceivable offer a "delete function" mechanism.