Browse thread
[Caml-list] ulex: lexer generator for Unicode
- Alain.Frisch@e...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alain.Frisch@e... |
| Subject: | [Caml-list] ulex: lexer generator for Unicode |
Hello list, I started working on a lexer generator for Unicode. The architecture is similar to ocamllex, except that ulex lexers use a new kind of lexbuf that holds Unicode code points. It is possible to inject in these lexbufs any Unicode stream (for the moment, adapters are provided only for Latin1/utf8 streams/strings/channels, but you can also pass Unicode code points as integers). Lexer specifications are embedded in OCaml code, and parsed with a Camlp4 syntax extension. As several people showed interest in Unicode support for Caml, I thought I could make a preliminary release to collect feedback on the design of ulex. Here is the tarball: http://www.cduce.org/download/ulex-0.1.tar.gz -- Alain ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners