🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.programming
Article #36

How to do lexical analysis

#36
From: Ginfan
Date: Wed, 07 Nov 2001 18:03
21 lines
1813 bytes
Hi,

I'm writing a progam to help me document my code. What I want to do is 
parse the entire code for functions, classes, variables, control 
structures and so forth.
So far I have managed some, but my skills are lacking.

From what I understand I need to learn about lexical analysis. Is this 
correct ?

If so can anybody guide me to some tutorials (Preferably with examples, 
and preferably in Delphi) or suggest books.
I have not been lucky in my search so far.

If not, could you please tell me what I should be looking into instead.

Thanks in advance,
Johnny

This message is crossposted in alt.comp.programming, 
borland.public.delphi.objectpascal and comp.programming.
Technical Details
Message-ID: <MPG.165395d4d8f441d989680@news.orangenet.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!kinglear.mobilixnet.dk!news.orangenet.dk!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1043cf,ca91295a89196623,start
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 108717,ca91295a89196623,start
X-Google-Attributes: gid108717,public
X-Google-Thread: 10dce5,ca91295a89196623,start
X-Google-Attributes: gid10dce5,public
X-Google-ArrivalTime: 2001-11-07 10:03:37 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!kinglear.mobilixnet.dk!news.orangenet.dk!not-for-mail
From: Ginfan <no.reply@no.spam.org>
Newsgroups: alt.comp.programming,borland.public.delphi.objectpascal,comp.programming
Subject: How to do lexical analysis
Message-ID: <MPG.165395d4d8f441d989680@news.orangenet.dk>
X-Newsreader: MicroPlanet Gravity v2.50
Lines: 21
Date: Wed, 7 Nov 2001 19:03:21 +0100
NNTP-Posting-Host: 62.199.129.115
X-Complaints-To: abuse@orangedk.com
X-Trace: news.orangenet.dk 1005156206 62.199.129.115 (Wed, 07 Nov 2001 19:03:26 CET)
NNTP-Posting-Date: Wed, 07 Nov 2001 19:03:26 CET
Organization: Orange Internet -- http://www.orangedk.com/