mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
export, install and describe the S-expr module
This commit is contained in:
parent
14d651b836
commit
ac2fb8129c
3 changed files with 10 additions and 7 deletions
6
META
6
META
|
|
@ -1,6 +1,6 @@
|
||||||
name="sequence"
|
name="sequence"
|
||||||
version="0.1"
|
version="0.1"
|
||||||
description="Abstract sequences of elements, for conversion into and from data structures"
|
description="Abstract sequences of elements, for conversion into and from data structures, and a tiny S-expression library."
|
||||||
requires=""
|
requires=""
|
||||||
archive(byte) = "sequence.cma"
|
archive(byte) = "sequence.cma sexpr.cma"
|
||||||
archive(native) = "sequence.cmxa"
|
archive(native) = "sequence.cmxa sexpr.cmxa"
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
NAME = sequence
|
NAME = sequence
|
||||||
DOC = sequence.docdir/index.html
|
DOC = sequence.docdir/index.html
|
||||||
TARGETS = sequence.cma sequence.cmxa sequence.cmi sequence.a
|
TARGETS = sequence.cma sequence.cmxa sequence.cmi sequence.a sexpr.cma sexpr.cmxa sexpr.cmi
|
||||||
LIB = $(addprefix _build/, $(TARGETS))
|
LIB = $(addprefix _build/, $(TARGETS))
|
||||||
INSTALL = $(LIB) sequence.mli
|
INSTALL = $(LIB) sequence.mli sexpr.mli
|
||||||
|
|
||||||
all:
|
all:
|
||||||
ocamlbuild tests.native $(TARGETS) $(DOC)
|
ocamlbuild tests.native $(TARGETS) $(DOC)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
Sequence
|
Sequence
|
||||||
========
|
========
|
||||||
|
|
||||||
Simple sequence abstract datatype, intented to transfer a finite number of elements from one data structure to another.
|
Simple sequence abstract datatype, intented to transfer a finite number of
|
||||||
|
elements from one data structure to another. It also provides a tiny
|
||||||
|
library for S-expressions, convertible to streams of tokens, and conversely.
|
||||||
|
|
||||||
Build
|
Build
|
||||||
=====
|
=====
|
||||||
|
|
@ -11,7 +13,8 @@ You need OCaml, say OCaml 3.12 or OCaml 4.0.
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
To see how to use it, check `tests.ml`. `sequence.ml` has a few examples of how to convert
|
To see how to use it, check `tests.ml`. `sequence.ml` has a few examples of how to convert
|
||||||
data structures into sequences, and conversely.
|
data structures into sequences, and conversely. The module `sexpr.mli` exposes the interface
|
||||||
|
of the S-expression library.
|
||||||
|
|
||||||
License
|
License
|
||||||
=======
|
=======
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue