The WURFL package

[Tags: bsd3, deprecated, library]


The WURLF file format ( 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.


Dependenciesbase, haskell98, parsec
CopyrightCopyright (c) 2007, alpheccar
Upload dateSun Sep 30 19:22:01 UTC 2007
Uploaded byalpheccar
Downloads97 total (7 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees