Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1824
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!216.166.98.84.MISMATCH!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end |
|---|---|
| From | "SLK Mail" <slkpg4@gmail.com> |
| Newsgroups | comp.compilers |
| Subject | Re: some guideline to lexer or parser |
| Date | Wed, 01 Mar 2017 09:27:32 -0800 |
| Organization | SLK Systems |
| Lines | 10 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <17-03-003@comp.compilers> (permalink) |
| References | <17-02-005@comp.compilers> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed; delsp=yes |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="18198"; mail-complaints-to="abuse@iecc.com" |
| Keywords | lex |
| Posted-Date | 01 Mar 2017 20:23:13 EST |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | csiph.com comp.compilers:1824 |
Show key headers only | View raw
Lexing is not hard. If simple enough, you might even use the C library strtok() to tokenize. Re2c is another C possibility. If the grammar is recursive, then recursive descent might be fairly easy to learn. For simple grammars, I still think a parser generator like SLK is the quickest way to get it done in C, C++, C#, Java, or Javascript. The SLK Parser Generator - http://www.slkpg.com
Back to comp.compilers | Previous | Next — Previous in thread | Find similar | Unroll thread
some guideline to lexer or parser chano <noemail@no.spam.com> - 2017-02-27 04:53 +0000 Re: some guideline to lexer or parser George Neuner <gneuner2@comcast.net> - 2017-02-27 15:39 -0500 Re: some guideline to lexer or parser Hans Aberg <haberg-news@telia.com> - 2017-02-27 18:51 +0100 Re: some guideline to lexer or parser Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2017-02-28 11:25 +0100 Re: some guideline to lexer or parser "SLK Mail" <slkpg4@gmail.com> - 2017-03-01 09:27 -0800
csiph-web