Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bd5c3d824c3db63ffd9226c15941e6ad > files > 1349

mozart-1.4.0-1mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Gump - A Front-End Generator for Oz</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><P class="margin"><A href="../index.html">Top</A><BR><A href="http://www.mozart-oz.org/download/view.cgi?action=print&class=tools&name=Gump">Print</A></P><H1 align="center" class="title">Gump - A Front-End Generator for Oz</H1><H2 align="center" class="authors"><A href="http://www.ps.uni-sb.de/~kornstae/">Leif&nbsp;Kornstaedt</A></H2><P></P><DIV align="center"><IMG alt="" src="gump.gif"></DIV><P></P><BLOCKQUOTE><P>This manual describes Gump, the front-end generator for Oz. It reads Oz files with embedded scanner and/or parser definitions and produces Oz code as output in which these have been replaced by classes implementing scanners and/or parsers. The semantic actions in the specifications allow the full flexibility and expressivity of Oz to be used. </P></BLOCKQUOTE><HR><UL class="toc"><LI><A href="node1.html#chapter.intro">1 Introduction</A><UL class="toc"><LI><A href="node1.html#label4">Overview</A></LI><LI><A href="node1.html#label5">Acknowledgements</A></LI></UL></LI></UL><UL class="toc"><LI><A href="node2.html#chapter.scanner">2 The Gump Scanner Generator</A><UL class="toc"><LI><A href="node3.html#section.scanner.example">2.1 Example</A><UL class="toc"><LI><A href="node3.html#label19">2.1.1 Writing a Scanner Specification</A></LI><LI><A href="node3.html#label50">2.1.2 Invoking Gump</A></LI><LI><A href="node3.html#label63">2.1.3 Using the Generated Scanner</A></LI></UL></LI><LI><A href="node4.html#section.scanner.reference">2.2 Reference</A><UL class="toc"><LI><A href="node4.html#section.scanner.syntax">2.2.1 Syntax of the Scanner Specification Language</A><UL class="toc"><LI><A href="node4.html#label89">Syntax of Regular Expressions</A></LI><LI><A href="node4.html#label94">Ambiguities and Errors in the Rule Set</A></LI></UL></LI><LI><A href="node4.html#section.scanner.params">2.2.2 Parameters to Scanner Generation</A></LI><LI><A href="node4.html#section.scanner.class">2.2.3 The Mixin Class <CODE>GumpScanner<SPAN class="keyword">.</SPAN><SPAN class="string">'class'</SPAN></CODE></A></LI></UL></LI></UL></LI></UL><UL class="toc"><LI><A href="node5.html#chapter.parser">3 The Gump Parser Generator</A><UL class="toc"><LI><A href="node6.html#section.parser.example">3.1 Example</A><UL class="toc"><LI><A href="node6.html#label169">3.1.1 Writing a Parser Specification</A></LI><LI><A href="node6.html#label198">3.1.2 Invoking Gump</A></LI><LI><A href="node6.html#label206">3.1.3 Using the Generated Parser</A></LI></UL></LI><LI><A href="node7.html#section.parser.reference">3.2 Reference</A><UL class="toc"><LI><A href="node7.html#section.parser.syntax">3.2.1 Syntax of the Parser Specification Language</A><UL class="toc"><LI><A href="node7.html#label214">Token Declarations</A></LI><LI><A href="node7.html#label227">Syntax Rules</A></LI><LI><A href="node7.html#label243">Definition of Production Templates</A></LI><LI><A href="node7.html#label249">Expansion of Production Templates</A></LI><LI><A href="node7.html#label250">Predefined Production Templates</A></LI><LI><A href="node7.html#label253">Assignment of Attribute Types</A></LI></UL></LI><LI><A href="node7.html#section.parser.params">3.2.2 Parameters to Parser Generation</A></LI><LI><A href="node7.html#section.parser.class">3.2.3 The Mixin Class <CODE>GumpParser<SPAN class="keyword">.</SPAN><SPAN class="string">'class'</SPAN></CODE></A></LI></UL></LI></UL></LI></UL><UL class="toc"><LI><A href="node8.html#appendix.notation">A The Used Notation</A><UL class="toc"><LI><A href="node8.html#label298">A.1 Elements from the Oz Syntax</A></LI></UL></LI></UL><UL class="toc"><LI><A href="bib.html#label299">Bibliography</A></LI></UL><UL class="toc"><LI><A href="idx.html#label300">Index</A></LI></UL><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~kornstae/">Leif&nbsp;Kornstaedt</A><BR><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>