From: Kenneth Knowles <kknowles@uclink.berkeley.edu>
To: caml-list@inria.fr
Subject: [Caml-list] [ANNOUNCE] Development versions: ocamlconf, ASPCC
Date: Tue, 2 Mar 2004 17:47:57 -0800 [thread overview]
Message-ID: <20040303014757.GA23400@tallman.kefka.frap.net> (raw)
Hello caml-list,
I have two projects that I haven't polished to a release state, but I'm hoping
someone might be interested in, so I'm offering access via darcs
(http://www.abridgegame.org/darcs)
(1) ocamlconf
Ocamlconf is like autoconf but much simpler, utterly ocaml-centric, and
dependent on findlib.
You can get it via the command
'darcs get http://kefka.frap.net:8080/~kenn/repos/ocamlconf'
What it is/does:
* An autoconf-like tool but using ocaml scripts instead of m4
* It uses the ocaml toplevel instead of bytecode for cross-version
compatability
* Outputs a makefile and a simple config.ml
* It is _extremely_ simple to use, especially if your projects are 100% ocaml,
like mine. (A configure.ml comparable to a configure.ac might be 100
lines for a complex project)
Why I didn't use autotools/ocamlmakefile/...:
* autotools are pretty C centric, and more of a pain than necessary for
an ocaml project which already limits its audience to more-or-less modern
users. GNU must support very arcane and archaic setups, but ocamlconf aims
to suport "anything with ocaml"
* anyone building an ocaml package with have the toplevel already
* OcamlMakefile is awkward with multiple targets (such as suites of utilities)
and I'd rather write (or depend on) a simple ocaml script than a complex
Makefile
* And of course, I did it to see if I could make something simple and useful
for myself - I've succeeded, as it is what I use for 100% of my ocaml
projects
(2) ASPCC
ASPCC started as a little project to robustly parse VbScript, for practice.
Then with the abstract syntax tree I tried to output equivalent PHP scripts. I
got pretty far on that, and decided I needed to run the VbScript in order to do
unit-test comparisons between it and the PHP. Here is what it is now:
You can get it via the command
'darcs get http://kefka.frap.net:8080/~kenn/repos/aspcc'
* A naively simple ASP interpreter that still appears to be more than
competitive in speed with MS ASP, but needs more DB support to run
real-world apps. It does, however, support all VbScript syntax.
* Support for running .asp files under Apache. No mod_caml support yet, but
it runs as a CGI and is not at a point
* An incomplete bytecode compiler and VM. I made up a new bytecode instead of
using ocaml or Java because VbScript has really really weird semantics
sometimes. Also I want to try my hand at a little virtual machine for fun.
Again, the disclaimers: I hate VbScript, but I program it because my company
has a huge ASP codebase, and I love the people here; they are just a little
change-wary. There are other VbScript / ASP solutions, but all of them are
incomplete in different ways, have different focuses, and are written in
languages that I'm not really interested in using.
Thanks for reading if you made it through all that,
Kenn
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next reply other threads:[~2004-03-03 1:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 1:47 Kenneth Knowles [this message]
2004-03-03 5:16 ` Issac Trotts
2004-03-03 6:25 ` Kenneth Knowles
2004-03-03 19:53 ` Issac Trotts
2004-03-03 23:06 ` Kenneth Knowles
2004-03-03 19:56 ` David MENTRE
2004-03-03 20:29 ` Issac Trotts
2004-03-03 22:36 ` Kenneth Knowles
2004-03-11 11:09 ` Markus Mottl
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=20040303014757.GA23400@tallman.kefka.frap.net \
--to=kknowles@uclink.berkeley.edu \
--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