downthemall / anticontainer

DownThemAll! AntiContainer (Extension to a Firefox, Seamonkey extension)
Mozilla Public License 2.0
93 stars 41 forks source link

Make generator expression syntax accept nested expressions #53

Open poke opened 12 years ago

poke commented 12 years ago

Expand the generator expression syntax, used in both the generator and builder properties, to accept nested expressions within or and replace expressions. The following use cases are of interest:

To support this, the expression functions would implicitely translate single numbers in parameters automatically to {num:N} (or {N}), providing full backwards compatibility.

Alternative would be to use a sandbox for this, but I feel that adds a lot more complexity than necessary.