|
Packit |
2cbdf3 |
## Changes in 3.2.3:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* fix issue when using ccphs (#116)
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.2.2:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Manage line length in generated files [GH-84]
|
|
Packit |
2cbdf3 |
* Fix issue when identifier with multiple single quotes, e.g. `foo''` was used
|
|
Packit |
2cbdf3 |
* Allow omitting spaces around `=` in macro definitions
|
|
Packit |
2cbdf3 |
* Include pre-generated Parser.hs and Scan.hs in the Hackage upload, to
|
|
Packit |
2cbdf3 |
make bootstrapping easier.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.2.1:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Fix build problem with GHC; add new test tokens_scan_user.x
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.2.0:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Allow the token type and productions to be overloaded, and add new
|
|
Packit |
2cbdf3 |
directives: %token, %typeclass, %action. See "Type Signatures and
|
|
Packit |
2cbdf3 |
Typeclasses" in the manual.
|
|
Packit |
2cbdf3 |
* Some small space leak fixes
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.7:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Add support for `%encoding` directive
|
|
Packit |
2cbdf3 |
(allows to control `--latin1` from inside Alex scripts)
|
|
Packit |
2cbdf3 |
* Make code forward-compatible with in-progress proposals
|
|
Packit |
2cbdf3 |
* Suppress more warnings
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.6:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* `sdist` for 3.1.5 was mis-generated, causing it to ask for Happy
|
|
Packit |
2cbdf3 |
when building.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.5:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Generate less warning-laden code, and suppress other warnings.
|
|
Packit |
2cbdf3 |
* Bug fixes.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.4:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Add Applicative/Functor instances for GHC 7.10
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.3:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Fix for clang (XCode 5)
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.2:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Add missing file to extra-source-files
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.1:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Bug fixes (#24, #30, #31, #32)
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.1.0:
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* necessary changes to work with GHC 7.8.1
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
## Changes in 3.0 (since 2.3.5)
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Unicode support (contributed mostly by Jean-Philippe Bernardy,
|
|
Packit |
2cbdf3 |
with help from Alan Zimmerman).
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* An Alex lexer now takes a UTF-8 encoded byte sequence as input
|
|
Packit |
2cbdf3 |
(see Section 5.1, “Unicode and UTF-8”. If you are using the
|
|
Packit |
2cbdf3 |
"basic" wrapper or one of the other wrappers that takes a
|
|
Packit |
2cbdf3 |
Haskell String as input, the string is automatically encoded
|
|
Packit |
2cbdf3 |
into UTF-8 by Alex. If your input is a ByteString, you are
|
|
Packit |
2cbdf3 |
responsible for ensuring that the input is UTF-8 encoded. The
|
|
Packit |
2cbdf3 |
old 8-bit behaviour is still available via the --latin1
|
|
Packit |
2cbdf3 |
option.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Alex source files are assumed to be in UTF-8, like Haskell
|
|
Packit |
2cbdf3 |
source files. The lexer specification can use Unicode
|
|
Packit |
2cbdf3 |
characters and ranges.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* `alexGetChar` is renamed to `alexGetByte` in the generated code.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* There is a new option, `--latin1`, that restores the old
|
|
Packit |
2cbdf3 |
behaviour.
|
|
Packit |
2cbdf3 |
|
|
Packit |
2cbdf3 |
* Alex now does DFA minimization, which helps to reduce the size
|
|
Packit |
2cbdf3 |
of the generated tables, especially for lexers that use Unicode.
|