Browse thread
Dypgen C++ grammar
[
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: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Dypgen C++ grammar |
On Tuesday 26 June 2007 07:38:44 skaller wrote: > The bottom line is that I want code written in Ocaml > because I'm sooooo sick of portability hassles.. :) Perhaps your best bet is to translate an existing grammar into OCaml: http://www.computing.surrey.ac.uk/research/dsrg/fog/CxxLexer.l http://www.computing.surrey.ac.uk/research/dsrg/fog/CxxTester.y That is only 1,320 LOC. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e