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
bug in "developing applications with objective caml" (english translation)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-04-02 (07:02)
From: Erik de Castro Lopo <ocaml-erikd@m...>
Subject: Re: [Caml-list] some comments on ocaml{lex,yacc} from a novice's POV
On Sat, 2 Apr 2005 15:10:04 +1000 (EST)
"Jack Andrews" <> wrote:

> but i want to use ocaml, not python because i know i need (more) speed. 
> after using ply, the ocaml{yacc,lex} implementation looks like it's just
> glued on GNU tools.

Lex and yacc are amazilingly powerful tools that are let down by the
fact the code they produce is C code.

Ocaml(lex|yacc) extend on the very powerful lex/yacc concepts but produce
Ocaml code whick hoos in very nicely with a powerful functional/imperative
OO language.

The thing that amazes me about the original lex and yacc is that all
the tutorials I've seen for using them only deal with trivially simple
parsing problems when they are capable of som much more.

  Erik de Castro Lopo (Yes it's valid)
"The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners." -- Ernst Jan Plugge