|
List Info
Thread: "ocaml_beginners"::[] Learning camlp4
|
|
| "ocaml_beginners"::[] Learning
camlp4 |
  France |
2007-05-17 14:10:47 |
|
Hi !
Trying to collect camlp4 learning stuff, I started from Wikipedia terse page that shows a complex example and provides links to :
* INRIA reference manual
* INRIA tutorial
* Tews : undocumented features
* Martin Jambon : "How to customize the syntax of OCaml, using Camlp4"
* Graydon : writing Domain-Specific Language
There are Nicolas Pouillard camlp4 writings too. But they aren't useful for the beginner.
Please do you know additional simple examples or tutorials ?
Fabrice
__._,_.___
.
__,_._,___
|
| Re: "ocaml_beginners"::[]
Learning camlp4 |
  United Kingdom |
2007-05-17 16:44:27 |
|
On Thu, May 17, 2007 at 09:10:47PM +0200, Fabrice Marchant wrote:
> Please do you know additional simple examples or tutorials ?
Martin Jambon's tutorials, which you referenced, were great for me.
Unfortunately the forthcoming version of OCaml only supports a
completely rewritten version of camlp4, so many tutorials will now be
useless. The good thing is that apparently they ditched the revised
syntax.
Rich.
--
Richard Jones
Red Hat
__._,_.___
.
__,_._,___
|
| Re: "ocaml_beginners"::[]
Learning camlp4 |
  France |
2007-05-17 15:00:54 |
|
Thanks Rich,
> Martin Jambon's tutorials, which you referenced, were great for me.
I'll focus on his paper.
> Unfortunately the forthcoming version of OCaml only supports a
> completely rewritten version of camlp4, so many tutorials will now be
> useless.
Must learn twice...
> The good thing is that apparently they ditched the revised syntax.
OK : will ignore it.
Cheers
__._,_.___
.
__,_._,___
|
| Re Learning camlp4 |
  Moldova, Republic of |
2007-05-18 03:57:15 |
|
Shalom, Richard.
RJ> The good thing is that apparently they ditched the revised
RJ> syntax.
Where this can be seen from?
--
WBR,
dmitry mailto: gds-mlsts%40moldavcable.com">gds-mlsts moldavcable.com
__._,_.___
.
__,_._,___
|
| Re: "ocaml_beginners"::[]
Learning camlp4 |
  United Kingdom |
2007-05-18 06:05:07 |
|
On Fri, May 18, 2007 at 11:57:15AM +0300, dmitry grebeniuk wrote:
> Shalom, Richard.
>
> RJ> The good thing is that apparently they ditched the revised
> RJ> syntax.
>
> Where this can be seen from?
Looking at the release notes for OCaml 3.10 (released today!) it seems
like this was more of a wish on my part ...
Rich.
--
Richard Jones
Red Hat
__._,_.___
.
__,_._,___
|
| Re Learning camlp4 |
  Moldova, Republic of |
2007-05-18 07:22:51 |
|
Shalom, Richard.
>> RJ> The good thing is that apparently they ditched the revised
>> RJ> syntax.
>> Where this can be seen from?
RJ> Looking at the release notes for OCaml 3.10 (released today!)
RJ> it seems like this was more of a wish on my part ...
Why don't you like revised syntax? Just because you have
wrote too many lines of code in original syntax and don't
want to learn another syntax?
--
WBR,
dmitry mailto: gds-mlsts%40moldavcable.com">gds-mlsts moldavcable.com
__._,_.___
.
__,_._,___
|
| Re: "ocaml_beginners"::[]
Learning camlp4 |
  United Kingdom |
2007-05-18 11:49:33 |
|
On Fri, May 18, 2007 at 03:22:51PM +0300, dmitry grebeniuk wrote:
> Shalom, Richard.
>
> >> RJ> The good thing is that apparently they ditched the revised
> >> RJ> syntax.
> >> Where this can be seen from?
> RJ> Looking at the release notes for OCaml 3.10 (released today!)
> RJ> it seems like this was more of a wish on my part ...
>
> Why don't you like revised syntax? Just because you have
> wrote too many lines of code in original syntax and don't
> want to learn another syntax?
Basically yes. It's also a bit perverse to be writing some code in
the ordinary syntax then having to switch to the revised system to
write an anti-quotation. See PG'OCaml which does this all over the
place, and it's a pain.
Rich.
--
Richard Jones
Red Hat
__._,_.___
.
__,_._,___
|
[1-7]
|
|