cfelde / cljs4excel

Run a ClojureScript REPL within Microsoft Excel
Eclipse Public License 1.0
137 stars 2 forks source link

Proper loading of scripts #1

Open cfelde opened 8 years ago

cfelde commented 8 years ago

Currently, the REPL is used directly to load ClojureScript code. As the REPL doesn't accept more than one line at a time, and this severely limits its ability to load anything more than simple one-liners.

As an example: The core functions defined in app/cljs4excel.cljs are copied to app/cljs4excel0.cljs where they are defined as one-liners, in order to load them on startup.

This should be fixed so that any valid cljs file can be loaded.

cfelde commented 8 years ago

This is now, at least partially, handled in v0.2 through cljs4excel.core/eval and scratchpad editor.