From: Aleksey Nogin <nogin@metaprl.org>
To: Caml List <caml-list@inria.fr>
Subject: 3.10.0+beta - "Not_found" from a custom camlp4 executable (Delete.delete_rule_in_suffix)
Date: Mon, 16 Apr 2007 13:20:28 -0700 [thread overview]
Message-ID: <4623DA8C.1000702@metaprl.org> (raw)
I am trying to figure out how to use the new camlp4 (so that I can have
some hope of migrating our MetaPRL Theorem Prover - http://metaprl.org/
to it). I thought that I'd start with something simple - port our local
mods to pa_macro (now Camlp4MacroParser).
First, I tried making sure I know how to build and link the thing.
Compiling an unmodified Camlp4MacroParser was not a problem, but then I
got the following:
% ocamlc -g -thread -I -custom -o macroprint unix.cma threads.cma
camlp4/camlp4lib.cma camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo Camlp4MacroParser.cmo
camlp4/Camlp4Filters/Camlp4TrashRemover.cmo camlp4/Camlp4Bin.cmo -linkall
% ./macroprint
Camlp4: Uncaught exception: Not_found
ocamldebug revealed that the Not_found is being raised from the
Delete.delete_rule_in_suffix function.
What am I doing wrong?
TIA for any help!
Aleksey
next reply other threads:[~2007-04-16 20:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 20:20 Aleksey Nogin [this message]
2007-04-16 20:26 ` [Caml-list] " Nicolas Pouillard
2007-04-16 22:49 ` 3.10.0+beta: pa_macro vs Camlp4MacroParser [Was: "Not_found" from a custom camlp4 executable] Aleksey Nogin
2007-04-17 1:12 ` 3.10.0+beta: Corrected and improved Camlp4MacroParser Aleksey Nogin
2007-04-17 19:28 ` Nicolas Pouillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4623DA8C.1000702@metaprl.org \
--to=nogin@metaprl.org \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox