Fix metadata on functions.
authorJoel Martin <github@martintribe.org>
Thu, 10 Apr 2014 04:58:27 +0000 (23:58 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 10 Apr 2014 04:58:27 +0000 (23:58 -0500)
commita34b02006527d28db5df5c6553be804770b81f79
tree526fe400e5a8c34b32a3d93439197db09c7f84ad
parentedc3b0640f1b773e185550448e2086279f7b1a7f
Fix metadata on functions.

- Don't use metadata to store ast, env, params data.
- In Clojure, store metadata on the :meta key of the real metadata.
  This also allows using any datatype as metadata.
37 files changed:
clojure/src/core.clj
clojure/src/step0_repl.clj
clojure/src/step1_read_print.clj
clojure/src/step2_eval.clj
clojure/src/step3_env.clj
clojure/src/step4_if_fn_do.clj
clojure/src/step5_tco.clj
clojure/src/step6_file.clj
clojure/src/step7_quote.clj
clojure/src/step8_macros.clj
clojure/src/step9_interop.clj
clojure/src/stepA_more.clj
docs/TODO
js/step5_tco.js
js/step6_file.js
js/step7_quote.js
js/step8_macros.js
js/step9_interop.js
js/stepA_more.js
js/types.js
php/step5_tco.php
php/step6_file.php
php/step7_quote.php
php/step8_macros.php
php/step9_interop.php
php/stepA_more.php
php/types.php
ps/core.ps
python/core.py
python/mal_types.py
python/step5_tco.py
python/step6_file.py
python/step7_quote.py
python/step8_macros.py
python/step9_interop.py
python/stepA_more.py
tests/stepA_more.mal