Sat, 05 Jul 2008 08:25:43 +0200

Related articles |
---|

How to construct a grammar? michael@schuerig.de (Michael Schuerig) (2008-07-05) |

Re: How to construct a grammar? Meyer-Eltz@t-online.de (Detlef Meyer-Eltz) (2008-07-05) |

Re: How to construct a grammar? cfc@shell01.TheWorld.com (Chris F Clark) (2008-07-05) |

Re: How to construct a grammar? michael@schuerig.de (Michael Schuerig) (2008-07-05) |

Re: How to construct a grammar? cfc@shell01.TheWorld.com (Chris F Clark) (2008-07-06) |

Re: How to construct a grammar? ArarghMail806@Arargh.com (2008-07-06) |

Re: How to construct a grammar? quinn_jackson2004@yahoo.ca (Quinn Tyler Jackson) (2008-07-07) |

From: | Michael Schuerig <michael@schuerig.de> |

Newsgroups: | comp.compilers |

Date: | Sat, 05 Jul 2008 08:25:43 +0200 |

Organization: | Compilers Central |

Keywords: | parse, question |

Posted-Date: | 05 Jul 2008 09:17:41 EDT |

I've read a bit about parsing and compilers once in a while (red

dragon, ANTLR reference), but have no experience building one. To my

embarrassment I realized that I have no clear idea how to construct a

grammar for an existing language.

So, I'm wondering, is there a systematic way to get from a suitable

list of language samples, i.e, without a formal definition to start

with, to a grammar?

Michael

--

Michael Schuerig

mailto:michael@schuerig.de

http://www.schuerig.de/michael/

Post a followup to this message

Return to the
comp.compilers page.

Search the
comp.compilers archives again.