Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24384

Re: How to scan Java source texts?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to scan Java source texts?
Date Wed, 12 Jun 2013 12:22:59 -0400
Organization A noiseless patient Spider
Lines 12
Message-ID <kpa6tn$rlv$1@dont-email.me> (permalink)
References <Java-Scanner-20130611180636@ram.dialup.fu-berlin.de> <kp81ku$kst$1@dont-email.me> <tokens-20130611230207@ram.dialup.fu-berlin.de> <kp8kpn$fk1$1@dont-email.me> <kp99n0$1hr$1@dont-email.me> <kp9ac5$46e$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 12 Jun 2013 16:16:55 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="28351"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RzWO8IhneDTvlzphGBADfuMvOoyUZdRA="
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130529 Icedove/17.0.5
In-Reply-To <kp9ac5$46e$1@dont-email.me>
Cancel-Lock sha1:MbJRD04mMWCjHg7En2vve9jOlGI=
Xref csiph.com comp.lang.java.programmer:24384

Show key headers only | View raw


On 06/12/2013 04:15 AM, Jeff Higgins wrote:
> On 06/12/2013 04:04 AM, Jeff Higgins wrote:
>>
>>  From OpenJDK:
>>
> <http://openjdk.java.net/groups/compiler>
It turns out to be surprisingly easy to build javac.
It shouldn't be too hard to add a commandline switch -tokens
and the requisite code to output tokens one per line as
they appear using the Lexer interface.
I don't see a way to do what you want using the existing API.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-11 16:40 -0400
  Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-11 22:07 -0400
    Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 04:04 -0400
      Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 04:15 -0400
        Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 12:22 -0400
          Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 12:55 -0400
          Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 14:38 -0400
            Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 15:38 -0400

csiph-web