File: CHANGES

package info (click to toggle)
happy 1.18.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,024 kB
  • sloc: haskell: 6,327; xml: 3,388; yacc: 809; makefile: 263
file content (179 lines) | stat: -rw-r--r-- 5,803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
-----------------------------------------------------------------------------
1.18.8
        * Fix a packaging bug (cabal-install-0.10.2 didn't put the
          Happy-generated files in the sdist)

-----------------------------------------------------------------------------
1.18.7

        * Fix a bug in error handling when using %monad without %lexer

-----------------------------------------------------------------------------
Changes from version 1.17 to 1.18

        * New feature: EBNF-style paramterized macros, thanks to
          Iavor Diatchki.
        * Works with Cabal 1.2, 1.4 and 1.6
        * A few minor bugfixes

-----------------------------------------------------------------------------
Changes from version 1.16 to 1.17

        * Cabal 1.2 is required
        * Works with upcoming GHC 6.8.1
        * Fix the 'parE' bug (poor error message for errors in the grammar)
        * Some performance improvements to Happy itself

-----------------------------------------------------------------------------
Changes from version 1.15 to 1.16

	* Switch to a Cabal build system: you need a recent version of Cabal
	  (1.1.6 or later).  If you have GHC 6.4.2, then you need to upgrade
	  Cabal before building Happy.  GHC 6.6 is fine.

	* New %error directive

	* New production forms: {%% .. } and {%^ .. }

	* Added Attribute Grammar support, by Robert Dockins

-----------------------------------------------------------------------------
Changes from version 1.14 to 1.15

	* New %expect directive
	* the list of tokens passed to happyError now includes the current
          token (not %lexer).
	* added support for ambiguous grammars via Generalized LR parsing
	* added %partial to indicate a parser that can return a result
	  before EOF is reached.

-----------------------------------------------------------------------------
Changes from version 1.13 to 1.14

	* New meta-variable $> represents the rightmost token.

	* Happy's OPTIONS pragma is merged with an existing one in
	  the grammar file, if any.

-----------------------------------------------------------------------------
Changes from version 1.11 to 1.13

	* Support for newer versions of GHC (>= 5.04).

	* Addition of an experimental flag: --strict.

-----------------------------------------------------------------------------
Changes from version 1.10 to 1.11

	* tokens no longer have a default precedence - if you 
	  want a token to have a precedence, you have to declare it.

	* bugfix to templates for GHC on 64-bit platforms.

-----------------------------------------------------------------------------
Changes from version 1.9 to 1.10

	* bugfixes, and minor performance improvements,

	* most of the examples work again.

-----------------------------------------------------------------------------
Changes from version 1.8 to 1.9

	* A grammar may now contain several entry points, allowing
	  several parsers to share parts of the grammar.

	* Some bugfixes.

-----------------------------------------------------------------------------
Changes from version 1.6 to 1.8

      * Parser table compression, and more efficient
        table encoding when used with GHC.  Large grammars
        can now be compiled in much less time/space than
        before using GHC.

      * Yacc-style operator precedence, thanks to patches
        from Hermann Oliveira Rodrigues <hermann@dcc.ufmg.br>
        and Josef Svenningsson <josefs@cs.chalmers.se>.

      * A debug option which causes the generated parser to
        print tracing information at each step during parsing.

-----------------------------------------------------------------------------
Changes from version 1.5 to 1.6

* Now written in, and generates, Haskell 98.

* Several bug fixes.

* A new option, -c, generates parsers that use GHC's unsafeCoerce# 
  primitive to speed up parsing and cut down the binary size.
  The -c option can only be used with the -g (GHC extensions) option.

* Parsers generated with the -g option will compile to smaller binaries
  now - some sources of parser-bloat were identified and squished.

* Happy has a new Open Source license, based on the BSD license.

* A sample Haskell parser using Happy is included.

-----------------------------------------------------------------------------
Changes from version 1.2 to version 1.5

* Many bug fixes to the error recovery support, found by experimenting
  with the Haskell grammar and layout.

* Happy is about 5 times faster on large examples, due to some
  changes in the LALR(1) algorithms.

-----------------------------------------------------------------------------
Changes from version 0.9a to version 1.2

* Supports Haskell 1.4

* Lots of bugs fixed

* Performance: the parser generator is at least 20% faster, and
  generated parsers should be faster due to the replacement of a
  data type with a newtype.

* Simple error recovery: designed to be enough to implement the
  Haskell layout rule.

* Revamped monad support: the monad can now be threaded through
  the lexer, enabling passing of state between the parser and the
  lexer (handy for the Haskell layout rule), and consistent error
  handling.

* The %newline feature is removed, the same effect can be achieved
  using the new monad support.

-----------------------------------------------------------------------------
Changes from version 0.8 to 0.9:

* Happy should be much faster than before.

* Generated parsers will be 5-10% smaller.

* Happy now compiles with ghc-0.26.

* Support for monadic parsers via %monad (see the documentation).

* New syntax: previously

	f :: { <type> }
	f : ...
	  | ...
	  etc.

  can now be written

	f :: { <type> }
	  : ...
	  | ...
	  etc.

  (i.e. omit the extra 'f'.  It was always ignored anyway :-)

* Miscellaneous bug fixes.