Siorki / RegPack

Self-contained packer for size-constrained JS code
Other
299 stars 14 forks source link

Non-eval compression #77

Open Siorki opened 7 years ago

Siorki commented 7 years ago

A suggestion for environments that do not allow eval() nor other functions taking a string and turning it into code such as setInterval() or setTimeout().

Develop a new algorithm not using eval, for instance with the old replacement technique M=Math, s=M.sin , automatically tailored to the usage of the input code.

Need to check which preprocessing modules are still usable.