Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Kenneth Knowles <kknowles@s...>
Subject: Re: [Caml-list] Re: some comments on ocaml{lex,yacc} from a novice's POV
On Wed, Apr 06, 2005 at 12:52:58AM -0400, Geoff Wozniak wrote:
> I was doing this in OCaml, but I found that I had to constantly create new
> types to represent the different forms that could be found in the parse
> tree.  

This sounds quite familiar.  One idea is to use polymorphic variants and
immediate objects instead of conventional variants and record types (though this
can create some scary error messages).  I've only ever done this for very rapid
prototyping, though.

- Kenn