Hi Christopher,

I'm Francesco, the maintainer of crossclj.info

I think it's a very interesting project. Some comments on your proposal:

1) I think the information model is by far most important deliverable. I 
agree with Reid that a sound "coordinate system" is very important

2) The toolchain you want to implement is in part already there. 
Almost all the metadata you list in your current model are already 
extracted by codox; codox already separates the extraction phase from the 
output phase, so you could simply implement the "indexing library" by 
providing a different output module, in order to generate your model 
instead of HTML; the internal representation used by codox is already 
(somehow) a list of namespaces, each one with a list of vars; codox has a 
rich set of tools (lein plugin, etc.) which would be immediately reusable. 
Outputting JSON instead of EDN is a one-liner with Cheshire.

3) I'm not sure about the choice of storing "artifact coordinates" as part 
of a namespace's metadata. Currently it's not the case, the publishing 
recipe is kept separated (say, in project.clj or in a POM file), and a 
namespace at runtime has no notion of its coordinates. I think it's the 
same for all JVM languages. Are we providing extra flexibility, or are we 
simply complecting two different kind of information?

4) One relevant use case is IDE integration: IDEs cannot evaluate source 
code at runtime in order to generate the relevant metadata (it's not safe), 
so having this kind of static info would be really useful, ie. for 
providing users hints on vars generated by macros

Francesco


 


On Monday, March 16, 2015 at 7:53:53 PM UTC+1, Christopher Medrela wrote:
>
> Hello! My name is Christopher Medrela and I'd like to work at "source 
> metadata
> information model" project mentored by Alex Miller at Google Summer of 
> Code. I
> hope that this mailing list is the right place to discuss such projects 
> (if I'm
> wrong, correct me).
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to