<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/32b7837886085ff44ab3f8bd73a68204"
  from="Dave Newman &lt;tinman@p...&gt;"
  author="Dave Newman"
  date="2002-12-29T03:11:22"
  subject="Re: [Caml-list] Can One Define LISP-like Macros in Ocaml?"
  prev="2002/12/1ede51c3f4d12b247c7d8880d9135aba"
  next="2002/12/e25e34c99997690cfe2153ff2ac43588"
  prev-in-thread="2002/12/1ede51c3f4d12b247c7d8880d9135aba"
  prev-thread="2002/12/20995c2eed42f26e0a7193d54f646852"
  next-thread="2002/12/0a20c8ad6f2bdd101d65c6f54b7dfd02"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] Guards vs. conditionals">
<msg 
  url="2002/12/e8956ad76e72ddd27c1ee0c4c94f2234"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2002-12-27T07:37:18"
  subject="Re: [Caml-list] Guards vs. conditionals">
<msg 
  url="2002/12/6cf84c26831187ed2809557c6222ca2e"
  from="Dave Newman &lt;tinman@p...&gt;"
  author="Dave Newman"
  date="2002-12-28T19:21:09"
  subject="[Caml-list] Can One Define LISP-like Macros in Ocaml?">
<msg 
  url="2002/12/1ede51c3f4d12b247c7d8880d9135aba"
  from="Basile STARYNKEVITCH &lt;basile@s...&gt;"
  author="Basile STARYNKEVITCH"
  date="2002-12-28T19:47:51"
  subject="[Caml-list] Can One Define LISP-like Macros in Ocaml?">
<msg 
  url="2002/12/32b7837886085ff44ab3f8bd73a68204"
  from="Dave Newman &lt;tinman@p...&gt;"
  author="Dave Newman"
  date="2002-12-29T03:11:22"
  subject="Re: [Caml-list] Can One Define LISP-like Macros in Ocaml?">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Ah! Thanks. I'll investigate camlp4.

--Dave



&gt;  &gt;&gt;&gt;&gt;&gt; "Dave" == Dave Newman &lt;tinman@pobox.com&gt; writes:
&gt;
&gt;     Dave&gt; Seeing the LISP like output from -dlambda reminded me of a
&gt;     Dave&gt; question I've had about ocaml.
&gt;
&gt;     Dave&gt; Is there any support for defining macros in ocaml akin to
&gt;     Dave&gt; LISP defmacro?
&gt;
&gt;That is what is camlp4 for. Use camlp4. See
&gt;http://caml.inria.fr/camlp4/index.html
&gt;
&gt;--
&gt;
&gt;Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
&gt;email: basile&lt;at&gt;starynkevitch&lt;dot&gt;net
&gt;alias: basile&lt;at&gt;tunes&lt;dot&gt;org
&gt;8, rue de la Faïencerie, 92340 Bourg La Reine, France

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

</contents>

</message>

