<< Back to previous view

[TNS-29] Parse cljs files Created: 07/Dec/14  Updated: 01/Jul/15  Resolved: 08/Dec/14

Status: Closed
Project: tools.namespace
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: Yehonathan Sharvit Assignee: Stuart Sierra
Resolution: Declined Votes: 0
Labels: None

Attachments: Text File 0001-add-file-clojurescript-file-and-find-find-clojurescr.patch     Text File 0001-add-file-clojurescript-file-and-find-find-clojurescr.patch    
Patch: Code

 Description   

Add a function clojure.tools.namespace.find/find-clojurescript-sources-in-dir to parse cljs files



 Comments   
Comment by Yehonathan Sharvit [ 07/Dec/14 10:37 AM ]

This would be nice to have this function.
For example lein-hiera (https://github.com/greglook/lein-hiera) relies on tools.namespace.
Currently lein-hiera is not usable for cljs projects.

Comment by Yehonathan Sharvit [ 07/Dec/14 11:19 AM ]

a better patch: clj files are also considered as cljs source files

Comment by Stuart Sierra [ 08/Dec/14 3:37 PM ]

I am reluctant to add anything related to ClojureScript files until a final decision has been made regarding Feature Expressions, which may include alternative file extensions. http://dev.clojure.org/display/design/Feature+Expressions

Comment by Yehonathan Sharvit [ 01/Jul/15 1:20 AM ]

Now that reader conditionals is part of clojure, could your reconsider support cljs files parsing?





Generated at Wed Jul 01 10:44:54 CDT 2015 using JIRA 4.4#649-r158309.