As for D lexers and tokenizers, what would be nice is to<div>A) build an antlr grammar for D</div><div>B) build D targets for antlr so that antlr can generate lexers and parsers in the D language.</div><div><br></div><div>
For B) I found <a href="http://www.mbutscher.de/antlrd/index.html">http://www.mbutscher.de/antlrd/index.html</a></div><div><br></div><div>For A) A good list of antlr grammars is at <a href="http://www.antlr.org/grammar/list">http://www.antlr.org/grammar/list</a>, but there isn't a D grammar.</div>
<div><br></div><div>These things wouldn't be an enormous amount of work to create and maintain, and, if done, anyone could parse D code in many languages, including Java and C which would make providing IDE features for D development easier in those languages (eclipse for instance), and you could build lexers and parsers in D using antlr grammars.</div>
<div><br></div><div>-Mike</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 5:09 PM, Bruno Medeiros <span dir="ltr"><brunodomedeiros+spam@com.gmail></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 27/10/2010 22:43, Nick Sabalausky wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"retard"<re@tard.com.invalid> wrote in message<br>
news:iaa44v$17sf$2@digitalmars.com...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I only meant that the widespead adoption of Java shows how the public at<br>
large cares very little about the performance issues you mentioned.<br>
</blockquote>
<br>
The public at large is convinced that "Java is fast now, really!". So I'm<br>
not certain widespread adoption of Java necessarily indicates they don't<br>
care so much about performance. Of course, Java is quickly becoming a legacy<br>
language anyway (the next COBOL, IMO), so that throws another wrench into<br>
the works.<br>
<br>
<br>
</blockquote>
<br>
Java is quickly becoming a legacy language? the next COBOL? SRSLY?...<br>
Just two years ago, the now hugely popular Android platform choose Java as it's language of choice, and you think Java is becoming legacy?...<br>
<br>
The development of the Java language itself has stagnated over the last 6 years or so (especially due to corporate politics, which now has become even worse and uncertain with all the shit Oracle is doing), but that's a completely different statement from saying Java is becoming legacy.<br>
In fact, all the uproar and concern about the future of Java under Oracle, of the JVM, of the JCP (the body that regulates changes to Java),etc., is a testament to the huge popularity of Java. Otherwise people (and corporations) wouldn't care, they would just let it wither away with much less concern.<br>
<font color="#888888">
<br>
<br>
-- <br>
Bruno Medeiros - Software Engineer<br>
</font></blockquote></div><br></div>