[Pkg-ocaml-maint-commits] [bin-prot] 02/03: Remove section about camlp4 from README.Debian
Stéphane Glondu
glondu at moszumanska.debian.org
Wed Aug 17 11:59:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository bin-prot.
commit 41f4e01610e4eaaeaff658dadc75102c0e577612
Author: Stephane Glondu <steph at glondu.net>
Date: Wed Aug 17 13:54:00 2016 +0200
Remove section about camlp4 from README.Debian
---
debian/README.Debian | 44 +-------------------------------------------
1 file changed, 1 insertion(+), 43 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index add846d..9d6205f 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -37,46 +37,4 @@ a post by upstream author Markus Mottl to the Caml mailing list
> I'd surely be happy to see a patch to fully support all
> architectures...
-Syntax extension usage
-======================
-
-The easiest way to use bin-prot syntax extension is via findlib.
-
-To compile sources which are using it invoke findlib passing "-syntax camlp4o"
-and providing the "bin_prot.syntax" package. For example:
-
- $ cat foo.ml
- TYPE_CONV_PATH "Foo"
- type foo = Foo with bin_io
-
- $ ocamlfind ocamlc -linkpkg -package bin_prot.syntax -syntax camlp4o -o foo foo.ml
-
-Similarly, to try the syntax extension in the toplevel:
-
- $ ledit ocaml
- Objective Caml version 3.10.1
-
- # #use "topfind";;
- - : unit = ()
- Findlib has been successfully loaded. Additional directives:
- <snip>
-
- # #camlp4o;;
- /usr/lib/ocaml/3.10.1/camlp4: added to search path
- /usr/lib/ocaml/3.10.1/camlp4/camlp4o.cma: loaded
- Camlp4 Parsing version 3.10.1
-
- # #require "bin_prot.syntax";;
- <snip>
- /usr/local/lib/ocaml/3.10.1/type-conv/pa_type_conv.cmo: loaded
- /usr/lib/ocaml/3.10.1/bin_prot/pa_bin_prot.cmo: loaded
-
- # type foo = Foo with bin_io;;
- type foo = Foo
- val bin_read_foo__ : 'a -> 'b -> 'c -> 'd = <fun>
- val bin_read_foo_ :
- Bin_prot.Unsafe_common.sptr_ptr -> Bin_prot.Unsafe_common.eptr -> foo =
- <fun>
- val bin_read_foo :
- Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos ref -> foo = <fun>
-
+ -- Stéphane Glondu <glondu at debian.org>, Wed, 17 Aug 2016 13:52:48 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/bin-prot.git
More information about the Pkg-ocaml-maint-commits
mailing list