caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: Remi VANICAT <vanicat@labri.u-bordeaux.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Genlex - and which parser?
Date: Mon, 2 Sep 2002 14:35:32 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.LNX.3.95.1020902142532.128A-100000@first.in-berlin.de> (raw)
In-Reply-To: <87fzwticaz.dlv@wanadoo.fr>

Hello Rémi,


On Mon, 2 Sep 2002, Remi VANICAT wrote:

> Oliver Bandel <oliver@first.in-berlin.de> writes:
[...]
> > Which parser can be used together with Genlex?
> > Is it ocamlyacc? Or others?
> 
> ocamlyacc goes with ocamllex. parser that goes with Genlex are stream
> parser, describe in chapter 2 of the Camlp4 reference manual and
> chapter 2 of the Camlp4 tutorial

Hmhhh in the campl4-tutorial/-reference they explain an other
Lexer (Plexer). I think it's similar.
Will Genlex not be used? Or is Plexer based on Genlex?

Any way, thanks for your hint.



Some additional words:

In the camlp4-tutorial there is an example for programming a
simple calculator.
I didn't expect to get a working solution/example on page 9
of the tutorial.
That's great!

I have looked for such tools for many years and now I have found it. :)

Again, as I said about OCaml, I can say about Camlp4, that
it's a great piece of work, what the developpers/researchers
have done in providing such a great language and tools.

If I think about how to write such stuff with lex/yacc
in C, and then look at the power of Ocaml wow, then I more
and more see that writing C (and it's followers) are the middle-
ages of programming.

Ciao,
   Oliver

P.S.: I think it's now time to write DSLs. :)


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-09-02 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-01 16:53 Oliver Bandel
2002-09-01 22:18 ` Remi VANICAT
2002-09-02 12:35   ` Oliver Bandel [this message]
2002-09-02 13:53     ` Daniel de Rauglaudre
2002-09-02 13:59     ` Remi VANICAT

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=Pine.LNX.3.95.1020902142532.128A-100000@first.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@inria.fr \
    --cc=vanicat@labri.u-bordeaux.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;
as well as URLs for NNTP newsgroup(s).