Path to this page:
./
devel/alex,
Tool for generating lexical analysers in Haskell
Branch: CURRENT,
Version: 3.5.1.0nb1,
Package name: alex-3.5.1.0nb1,
Maintainer: esgAlex is a tool for generating lexical analysers in Haskell, given a
description of the tokens to be recognised in the form of regular
expressions. It is similar to the tools lex and flex for C/C++.
Alex takes a description of tokens based on regular expressions and
generates a Haskell module containing code for scanning text
efficiently. Alex is designed to be familiar to exisiting lex users,
although it does depart from lex in a number of ways.
Required to run:[
lang/ghc7]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 83.967 KB
Version history: (Expand)
- (2024-05-09) Updated to version: alex-3.5.1.0nb1
- (2024-04-12) Updated to version: alex-3.5.1.0
- (2023-11-13) Updated to version: alex-3.4.0.1
- (2023-11-02) Updated to version: alex-3.4.0.0nb1
- (2023-10-26) Updated to version: alex-3.4.0.0
- (2023-10-09) Updated to version: alex-3.2.7.1nb4
CVS history: (Expand)
2024-04-12 10:57:25 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
alex: update to 3.5.1.0.
## Changes in 3.5.1.0
* Drop generating output for GHC < 6.4.
* Use qualified imports in generated code (except for `Prelude`)
([Issue #258](https://github.com/haskell/alex/issues/258)).
* Suppress warnings `tabs` and `unused-imports` for generated code
([Issue #255](https://github.com/haskell/alex/issues/255)).
* Tested with GHC 8.0 - 9.8.2.
## Changes in 3.5.0.0
* Add option `--numeric-version`.
* Remove deprecated `-v` as alias for `--version`.
* Add `-v` as placeholder for a future `--verbose` option.
* Make `alex{G,S}etUserState` available with the `monadUserState-bytestring` wrapper
([Issue #220](https://github.com/haskell/alex/issues/220)).
* Debugging lexer: print character in addition to its ASCII code
([PR #252](https://github.com/haskell/alex/pull/252)).
* Tested with GHC 8.0 - 9.8.1.
|
2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141) |
Log message:
Revbump all Haskell after updating lang/ghc96
|
2023-10-26 15:07:44 by Masatake Daimon | Files touched by this commit (3) |
Log message:
devel/alex: Update to 3.4.0.0
Changes in 3.4.0.0 [Andreas Abel, 2023-06-20]
* New wrappers to lex strict Text: strict-text, posn-strict-text,
monad-strict-text and monadUserState-strict-text (PR #240). These
complement the existing wrappers for String and ByteString.
* Tested with GHC 7.0 - 9.6.2.
Changes in 3.3.0.0 [Andreas Abel, 2023-05-25]
* Add an Ord instance to AlexPosn (Issue #233). This breaks developments
that define their own (orphan) instance Ord AlexPosn. If this is the
derived stock instance, the fix is to delete the orphan instance and
require build-tool-depends: alex:alex >= 3.3.0.0.
* Switch to Haskell PVP versioning with four digits.
* Tested with GHC 7.0 - 9.6.1.
Change in 3.2.7.4 [Andreas Abel, 2023-05-02]
* The user-supplied "epilogue" Haskell code is now put last in the
generated file. This enables use of Template Haskell in the
epilogue. (Issue #125.)
* Tested with GHC 7.0 - 9.6.1.
Change in 3.2.7.3 [Andreas Abel, 2023-04-14]
* Amend last change (3.2.7.2) so that Alex-generated code does not need
LANGUAGE PatternGuards.
* Tested with GHC 7.0 - 9.6.1.
Change in 3.2.7.2 [Andreas Abel, 2023-04-03]
* Fix bug with out-of-bound access to alex_check array. (Surfaced with
GHC's JS backend, fixed by Sylvain Henry in PR #223.)
* Tested with GHC 7.0 - 9.6.1.
|
2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988) |
Log message:
Bump Haskell packages after updating lang/ghc94
|
2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319) |
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.
Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).
No change to BUILD_DEPENDS as used correctly inside buildlink3.
As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
|
2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872) |
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
|
2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575) |
Log message:
revbump after changing the default Haskell compiler
|
2022-02-11 10:47:45 by Masatake Daimon | Files touched by this commit (3) |
Log message:
Update to alex-3.2.7.1
Change in 3.2.7.1
* Fix bug with repeated numeral characters outside of r{n,m}
repetitions. This was a regression introduced in 3.2.7.
Changes in 3.2.7
* Allow arbitrary repetitions in regexps. Previously, the r{n,m} and
related forms were restricted to single digit numbers n and m.
* DFA minimization used to crash on tokens of the form c* which produce
automata with only accepting states. Considering the empty set of
non-accepting states as an equivalence class caused minimization to crash
with exception.
* The small_base flag is removed. Extremely old GHCs will no longer build.
* A number of bug fixes and clearer diagnostics.
|