Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Syntax vs Operators
Date: Tue, 23 Aug 2005 21:42:18 +0200	[thread overview]
Message-ID: <414149C6-9BEB-4D2E-9A08-8BA31DADE0A4@inria.fr> (raw)
In-Reply-To: <430B654F.4080908@mcmaster.ca>

On Aug 23, 2005, at 20:05, Jacques Carette wrote:

> Actually, the whole point of this question is that I want to  
> redefine/override them
> - and I wanted to find out which I could not.  I know I can  
> override + if I want,
> I want to know about the ones like :: which have a pre-defined  
> meaning but can not
> be overridden.

Maybe I'm overlooking something, but I think the ones in the  
"keywords" list
are the ones that you cannot or should not override.

> The point is to see how much of a DSL I can create in Ocaml, using  
> Ocaml syntax,
> by using lots of Functors.  Very much in the spirit of the Lua-ML  
> interpreter in
> fact, except that I want to use Caml syntax rather than having to  
> parse a new
> language.

If it's a DSL that includes OCaml as a sublanguage, I think at some  
point you
will have users who want to use the OCaml features that you are hiding.

-- Damien


      reply	other threads:[~2005-08-23 19:42 UTC|newest]

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

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=414149C6-9BEB-4D2E-9A08-8BA31DADE0A4@inria.fr \
    --to=damien.doligez@inria.fr \
    --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