Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add happy's website #226

Merged
merged 26 commits into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3d4582a
initial import
Jun 28, 2006
86bfab2
1.16 updates
Jan 8, 2007
007294b
fix release date
Jan 8, 2007
3d8ac28
use PDF for 1.16, not PS
Jan 12, 2007
953ebec
fix RPM links
Feb 21, 2007
6318fde
fix link to Windows bin
Feb 27, 2007
c3b72d5
1.17 updates
Oct 23, 2007
7d7fee1
fix win32 zip link
Oct 31, 2007
4c553fa
Fix windows distribution link
Nov 23, 2007
780ae23
update to 1.18
Jun 17, 2010
c739aea
update for 1.18.5
simonmar Jun 17, 2010
aa640d1
Add uncommitted files from the Happy website
Ericson2314 Nov 7, 2022
34b67e3
Add files that didn't get ported over for some reason
Ericson2314 Nov 7, 2022
13da836
Add 'site/happy/' from commit '34b67e39d94885ebf1588d7763f737d73d70e8be'
Ericson2314 Nov 7, 2022
90405fb
Happy is no longer handled specially
Ericson2314 Nov 7, 2022
28672d2
Add happy to the builder
Ericson2314 Nov 10, 2022
73b29d4
Get Happy.gif from main happy repo
Ericson2314 Nov 10, 2022
80b9d14
Remove `site/happy/doc_OLD`
Ericson2314 Nov 10, 2022
82f7259
Remove `site/happy/doc/html-OLD`
Ericson2314 Nov 10, 2022
39a2d5a
Remove site/happy/.{current-hash,darcs-boring}
Ericson2314 Nov 10, 2022
7134d08
happy: Some cleaning up of the web page
Ericson2314 Nov 10, 2022
fed77b6
Removed unversioned docs
Ericson2314 Nov 10, 2022
3f38d2b
Remove extra copy of change log
Ericson2314 Nov 10, 2022
cf89a17
Link current readthedocs.io documentation
Ericson2314 Nov 10, 2022
3a86326
Happy: Update repo references
Ericson2314 Nov 11, 2022
a71f0e4
Merge branch 'master' into add-happy
TikhonJelvis Nov 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ Some of the others are
| [`arrows/`](https://www.haskell.org/arrows/) | | Ross Patterson | |
| [`communities/`](https://www.haskell.org/communities/) | | | [Details](#details-communities) |
| [`definition/`](https://www.haskell.org/definition/) | | Haskell Prime committee | [Details](#details-definition) |
| [`happy/`](https://www.haskell.org/happy/) | | Happy maintainers | [Details](#details-happy) |
| [`haskell-workshop/`](https://www.haskell.org/haskell-workshop/) | | Haskell Symposium organisers | [Details](#details-haskell-workshop) |
| [`hugs/`](https://www.haskell.org/hugs/) | | | [Details](#details-hugs) |
| [`nhc98/`](https://www.haskell.org/nhc98/) | | York Functional Programming Group | [Details](#details-nhc98) |
Expand Down Expand Up @@ -170,11 +169,6 @@ Some of the others are
* <a name="details-haddock"></a>
`haddock/`

* <a name="details-happy"></a>
`happy/`

See also <https://github.com/haskell-infra/www.haskell.org/issues/183>

* <a name="details-haskell-workshop"></a>
`haskell-workshop/`

Expand Down
4 changes: 4 additions & 0 deletions builder/site.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ main = mkContext >>= \ctx -> hakyllWith configuration $ do
route idRoute
compile copyFileCompiler

match "happy/**" $ do
route idRoute
compile copyFileCompiler

match "css/*" $ do
route idRoute
compile compressCssCompiler
Expand Down
Binary file added site/happy/dist/1.10/happy-1-10.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.10/happy-1.10-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.11/OpenBSD/happy-1.11.tgz
Binary file not shown.
Binary file added site/happy/dist/1.11/happy-1-11.exe
Binary file not shown.
Binary file added site/happy/dist/1.11/happy-1.11-1.i386.rpm
Binary file not shown.
Binary file added site/happy/dist/1.11/happy-1.11-1.src.rpm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.11/happy-1.11-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.13/happy-1-13.msi
Binary file not shown.
Binary file added site/happy/dist/1.13/happy-1.13-1.i386.rpm
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.13/happy-1.13-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.14/happy-1.14-1.i386.rpm
Binary file not shown.
Binary file added site/happy/dist/1.14/happy-1.14-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.15/happy-1.15-1.i386.rpm
Binary file not shown.
Binary file added site/happy/dist/1.15/happy-1.15-Win32.zip
Binary file not shown.
Binary file added site/happy/dist/1.15/happy-1.15-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.16/FC5/happy-1.16-1.x86_64.rpm
Binary file not shown.
Binary file added site/happy/dist/1.16/RH9/happy-1.16-1.i386.rpm
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.16/happy-1.16.tar.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.17/happy-1.17.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.17/happy-1.17.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.5/happy-1.5-src.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.6/happy-1.6-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.6/happy-www.tra.gz
Binary file not shown.
Binary file added site/happy/dist/1.7/happy-1-7.exe
Binary file not shown.
Binary file added site/happy/dist/1.8/happy-1-8.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.8/happy-1.8-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/1.9/happy-1-9.exe
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/1.9/happy-1.9-src.tar.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added site/happy/dist/happy-1.5-src.tar.gz
Binary file not shown.
Binary file added site/happy/dist/happy-Win32-snap.zip
Binary file not shown.
Binary file added site/happy/doc-1.11/html/caution.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions site/happy/doc-1.11/html/docbook.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.BOOK .TITLE { text-align: center }
.BOOK .SUBTITLE { text-align: center }
.BOOK .CORPAUTHOR { text-align: center }
.BOOK .AUTHOR { text-align: center }
.BOOK .AFFILIATION { text-align: center }
.BOOK .EDITEDBY { text-align: center }
.BOOK .EDITOR { text-align: center }
.BOOK .GRAPHIC { text-align: center }

.ARTICLE .TITLE { text-align: center }
.ARTICLE .SUBTITLE { text-align: center }
.ARTICLE .CORPAUTHOR { text-align: center }
.ARTICLE .AUTHOR { text-align: center }
.ARTICLE .AFFILIATION { text-align: center }
.ARTICLE .EDITEDBY { text-align: center }
.ARTICLE .EDITOR { text-align: center }
.ARTICLE .GRAPHIC { text-align: center }
.ARTICLE .ABSTRACT { margin-left: 0.5in;
margin-right: 0.5in;
font-style: italic }
312 changes: 312 additions & 0 deletions site/happy/doc-1.11/html/happy-introduction.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
<HTML
><HEAD
><TITLE
>Introduction</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"><LINK
REL="HOME"
TITLE="Happy User Guide"
HREF="happy.html"><LINK
REL="PREVIOUS"
TITLE="Happy User Guide"
HREF="happy.html"><LINK
REL="NEXT"
TITLE="Reporting Bugs"
HREF="sec-reporting-bugs.html"></HEAD
><BODY
CLASS="CHAPTER"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Happy User Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="happy.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="sec-reporting-bugs.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="HAPPY-INTRODUCTION"
>Chapter 1. Introduction</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><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
></DIV
><P
> <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> is a parser generator
system for Haskell, similar to the tool
<SPAN
CLASS="APPLICATION"
>yacc</SPAN
> for C. Like
<SPAN
CLASS="APPLICATION"
>yacc</SPAN
>, it takes a file containing an
annotated BNF specification of a grammar and produces a Haskell
module containing a parser for the grammar. </P
><P
> <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> is flexible; unlike
<SPAN
CLASS="APPLICATION"
>yacc</SPAN
>, you can have several
<SPAN
CLASS="APPLICATION"
>Happy</SPAN
> parsers in the same program, and
each parser may have multiple entry points.
<SPAN
CLASS="APPLICATION"
>Happy</SPAN
> can work in conjunction with a
lexical analyser supplied by the user (either hand-written or
generated by another program), or it can parse a stream of
characters directly (but this isn't practical in most cases). In
a future version we hope to include a lexical analyser generator
with <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> as a single package. </P
><P
> Parsers generated by <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> are
fast; generally faster than an equivalent parser written using
parsing combinators or similar tools. Furthermore, any future
improvements made to <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> will benefit
an existing grammar, without need for a rewrite. </P
><P
> <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> is sufficiently powerful
to parse Haskell itself - there's a freely available Haskell
parser written using <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> which can be
obtained from <A
HREF="http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/hsparser.html"
TARGET="_top"
> The <TT
CLASS="LITERAL"
>hsparser</TT
> Page</A
>, and included with versions of
GHC from 5.00 onwards.</P
><P
> <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> can currently generate
four types of parser from a given grammar, the intention being
that we can experiment with different kinds of functional code to
see which is the best, and compiler writers can use the different
types of parser to tune their compilers. The types of parser
supported are: </P
><P
></P
><OL
TYPE="1"
><LI
><A
NAME="ITEM-DEFAULT-BACKEND"
></A
><P
>`standard' Haskell 98
(should work with any compiler that compiles Haskell
98).</P
></LI
><LI
><P
>standard Haskell using arrays


(this is not the default because we have
found this generates slower parsers than <A
HREF="happy-introduction.html#ITEM-DEFAULT-BACKEND"
>1</A
>).</P
></LI
><LI
><P
>Haskell with GHC (Glasgow Haskell) extensions.
This is a slightly faster option than <A
HREF="happy-introduction.html#ITEM-DEFAULT-BACKEND"
>1</A
> for Glasgow Haskell
users.</P
></LI
><LI
><P
>GHC Haskell with string-encoded arrays. This is the
fastest/smallest option for GHC users. If you're using GHC,
the optimum flag settings are <TT
CLASS="LITERAL"
>-agc</TT
> (see
<A
HREF="sec-invoking.html"
>Chapter 3</A
>).</P
></LI
></OL
><P
>Happy can also generate parsers which will dump debugging
information at run time, showing state transitions and the input
tokens to the parser.</P
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="SEC-COMPATIBILITY"
>1.1. Compatibility</A
></H1
><P
> <SPAN
CLASS="APPLICATION"
>Happy</SPAN
> is written in Glasgow Haskell. This
means that (for the time being), you need GHC to compile it.
Any version of GHC &#62;= 3.02 should work.</P
><P
> Remember: parsers produced using
<SPAN
CLASS="APPLICATION"
>Happy</SPAN
> should compile without
difficulty under any Haskell 98 complier or interpreter.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="happy.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="happy.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="sec-reporting-bugs.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Happy User Guide</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Reporting Bugs</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
Loading