Re: [Caml-list] Some utilities about camlp4

2012-02-21 Thread Hongbo Zhang
On 2/21/12 5:22 AM, Gabriel Scherer wrote: Hi, I had trouble being sure what meta filter you were talking about. Here's what I found out, in case other people on the list wondered the same: the meta part of Camlp4 is about turning a value into a piece of OCaml AST representing the syntax of this

[Caml-list] Re: [ANN] TypeRex release 1.0.0 candidate 1

2012-02-22 Thread Hongbo Zhang
On 2/22/12 1:10 PM, Tiphaine Turpin wrote: Hi everyone, Hi, I tested on Aquamacs, too slow... ( I did not turn on auto complete ) We are pleased to announce the first release candidate of TypeRex, a new OCaml development environment, developed by OCamlPro and Inria Saclay. This version of

[Caml-list] Re: ask for help : how to increase coding efficiency of fun as below

2012-05-14 Thread Hongbo Zhang
Hi, google camlp4 and quotation. if you don't need antiquotation support, it's fairly easy. On 5/14/12 9:00 PM, xy s wrote: We have defined types: type position = {line : int; col : int };; type 'a ast = {data : 'a; kids : 'a ast list; posf : position; post: position};; And then we