Use proper tools when we want to do powerful things.
authorPierre Habouzit <madcoder@debian.org>
Sun, 25 Mar 2007 23:02:04 +0000 (01:02 +0200)
committerPierre Habouzit <madcoder@debian.org>
Sun, 25 Mar 2007 23:02:04 +0000 (01:02 +0200)
commit07f92763f437c569cd9994154fc367c66279e21a
tree266faed35aaa01faedcd027577be53406f043f20
parentc68aaa3d8d4b5b64be9936675fe1194688debab2
Use proper tools when we want to do powerful things.

  * exit perl the dumbass. Have a bindings ocaml(lex) generator. Distributed
    tarballs will contain the generated files so that having ocaml is not
    absolutely required.

  * for now on, guess how to compile it...
    (hint: ocamllex cpkg2c.mll; ocamlopt -o cpkg2c str.cmxa cpkg2c.ml)

There has been many improvements wrt the old perl thing, so it won't work on
current cpkg files yet.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
tools/cpkg2c.mll [new file with mode: 0644]