WURFL: Convert the WURFL file into a Parsec parser
The WURLF file format (http:/wurfl.sourceforge.net) is not well adapted to the parsing of the user agent strings. It is useful to manage a database of mobile features. The Convert module in this package (see test.hs) will convert the WURLF tree into another tree that can be used to generate a Parsec parser. The Parsec parser can then be used with WURFLParser to quickly parse an user agent string. The infos extracted from WURLF are defined in WURFLType (MD data type). Nothing is preventing the lib from taking into account much more information from the WURLF file. The conversion of wurlf.xml and compilation of the lib are very slow since the generated tree in WurflVar.h is a huge Haskell tree. But, once it is compiled, its use in another project should be easy. This module is very experimental.
[Skip to Readme]
Downloads
- WURFL-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1 |
---|---|
Dependencies | base, haskell98, parsec [details] |
License | BSD-3-Clause |
Copyright | Copyright (c) 2007, alpheccar |
Author | alpheccar |
Maintainer | misc@NOSPAMalpheccar.org |
Category | Web |
Uploaded | by alpheccar at 2007-09-30T19:22:01Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1205 total (1 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] |