LSL-PyOptimizer/lslopt
Sei Lisa 921955f321 Implement function overriding syntax extension, fixing a bug on the way.
The funcoverride option allows defining multiple functions with the same name, each overriding the former. That's for compatibility with Firestorm, whose optimizer does that.

While on it, fix a bug where defining a function whose name matches a library function was not reporting an error, and rename self.functions to self.funclibrary for clarity. It also brings consistency with other parts of the code and with the code documentation.
2015-03-27 00:35:37 +01:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lslcommon.py Reorganize main to use getopt. Implement -o for output file and -O help. 2015-03-14 23:17:15 +01:00
lsldeadcode.py Remove globals from symbol table when no longer necessary. 2015-03-13 20:11:57 +01:00
lslextrafuncs.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lslfoldconst.py Optimize out function calls to SEF functions with non-SEF arguments. 2015-03-13 23:48:24 +01:00
lslfuncs.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lsljson.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lsloptimizer.py Warn about float constants that can't be represented in globals. Also don't duplicate the globals warnings. 2015-03-06 23:26:58 +01:00
lsloutput.py Optimize [elem] -> (list)elem on output. Saves us headaches. 2015-03-13 22:42:00 +01:00
lslparse.py Implement function overriding syntax extension, fixing a bug on the way. 2015-03-27 00:35:37 +01:00
lslrenamer.py Rather than generating random identifiers for locals, prefix them with 'loc_'. 2015-03-07 14:51:51 +01:00