mkremins / stilts

Tiny interpreted Lisp in ClojureScript
MIT License
5 stars 0 forks source link

Maintain dependency graph between def'd symbols #22

Open mkremins opened 10 years ago

mkremins commented 10 years ago

Maintaining such a dependency graph as part of the environment will allow us to easily implement automatic reloading of dependent defs when a def'd symbol is redefined. This should make the REPL user experience much nicer and perhaps open the door to using Stilts within other ClojureScript tools as an embeddable code analysis module.

The dependency graph implementation used by tools.namespace should suffice.

mkremins commented 10 years ago

I've split off the tools.namespace dependency graph impl into a standalone package that can be used from CLJS.

mkremins commented 9 years ago

Someone else has also done the same.