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
Syntax vs Operators
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-22 (15:55)
From: Jacques Carette <carette@m...>
Subject: Syntax vs Operators
I have been going through the documentation, trying to figure out which 
constructs in Ocaml are syntactic (like :: seems to be) and cannot be 
oer-ridden, and others like + which are values in Pervasives.  Is there 
a simple way to find out which language constructs are purely syntactic?

The goal is to understand which constructs can be re-defined (locally) 
in a module.  The eventual application is a more genial syntax for a DSL 
implemented via MetaOCaml (and more functors than anyone in their right 
mind would really want to use...).