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
Reloaded syntax documentation?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-05 (23:22)
From: Jan Rehders <cmdkeen@g...>
Subject: Reloaded syntax documentation?

> As for original vs. revised syntax, I'm partial to the original
> syntax, but only because that's how I learned.  The error messages it
> produces are problematic, however.  I do like the "reloaded" syntax
> included with 3.10 that is basically original syntax with "end" after
> various constructs.

this inspired me to dig a bit in $install_path/lib/camlp4. Several  
file names sound pretty interesting (mostly the reloaded syntax but  
also stuff with sexy names like CamlP4ExceptionTracer, CamlP4Profiler  
etc.). I had a look in the manual and the camlp4 wiki at [1] but  
could not found too much documentation about them. Neither could I  
figure out how to convert a regular syntax file into reloaded syntax  
using camlp4, there appears to be no printer for it.

So am I stuck to dig into the sources? Is there any documentation  
available for the reloaded syntax and the other stuff in the camlp4