> Hi,
>
> I have found that, as I start programming with OCaml, there are certain
> functions I keep writing and certain features I keep wanting. I started
> to collect these, and recently released the first "MissingLib". You can
> find the ocamldoc docs at
> http://quux.org/devel/missinglib/html/index.html. Among other things,
> there is ConfigParser, a module for parsing sectioned configuration
> files (modeled after Python's ConfigParser module) and various utilities
> for operating on hash tables, lists, and strings. The module depends on
> nothing outside of the standard OCaml distribution, and consists of pure
> OCaml code (ConfigParser does use ocamllex/yacc though).
>
> Would you be interested in incorpating some or all of this into Extlib?
> Sources are avaiable for inspection at
> gopher://quux.org/1/devel/missinglib or http://quux.org/devel/missinglib.
Some comments :
- the ConfigParser is nice, but lacks some persitency and typing. I would
like to see it unified with the Symbols module proposed recently on this
list (looks like the SF mailling list archives are not up-to-date :'( ).
IMHO, it would be nice to have some persistant storage for configuration
data which would be stored in a single user database file and made
accessible for all ocaml programs ( a little like a portable windows
registry )
- Hashtbloper are pure syntactic sugar and each user should be free to
define its own bindings.
- you will be happy to know that most of the functions in Hashtblutil are
already in ExtLib extHashtbl module
- current Ocaml Lexer is providing (at last) support for line numbers in
error messages (see Lexing.position)
- splices should be interfaced with Enums in order to scale well with the
increasing number of types to support (string, list, array, bigarray,
dynarray, hashtbl..... )
If you think I forgot something that should definitly be added to the
ExtLib, please send back an email.
> Other projects I am considering (which would also be pure OCaml)
> include:
>
> * Client-side IMAP library
> * Asynchronous I/O system (patterned after www.twistedmatrix.com for
> Python)
Theses both are nice.
Async IO might be tricky to implement correctly in pure caml.
Best Regards,
Nicolas Cannasse
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
|