Hi,
since I started committing my work in a darcs2 repository, and since I
always appreciate feedback, even in such an early stage of
development, I decided to make the repository public here:
http://code.haskell.org/citeproc-hs/
It requires darcs2 (from http://darcs.net) and a GHC toolchain (from
http://haskell.org/ghc/). No external libraries are needed so far -
except for mtl, which usually comes with ghc.
You can grab the code with:
darcs get http://code.haskell.org/citeproc-hs/
Without having to compile everything, you can just cd citeproc-hs and
run the test suite with:
runhaskell -i=src/ test/test.hs
In test.hs you can see the internal representation of a style and a
reference.
This should be the output of running the above command without
changing anything in test.hs:
"Person {namePrefix = “”, givenName = “Andrea”, initials = “”,
articular = “”, familyName = “Rossato”, nameSuffix = “”}"
Diritto e architettura nello spazio digitale, Bologna, Date {year =
2006, month = 1, day = 0, other = “”} testoMacro Titolo: Diritto e
architettura nello spazio digitale testoMacro3 ciao ciao
As you can see this is just a start: only a small subset of the
language is supported: conditionals, macros and the text element. The
very very beginning. Still promising in my opinion.
Any feedback appreciated.
Andrea