From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd391ba8c7361d92 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-24 06:58:31 PST Path: nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!swiss.ans.net!gatech!psuvax1!news.pop.psu.edu!news.cac.psu.edu!newsserver.jvnc.net!monmouth.edu!moncol!s0222353 From: s0222353@moncol.monmouth.edu (DEAN RUNZEL) Newsgroups: comp.lang.ada Subject: Re: A tool to count lines in Ada programs Date: 24 Feb 1995 14:58:31 GMT Organization: Monmouth College, W. Long Branch, NJ 07764 Message-ID: <3iks6n$ql4@monmouth.edu> References: <3hnv6a$i96@vbohub.vbo.dec.com> <3hq8pb$ah7@Starbase.NeoSoft.COM> <1995Feb15.073335.29411@sei.cmu.edu> <3i0pss$q14@gnat.cs.nyu.edu> NNTP-Posting-Host: moncol.monmouth.edu X-Newsreader: TIN [version 1.2 PL2] Date: 1995-02-24T14:58:31+00:00 List-Id: Robert Dewar (dewar@cs.nyu.edu) wrote: : Phil's comment on "not everyone using Unix" is worth a response. Standard : unix utilities are available on virtually *all* machines, so something like : this wc suggestion is indeed pretty universal. If you don't have a basic : set of unix compatible tools on your PC or whatever, you should get : hold of them, they can certainly make life a little bit easier. True, but the name of the group is comp.lang.ada not comp.os.unix. Now about discussing solutions in Ada, I know of a very simple line counter that was created by Rick Conn. It uses aflex and ayacc to build a lexical analyzer and parser respectively. The tool is very customizable. I am part of a group working to update this to Ada95 as part of our master's thesis. The project will be completed in August. In addition, another group is working on a domain specific kit for building Ada95 tools. I'll pass along the idea of a line counter to them. For now, try searching the PAL for something called Ada_parsing_tool. If you can't find it, e-mail me or Rick Conn and I'll try to get a copy to you. Later, Dean R. Runzel