List Info

Thread: "ocaml_beginners"::[] match ... with parser syntax?




"ocaml_beginners"::[] match ... with parser syntax?
user name
2007-01-24 18:33:47

I'm working through the translation of the O'Reilly book, and I'm currently
at the chapter on lexing and parsing. The code from the following section
doesn't seem to work for me:

fonctions3">http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora105.html#fonctions3
50

I've tried both typing it in manually, and cut-n-pasting from the html. Has
the syntax changed in ocaml 3.0? Did latex botch something, like showing a
single tick instead of a backtick? Or am I just doing something stupid on my
system?

I'm evaluating with M-C-x in tuareg-mode if that makes a difference.

Any help or pointers to reference materials would be appreciated,

Grant

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] match ... with parser syntax?
user name
2007-01-24 18:53:22

Need to load/compile with camlp4o.cma. Parser syntax is no longer
enabled by default.

On 1/25/07, Grant Olson < olsongt%40verizon.net">olsongtverizon.net> wrote:
&gt; I'm working through the translation of the O'Reilly book, and I'm currently
> at the chapter on lexing and parsing. The code from the following section
> doesn't seem to work for me:
>
> fonctions3">http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora105.html#fonctions3
> 50
>
> I've tried both typing it in manually, and cut-n-pasting from the html. Has
> the syntax changed in ocaml 3.0? Did latex botch something, like showing a
> single tick instead of a backtick? Or am I just doing something stupid on my
> system?
>
> I'm evaluating with M-C-x in tuareg-mode if that makes a difference.
>
> Any help or pointers to reference materials would be appreciated,
>
> Grant
&gt;
>
>
>; Archives up to November 11, 2006 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
> The archives of the very official ocaml list (the seniors' one) can be found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames etc.
>; Yahoo! Groups Links
&gt;
>
>
>;

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )