aboutsummaryrefslogtreecommitdiffstats
path: root/test/match.resp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-25 09:24:48 +0000
committerDavid Robillard <d@drobilla.net>2010-12-25 09:24:48 +0000
commit6dec2bd33e6c142664c881405bdc0f9b298e4a11 (patch)
tree8cc17f033c145f2a9467a2c2f56ee7b015fc1a03 /test/match.resp
parentc1ee499d0b14be87b5f5664448507026b9b87fd6 (diff)
downloadresp-6dec2bd33e6c142664c881405bdc0f9b298e4a11.tar.gz
resp-6dec2bd33e6c142664c881405bdc0f9b298e4a11.tar.bz2
resp-6dec2bd33e6c142664c881405bdc0f9b298e4a11.zip
Simplify let to fn, rather than deal with it through to compilation.
The previous implementation of let was a premature optimization intended to make let cheap/free, but screws up closure creation and variable indexing because a new scope is created by something other than fn. Only compile top level expressions to globals (with associated store/retrieve overhead) in a REPL when it is necessary. Add `do' form (ala scheme `begin') to backend (used by `match' simplify). git-svn-id: http://svn.drobilla.net/resp/resp@348 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'test/match.resp')
0 files changed, 0 insertions, 0 deletions