home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / compiler / 1439 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1.6 KB

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!spdcc!iecc!compilers-sender
  2. From: magras@cps.msu.edu
  3. Newsgroups: comp.compilers
  4. Subject: What kind of grammar does kermit "DEC style" parser use?
  5. Keywords: parse, question, comment
  6. Message-ID: <92-08-139@comp.compilers>
  7. Date: 22 Aug 92 01:22:04 GMT
  8. Article-I.D.: comp.92-08-139
  9. Sender: compilers-sender@iecc.cambridge.ma.us
  10. Reply-To: magras@cps.msu.edu
  11. Organization: Compilers Central
  12. Lines: 22
  13. Approved: compilers@iecc.cambridge.ma.us
  14.  
  15. The subject line pretty much says it all. What kind of grammar drives the
  16. so-called "DEC style" parser used by most kermit programs? (e.g. "set
  17. parameter ?", info displayed, then "set parameter" appears on command line
  18. with cursor after it) Grammars used by particular implementation(s) would
  19. be appreciated, suggestions on how to do it with less than 4K to allocate
  20. to it also helpful.  In case you haven't guessed, I am using assembly
  21. language, Apple 2/ProDOS/6502 in particular. I have to cut down on the
  22. memory because my Kermit implementation will support full 9024 byte long
  23. packets or windowing with up to 2048 byte (2K) long packets.
  24.  
  25. Thanks in advance,
  26.  
  27. J.C. Magras
  28.  
  29.  magras@cps.msu.edu. | 517 337 2267 | 1736 Burcham Dr., E. Lansing, MI 48823
  30. [A reimplementation of DCL for Unix called VCL that I saw a while ago used
  31. flex and yacc, but the grammar was not surprisingly pretty ugly.  I'd
  32. expect Kermit's parsers probably use a hard coded driver running from
  33. hand-written tables. -John]
  34. -- 
  35. Send compilers articles to compilers@iecc.cambridge.ma.us or
  36. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  37.