JSpath

103 views
Skip to first unread message

Peter van der Zee

unread,
Aug 7, 2012, 7:42:14 PM8/7/12
to js-t...@googlegroups.com
To whom it may concern. I've blogged about a system to systematically
refer to certain parts of js source code using unique tags. I refer to
this as JSpath, since it resembles the Xpath system. It might be
useful for automated tool reporting, other than "line x, column y",
and jsdocs. It might also be crap and overly complex. In that case I
just had fun thinking about source code in a very, very geeky way :)

See http://qfox.nl/weblog/262 for details

- peter

Cheney, Austin

unread,
Aug 8, 2012, 12:35:07 PM8/8/12
to js-t...@googlegroups.com
I cannot believe nobody had thought of something like this sooner. It looks like a great idea for JS based code analysis applications. I will consider adding this to my Pretty Diff tool in the coming months as a means to query code components of large input. I would like to think of relevant use cases where something like this is coupled with a transmission scheme for retrieving parts of code from monolithic files.

Austin
--
http://clausreinke.github.com/js-tools/resources.html - tool information
http://groups.google.com/group/js-tools - mailing list information
Reply all
Reply to author
Forward
0 new messages