<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What About JavaScript In Dehydra?</title>
	<atom:link href="http://blog.mozilla.com/tglek/2007/04/04/what-about-javascript-in-dehydra/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/tglek/2007/04/04/what-about-javascript-in-dehydra/</link>
	<description>Just another Blog.mozilla.com weblog</description>
	<lastBuildDate>Wed, 11 Nov 2009 17:56:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brendan Eich</title>
		<link>http://blog.mozilla.com/tglek/2007/04/04/what-about-javascript-in-dehydra/comment-page-1/#comment-1233</link>
		<dc:creator>Brendan Eich</dc:creator>
		<pubDate>Tue, 08 May 2007 00:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/tglek/2007/04/04/what-about-javascript-in-dehydra/#comment-1233</guid>
		<description>Oh, we definitely want an &quot;ElsaXR&quot; that actually parses. Platform-specific #ifdefs pose a problem, of course, but it&#039;s solvable. Taras probably knows the status of this gleam in our eye better and can say more.

/be</description>
		<content:encoded><![CDATA[<p>Oh, we definitely want an &#8220;ElsaXR&#8221; that actually parses. Platform-specific #ifdefs pose a problem, of course, but it&#8217;s solvable. Taras probably knows the status of this gleam in our eye better and can say more.</p>
<p>/be</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik</title>
		<link>http://blog.mozilla.com/tglek/2007/04/04/what-about-javascript-in-dehydra/comment-page-1/#comment-986</link>
		<dc:creator>Fredrik</dc:creator>
		<pubDate>Thu, 05 Apr 2007 11:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/tglek/2007/04/04/what-about-javascript-in-dehydra/#comment-986</guid>
		<description>Very interesting. It&#039;s nice to see your progress reports on this. I&#039;ve had a similar idea for quite some time, basically a LXR that understands the code it&#039;s indexing. Parsing instead of just trying to grep function names or identifiers heuristically. I have a half-assed, not-at-all-finished beginning of a mockup (hehe) for Python, using its built-in parser. Just to see how tricky it is, and how to extract interesting meta-data.

Other thoughts are basically a search interface with CSS-like selectors. If you want to see all integer variables in all functions that has &quot;tree&quot; in the function name, you can get that. You could also add things like &quot;trace identifier&quot; (e.g. a variable) and backtrace through what calls can end up touching it.

Of course, for duck-typed languages, things change a bit. But the general idea would extend to pretty much all high-level languages. Lucene could work as the data backend, since it&#039;s fast and cross-platform. Analysis in Java is probably not a good idea, though. I&#039;ve pondered using Lisp for as much as possible, or native tools for each language (Elsa for C++, since C++ is a horrendous language to parse) and a common intermediate format which is then massaged and fed to a Lucene index.

Anyway, sorry for the rant. And good luck on further progress.</description>
		<content:encoded><![CDATA[<p>Very interesting. It&#8217;s nice to see your progress reports on this. I&#8217;ve had a similar idea for quite some time, basically a LXR that understands the code it&#8217;s indexing. Parsing instead of just trying to grep function names or identifiers heuristically. I have a half-assed, not-at-all-finished beginning of a mockup (hehe) for Python, using its built-in parser. Just to see how tricky it is, and how to extract interesting meta-data.</p>
<p>Other thoughts are basically a search interface with CSS-like selectors. If you want to see all integer variables in all functions that has &#8220;tree&#8221; in the function name, you can get that. You could also add things like &#8220;trace identifier&#8221; (e.g. a variable) and backtrace through what calls can end up touching it.</p>
<p>Of course, for duck-typed languages, things change a bit. But the general idea would extend to pretty much all high-level languages. Lucene could work as the data backend, since it&#8217;s fast and cross-platform. Analysis in Java is probably not a good idea, though. I&#8217;ve pondered using Lisp for as much as possible, or native tools for each language (Elsa for C++, since C++ is a horrendous language to parse) and a common intermediate format which is then massaged and fed to a Lucene index.</p>
<p>Anyway, sorry for the rant. And good luck on further progress.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
