?? happy.html
字號(hào):
<HTML
><HEAD
><TITLE
>Happy User Guide</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.74b"><LINK
REL="NEXT"
TITLE="Introduction"
HREF="happy-introduction.html"></HEAD
><BODY
CLASS="BOOK"
><DIV
CLASS="BOOK"
><A
NAME="HAPPY"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
>Happy User Guide</A
></H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN5"
>Simon Marlow</A
></H3
><H3
CLASS="AUTHOR"
><A
NAME="AEN8"
>Andy Gill</A
></H3
><P
CLASS="COPYRIGHT"
>Copyright © 1997-2001 by Simon Marlow</P
><DIV
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN16"
></A
><P
></P
><P
>This document describes Happy, the Haskell Parser
Generator, version 1.11.</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="happy-introduction.html"
>Introduction</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="happy-introduction.html#SEC-COMPATIBILITY"
>Compatibility</A
></DT
><DT
>1.2. <A
HREF="sec-reporting-bugs.html"
>Reporting Bugs</A
></DT
><DT
>1.3. <A
HREF="sec-license.html"
>License</A
></DT
><DT
>1.4. <A
HREF="sec-obtaining.html"
>Obtaining <SPAN
CLASS="APPLICATION"
>Happy</SPAN
></A
></DT
></DL
></DD
><DT
>2. <A
HREF="sec-using.html"
>Using <SPAN
CLASS="APPLICATION"
>Happy</SPAN
></A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="sec-using.html#SEC-OTHER-DATATYPES"
>Returning other datatypes</A
></DT
><DT
>2.2. <A
HREF="sec-sequences.html"
>Parsing sequences</A
></DT
><DD
><DL
><DT
>2.2.1. <A
HREF="sec-sequences.html#SEC-SEPARATORS"
>Sequences with separators</A
></DT
></DL
></DD
><DT
>2.3. <A
HREF="sec-precedences.html"
>Using Precedences</A
></DT
><DD
><DL
><DT
>2.3.1. <A
HREF="sec-precedences.html#HOW-PRECEDENCE-WORKS"
>How precedence works</A
></DT
><DT
>2.3.2. <A
HREF="sec-precedences.html#CONTEXT-PRECEDENCE"
>Context-dependent Precedence</A
></DT
></DL
></DD
><DT
>2.4. <A
HREF="sec-type-signatures.html"
>Type Signatures</A
></DT
><DT
>2.5. <A
HREF="sec-monads.html"
>Monadic Parsers</A
></DT
><DD
><DL
><DT
>2.5.1. <A
HREF="sec-monads.html#SEC-EXCEPTION"
>Handling Parse Errors</A
></DT
><DT
>2.5.2. <A
HREF="sec-monads.html#SEC-LEXERS"
>Threaded Lexers</A
></DT
><DT
>2.5.3. <A
HREF="sec-monads.html#SEC-LINE-NUMBERS"
>Line Numbers</A
></DT
><DT
>2.5.4. <A
HREF="sec-monads.html#SEC-MONAD-SUMMARY"
>Summary</A
></DT
></DL
></DD
><DT
>2.6. <A
HREF="sec-error.html"
>The Error Token</A
></DT
><DT
>2.7. <A
HREF="sec-multiple-parsers.html"
>Generating Multiple Parsers From a Single Grammar</A
></DT
></DL
></DD
><DT
>3. <A
HREF="sec-invoking.html"
>Invoking <SPAN
CLASS="APPLICATION"
>Happy</SPAN
></A
></DT
><DT
>4. <A
HREF="sec-grammar-files.html"
>Syntax of Grammar Files</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="sec-grammar-files.html#SEC-LEXICAL-RULES"
>Lexical Rules</A
></DT
><DT
>4.2. <A
HREF="sec-module-header.html"
>Module Header</A
></DT
><DT
>4.3. <A
HREF="sec-directives.html"
>Directives</A
></DT
><DD
><DL
><DT
>4.3.1. <A
HREF="sec-directives.html#SEC-TOKEN-TYPE"
>Token Type</A
></DT
><DT
>4.3.2. <A
HREF="sec-directives.html#SEC-TOKENS"
>Tokens</A
></DT
><DT
>4.3.3. <A
HREF="sec-directives.html#SEC-PARSER-NAME"
>Parser Name</A
></DT
><DT
>4.3.4. <A
HREF="sec-directives.html#SEC-MONAD-DECL"
>Monad Directive</A
></DT
><DT
>4.3.5. <A
HREF="sec-directives.html#SEC-LEXER-DECL"
>Lexical Analyser</A
></DT
><DT
>4.3.6. <A
HREF="sec-directives.html#SEC-PREC-DECLS"
>Precedence declarations</A
></DT
></DL
></DD
><DT
>4.4. <A
HREF="sec-grammar.html"
>Grammar</A
></DT
><DT
>4.5. <A
HREF="sec-module-trailer.html"
>Module Trailer</A
></DT
></DL
></DD
><DT
>5. <A
HREF="sec-info-files.html"
>Info Files</A
></DT
><DT
>6. <A
HREF="sec-tips.html"
>Tips</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="sec-tips.html#SEC-PERFORMANCE-TIPS"
>Performance Tips</A
></DT
><DT
>6.2. <A
HREF="sec-compilation-time.html"
>Compilation-Time Tips</A
></DT
><DT
>6.3. <A
HREF="sec-finding-errors.html"
>Finding Type Errors</A
></DT
><DT
>6.4. <A
HREF="sec-conflict-tips.html"
>Conflict Tips</A
></DT
><DD
><DL
><DT
>6.4.1. <A
HREF="sec-conflict-tips.html#SEC-LALR"
>LALR(1) parsers</A
></DT
></DL
></DD
><DT
>6.5. <A
HREF="sec-happy-ghci.html"
>Using Happy with <SPAN
CLASS="APPLICATION"
>GHCi</SPAN
></A
></DT
></DL
></DD
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
> </TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
> </TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="happy-introduction.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
> </TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
> </TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Introduction</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -