es-analysis / plato

JavaScript source code visualization, static analysis, and complexity tool
MIT License
4.56k stars 322 forks source link

Add coffee script support #24

Open elentok opened 11 years ago

elentok commented 11 years ago

Hi,

This is an awesome tool, would it be possible to add coffee script support?

Thanks

jsoverson commented 11 years ago

It would be possible, but the data would need to be gathered from some as-of-yet-developed tool. What good AST generators are there for coffeescript?

michaelficarra commented 11 years ago

https://github.com/michaelficarra/CoffeeScriptRedux

aaylward commented 11 years ago

+1 this would be great!

alexgorbatchev commented 11 years ago

:+1:

clkao commented 11 years ago

+1

jeanlauliac commented 11 years ago

Wouldn't be simpler to be agnostic about the compilation tool, just using coffee -c foo.coffee --map (whether it is redux or the traditional one) to compile coffees to javascript, compute complexity and report files and lines via the source maps?

jsoverson commented 11 years ago

@undashes that wouldn't leave you with an accurate representation of the complexity of the original CoffeeScript, just the resulting JavaScript which, may or may not be, wildly more or less complex than the CoffeeScript that it represents.

These metrics are valuable for developers, so it is important to be able to run and analyze the source as unmodified as possible.

jeanlauliac commented 11 years ago

Mhh, true, it needs to be close to the code. It would not work for JSHint either because coffee-generated JS code is not JSHint compliant (it could use CoffeeLint I guess).

I feels like code analysis is a completely separate layer than the reporting itself (and thus that the project could be agnostic about it, and could almost get backends for anything else than JS and coffee, after all; Python, Ruby...).

MaxDesiatov commented 11 years ago

+1

udl commented 11 years ago

+1

JorisM commented 11 years ago

+1

ulikoehler commented 11 years ago

:+1:

camacho commented 11 years ago

:+1:

matiasfha commented 11 years ago

:+1:

h2non commented 10 years ago

+1

mlutton commented 10 years ago

:+1:

traviskaufman commented 10 years ago

:+1:

Ephigenia commented 10 years ago

:thumbsup:

oferitz commented 10 years ago

+1

plugn commented 10 years ago

+1

jonmumm commented 10 years ago

+1

maxmert commented 10 years ago

+1

gmfx commented 10 years ago

+1

kevin-smets commented 10 years ago

:+1:

interlock commented 10 years ago

:+1:

nmartin413 commented 10 years ago

+1

aeharding commented 10 years ago

+1 wh00t

kix commented 10 years ago

:+1:

realyze commented 10 years ago

+1

gblizycki commented 9 years ago

+1

danielkman commented 9 years ago

+1

PavelVanecek commented 9 years ago

+1

rsboarder commented 9 years ago

+1

maxnowack commented 9 years ago

+1

ranska commented 9 years ago

+1

RomanCPodolski commented 9 years ago

+1

raulsouzalima commented 9 years ago

+1

msuarz commented 9 years ago

+1

alinex commented 9 years ago

+1

Galaf commented 9 years ago

+1

fjaguero commented 9 years ago

Is there any update on this? I mean, in terms of priorization/milestones.

abarnwell commented 8 years ago

+1

sivagao commented 8 years ago

+1 any update on this?