English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Quotation System in Original Syntax
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-06-16 (21:33)
From: Hendrik Tews <tews@t...>
Subject: Quotation System in Original Syntax
Dear all,

I would like to announce the first public release of a

   Quotation System in Original Syntax for Ocaml Abstract Syntax Trees

Eventually this package should provide an alternative to q_MLast
for those of us that are not fluent in the revised syntax. Please
visit http://wwwtcs.inf.tu-dresden.de/~tews/ocamlp4 for more
details and download links.

Status:  preliminary (only core language, no modules, no classes ...)

Kind:    Camlp4 extension

Home:    http://wwwtcs.inf.tu-dresden.de/~tews/ocamlp4

License: GNU LGPL version 2 (forced by Camlp4 license)

Example: with the provided module qo_MLast you can write

     <:expr< flag := not !flag; record.field <- 2 >>

  instead of 

     <:expr< do { flag.val := not flag.val; record.field := 2 >>


Hendrik Tews