This is a tutorial on how to use ocamllex which is distributed with Ocaml language.
This document borrowed lots of part from flex manual.
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 http://pllab.kaist.ac.kr/~shoh/ocaml/ocamllex-ocamlyacc/ocamllex-tutorial/index.html.
The companion tutorial for ocamlyacc is available at http://pllab.kaist.ac.kr/~shoh/ocaml/ocamllex-ocamlyacc/ocamlyacc-tutorial/index.html.
You can find the source of this document in ocamllex-tutorial-src.tar.gz. For printing, pdf (A4 size) is presented, and there is html (tar.gz).
You can download the source of examples used in this document from ocamllex-examples.tar.gz.
Last updated: 2004-11-16
| Next >>> | ||
| Introduction |