bytestring-lexing: Parse and produce literals efficiently from strict or lazy bytestrings.

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

Parse and produce literals efficiently from strict or lazy bytestrings.

Some benchmarks for this package can be found at: http://community.haskell.org/~wren/bytestring-lexing/test/bench/html


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
base4

base-4.0 emits "Prelude deprecated" messages in order to get people to be explicit about which version of base they use.

Enabled
splitbase

base-3.0 (GHC 6.8) broke out the packages: array, bytestring, containers, directory, old-locale, old-time, packedstring, pretty, process, random.

Enabled
bytestringinbase

The bytestring library was included in base-2.0 and base-2.1.1, but for base-1.0 and base-3.0 it was a separate package.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.0.1, 0.1.0.2, 0.1.2, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.4.2, 0.4.3, 0.4.3.1, 0.4.3.2, 0.4.3.3, 0.5.0, 0.5.0.1, 0.5.0.2, 0.5.0.7, 0.5.0.8, 0.5.0.9, 0.5.0.10, 0.5.0.11, 0.5.0.12, 0.5.0.13, 0.5.0.14
Dependencies array, base (<2.2 || >=3 && <5), bytestring [details]
Tested with ghc ==6.8.2, ghc ==6.10.1, ghc ==6.12.1, ghc ==7.0.3, ghc ==7.6.1
License BSD-3-Clause
Copyright Copyright (c) 2012--2013 wren ng thornton, 2008--2011 Don Stewart
Author wren ng thornton, Don Stewart
Maintainer wren@community.haskell.org
Revised Revision 2 made by phadej at 2020-09-19T08:41:19Z
Category Data
Home page http://code.haskell.org/~wren/
Source repo head: darcs get http://community.haskell.org/~wren/bytestring-lexing
Uploaded by WrenThornton at 2013-03-22T03:48:48Z
Distributions Debian:0.5.0.2, FreeBSD:0.5.0.2, LTSHaskell:0.5.0.14, NixOS:0.5.0.14, Stackage:0.5.0.14
Reverse Dependencies 42 direct, 7874 indirect [details]
Downloads 36973 total (205 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for bytestring-lexing-0.4.3

[back to package description]
bytestring-lexing
=================

This is a relatively simple package and should be easy to install.
It requires Alex for generating the Double lexers. Once that is
installed, you should be able to use one of the following standard
methods to install it.

    -- With cabal-install and without the source:
    $> cabal install bytestring-lexing
    
    -- With cabal-install and with the source already:
    $> cd bytestring-lexing
    $> cabal install
    
    -- Without cabal-install, but with the source already:
    $> cd bytestring-lexing
    $> runhaskell Setup.hs configure --user
    $> runhaskell Setup.hs build
    $> runhaskell Setup.hs test
    $> runhaskell Setup.hs haddock --hyperlink-source
    $> runhaskell Setup.hs copy
    $> runhaskell Setup.hs register

The test step is optional and currently does nothing. The Haddock
step is also optional.


Portability
===========

An attempt has been made to keep this library portable. However,
it relies on some language extensions which have been accepted into
the Haskell standard following the Haskell98 report. All the required
language extensions are:

FFI

----------------------------------------------------------- fin.