Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] (Announce) ocamllex tutorial (ver 0.2)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: SooHyoung Oh <shoh@c...>
Subject: [Caml-list] (Announce) ocamllex tutorial (ver 0.2)
- fix some bugs (Thanks Martin)
- add "Keyword Hashtable" section
- add "Nested Comments" section
- add example for lexing ambiguities (chapter 5).
- include some examples in complete form
- information of the source of document
- information of PDF file (A4 size) of the document
- information of the source of examples


This is a tutorial on how to use ocamllex which is distributed with Ocaml

This tutorial borrowed lots of part from flex manual, and some part from
Chap. 12 Lexer and parser generators (ocamllex, ocamlyacc).

The companion tutorial for ocamlyacc will be available in one or two weeks

Please mail all comments and suggestions to <shoh at compiler dot kaist dot
ac dot kr>

This tutorial is work-in-progress. The latest version can be found at

You can find the source of this document in ocamllex_tutorial_src.tar.gz,
and for printing, pdf (A4 size) is presented.

You can download the source of examples used in this document from

Last updated: 2004-08-25

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: