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
[ANN] camlyacc and camllex for Macintosh without MPW-Shell
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1996-04-29 (09:25)
From: sclematide@m...
Subject: [ANN] camlyacc and camllex for Macintosh without MPW-Shell

Macintosh Caml Light 0.71 Caml Yacc and camllexlib goodies (24/04/96)

Here are three goodies to make camlyacc and camllex available for people
*without* mpw-shell or toolserver. Remember: camllex produces a lexical
analyzer from a set of regular expressions. camlyacc produces a parser from
a context free grammar specification. It's the best way to tackle
precedences and associativity.


Caml Yacc is a (crude) standalone macintosh application producing (exactly)
the same as the camlyacc mpw-tool.

camllexlib is a caml-light library/module doing the same as the camllex

tl_camllex (toplevel camllex) contains source code which can be run (and
included) by the toplevel Macintosh application Caml Light and gives the
functionality of the camllex mpw-tool to the toplevel.

See "Read me" files in the folders for usage and more information.

Simon Clematide

(Only for those who have the mpw-shell...)
1. I have ported the libstr (regular expression library) to the macintosh
(only 68k).
2. I made a nifty caml light tool called "truthtable" which produces
truthtables out of propositional formulas. The "frontend" (names of
connectives) and the "backend" (pure ascii, LaTeX table, HTML, tabbed text)
is fully configurable. It's also an example for the use of camllex and
If you feel interested, send me an e-mail.

Simon Clematide
Stuessistr. 96
CH-8057 Zuerich
E-mail: sclematide@access.ch
Phone: +41 1 361 22 37