caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Using ocamlbuild with camlp4
@ 2007-04-30 11:35 Joel Reymont
  2007-04-30 12:02 ` Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2007-04-30 11:35 UTC (permalink / raw)
  To: Caml List; +Cc: Nicolas Pouillard

I'm strying to compile the example that Nicolas posted in the AST  
transformations thread.

What am I missing?

	Thanks, Joel

------

_tags:

"easy_strip.ml": camlp4of, use_camlp4

build.sh:

#!/bin/sh

ocamlbuild -classic-display -use-menhir $*

./build.sh test.byte

ocamldep.opt -pp camlp4of -modules easy_strip.ml > easy_strip.ml.depends
ocamlfind ocamlc -package ounit -c -I +camlp4 -pp camlp4of -o  
easy_strip.cmo easy_strip.ml
+ ocamlfind ocamlc -package ounit -c -I +camlp4 -pp camlp4of -o  
easy_strip.cmo easy_strip.ml
File "easy_strip.ml", line 3, characters 12-47:
Unbound class
Camlp4Filters.GenerateMap.generated

--
http://wagerlabs.com/






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using ocamlbuild with camlp4
  2007-04-30 11:35 Using ocamlbuild with camlp4 Joel Reymont
@ 2007-04-30 12:02 ` Nicolas Pouillard
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pouillard @ 2007-04-30 12:02 UTC (permalink / raw)
  To: Joel Reymont; +Cc: Caml List

On 4/30/07, Joel Reymont <joelr1@gmail.com> wrote:
> I'm strying to compile the example that Nicolas posted in the AST
> transformations thread.
>
> What am I missing?
>

"easy_strip.ml": use_camlp4, pp(camlp4o -filter map -filter fold)

-- 
Nicolas Pouillard


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-30 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-30 11:35 Using ocamlbuild with camlp4 Joel Reymont
2007-04-30 12:02 ` Nicolas Pouillard

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