The WURFL package
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.
- No changelog available
|Dependencies||base, haskell98, parsec|
|Copyright||Copyright (c) 2007, alpheccar|
|Upload date||Sun Sep 30 19:22:01 UTC 2007|
|Downloads||95 total (8 in last 30 days)|
For package maintainers and hackage trustees