Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jacques Carette <carette@mcmaster.ca>
To: caml-list@inria.fr
Subject: Syntax vs Operators
Date: Mon, 22 Aug 2005 11:55:37 -0400	[thread overview]
Message-ID: <4309F579.4020302@mcmaster.ca> (raw)

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...).

Jacques


             reply	other threads:[~2005-08-22 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-22 15:55 Jacques Carette [this message]
2005-08-23 10:16 ` [Caml-list] " Damien Doligez
2005-08-23 18:05   ` Jacques Carette
2005-08-23 19:42     ` Damien Doligez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4309F579.4020302@mcmaster.ca \
    --to=carette@mcmaster.ca \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox