<Ptival>
(I assume that web application means something interactive to you)
<Technodrome>
it still needs to be server side though
<Ptival>
ok
g0dmoney- has quit [Ping timeout: 246 seconds]
<Ptival>
then you'd need Eliom (so the whole thing...)
<Ptival>
I don't know of alternatives
<avsm>
if you don't mind unreleased libraries that could change interface, try github.com/avsm/ocaml-cohttpserver (and its dependencies, mostly on my github too)
<avsm>
it just gives you an embeddable Lwt HTTP interface
fantasticsid has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
rjohnson has quit [Ping timeout: 248 seconds]
rjohnson has joined #ocaml
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
Tobu has quit [Changing host]
Tobu has joined #ocaml
g0dmoney- has joined #ocaml
avsm has quit [Quit: Leaving.]
everyonemines has joined #ocaml
_andre has joined #ocaml
avsm has joined #ocaml
cab2 has left #ocaml []
Tobu has quit [Ping timeout: 272 seconds]
Technodrome has left #ocaml []
iago has joined #ocaml
andreypopp has joined #ocaml
Tobu has joined #ocaml
rby_ has quit [Ping timeout: 244 seconds]
benozol has joined #ocaml
benozol has quit [Client Quit]
iago has quit [Ping timeout: 272 seconds]
Cyanure has joined #ocaml
jimmyrcom has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
benozol has joined #ocaml
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
benozol has quit [Quit: Konversation terminated!]
benozol has joined #ocaml
mmajchrzak has joined #ocaml
<hcarty>
Ptival: ocamlnet provides (Fast)CGI support
mfp has quit [Ping timeout: 276 seconds]
xenocons has quit [Ping timeout: 265 seconds]
iago has joined #ocaml
xenocons has joined #ocaml
mfp has joined #ocaml
iago has quit [Ping timeout: 248 seconds]
rby has joined #ocaml
mfp has quit [Read error: Connection reset by peer]
<hcarty>
yezariaely: utop has the additional benefit, beyond arrow keys and improved editing, of providing context-appropriate tab completion.
<thomasga>
this seems to not be allowed, but maybe someone knows a workaround ?
<thelema_>
the path can be put into the myocamlbuild.ml file
<thomasga>
well, no, it says : "Included or Excluded directory should be implicit"
<thelema_>
flag ["ocaml"; "compile"] & S[A"-I"; "/usr/local/lib/foo"]
<thomasga>
I was hoping I can just invoke the command line with the right magic options to make that happen … but yes, I'm using a myocamlbuild.ml at the moment that I'm trying to get ride
<thelema_>
can you use ocamlfind instead of the manual path?
<thomasga>
no
iago has quit [Quit: Leaving]
<Drakken>
thomasga -cflags -I,/usr/local/lib/foo
<thelema_>
--packages option added to odb; allows the download and install of all packages listed in a local or remote packages file
benozol has quit [Read error: Connection reset by peer]
beckerb has joined #ocaml
iago has joined #ocaml
<Kakadu>
Can you show me a manual about _tags file where is described how to set and unset some warnings?
rby has quit [Read error: Connection reset by peer]
<pippijn>
that one actually also includes a C parser which is deactivated now
<pippijn>
so it loads slowly
Xizor has joined #ocaml
beckerb has quit [Quit: Konversation terminated!]
<thelema_>
gildor: I thought you couldn't do that for things outside your project tree
<gildor>
thelema_: maybe you are right ;-)
<gildor>
he should definitively use ocamlfind
<thelema_>
hcarty: this handles multiple things, 1) oasis setup from scratch (by simulating a fixed repo in a single file) and 2) fast install of many packages, such as for what the barbra people want
<thelema_>
gildor: agreed
<thelema_>
gildor: any chance that oasis-db could expose the version number of each package? (in the info file and in the 00list summary)
<gildor>
thelema_: you already have it using the API
mmajchrzak has quit [Ping timeout: 246 seconds]
<gildor>
thelema_: you need it in the oasis-db/odb ?
<thelema_>
gildor: i.e. stop using the funky odb interface and use the official oasis-db API?
<thelema_>
I'd like it in the 00list file, so that people know what version of each package is available just by running odb without arguments (without going to odb website)
<gildor>
thelema_: I am not saying that at all, if you wish to have it in oasis-db/odb, that is possible
<gildor>
thelema_: patch to oasis-db/odb.ml will be faster to integrate, so you'll have to wait (I am focusing on oasis v0.3 right now)
<thelema_>
gildor: I wouldn't be offended if that were your responsel I don't want to take you away from really important things
<gildor>
thelema_: integration of odb.ml is important
<thelema_>
I'm treating the existance of any odb features within oasis-db as a personal favor to me (and to the odb community)
<gildor>
thelema_: come on, that what I call "symbiosis"
<thelema_>
:)
<gildor>
thelema_: I am not the kind of guy that that do favor
<gildor>
thelema_: odb gives me the ability to show people that complains about the number of deps of oasis, that an easy way to install exists
<thelema_>
I think as of today, it also gives a single-command way to install oasis and all its deps, as reliably as any bundle
<gildor>
thelema_: but right now, as I told you, I am working on oasis v0.3, so no time for oasis-db
Tobu has joined #ocaml
<gildor>
thelema_: I agree on the bundle vs odb, but I was planning to do the bundle thing
<pippijn>
oasis-db looks interesting
<thelema_>
got it. I have things I should be doing instead of tweaking odb. Once I put together a packages file for oasis and put it on the internet somewhere, I'll be done with odb for a while, I think.
<gildor>
pippijn: indeed
<thelema_>
pippijn: use, test, help us package non-oasis libraries for oasis, etc.
<pippijn>
Exception: Failure "Package not in unstable repo: perl".
<thelema_>
sadly, this listing of packages doesn't actually list the names that odb uses. odb uses all of the findlib names provided by a package
<thelema_>
pippijn: one sec, you're the first person to upload an ocaml program that needs perl to build
<pippijn>
http://paste.xinu.at/UgeEw/ <- trivial enough to be written as shell script, but I usually write all my scripts in perl
<thelema_>
lablgtksourceview2 and js_of_ocaml too...
<_habnabit>
so there's -- and --^ and ---, but no ---^ ?
<pippijn>
oh yes, js_of_ocaml
<pippijn>
how can I get oasis to build a .js file?
<thelema_>
_habnabit: correct.
<thelema_>
pippijn: add rules to myocamlbuild.ml and ... I dunno after that
<pippijn>
I did
<pippijn>
ocamlbuild file.js works
<pippijn>
it's good enough for me, but oasis won't install it then
<pippijn>
which is fine, because who wants a js file installed :)
<pippijn>
but it might be nice to end up in /usr/share somewhere so it can be used
<thelema_>
ok, I've hacked around lablgtksourceview2 and js_of_ocaml; odb won't know how to install them, but they won't get in the way of your installing FCC if they're already installed
<thelema_>
if you can package them and upload them to oasis-db, that will fix this
<pippijn>
Deps for cparser satisfied
<_habnabit>
oh, hm
<_habnabit>
--- doesn't give you an empty enum if your lhs < rhs
<thelema_>
yes, -- does that
<thelema_>
err, the other way around...
<pippijn>
hum
<thelema_>
err, lhs is supposed to be < rhs
<_habnabit>
yeah
<pippijn>
it's broken
<thelema_>
--- extends -- for the reverse
<thelema_>
pippijn: last few lines?
<pippijn>
it's using the makefile
<_habnabit>
I'm trying to get f 20 18 -> [20; 19] and f 18 20 -> []
<pippijn>
make: *** No rule to make target `install'. Stop.
<_habnabit>
guess I have to write it myself
<thelema_>
_habnabit: yup.
<thelema_>
pippijn: is there no _oasis file in the tarball?
<pippijn>
there is
<thelema_>
setup.ml?
<pippijn>
hmm
<pippijn>
I don't think so
ulfdoz has joined #ocaml
<pippijn>
does it need one? I thought it would use oasis to generate one
<thelema_>
odb at the moment doesn't add an oasis dependency to every package that uses oasis.
<pippijn>
ok
<thelema_>
I've been tempted to do so, but I feel the right thing is for tarballs to have the setup.ml file precompiled
<pippijn>
yes
<pippijn>
I agree
<pippijn>
thelema_: Exception: Failure "Package not in unstable repo: lablgladecc2".
<thelema_>
are you depending on lablgladecc2 now?
<pippijn>
was already before
<pippijn>
but I didn't put it in the oasis file yet
<thelema_>
well, now it's in your oasis file.
<thelema_>
what is lablgtadecc2, a program or a library?
<pippijn>
a program
<pippijn>
it's in lablgtk2
<thelema_>
ok, one sec
<thelema_>
ah, well our lablgtk2 isn't marked as providing it...
<thelema_>
ok, try now.
<pippijn>
looking better now
<pippijn>
it did setup.ml configure
<pippijn>
oh
<pippijn>
of course
<pippijn>
E: Cannot find file 'hm/META' for findlib library hm
<pippijn>
I need one
albacker has joined #ocaml
albacker has quit [Changing host]
albacker has joined #ocaml
<thelema_>
if the right pre-requisites for lablgtk2 are installed, I think that odb will be able to install from scratch. (except for js_of_ocaml)
<thelema_>
if not, the user will get a failure that some part of lablgtk2 isn't found.
<thelema_>
which shouldn't be too bad, although it won't necessarily be linked to lablgtk2
<thelema_>
to auto-test download packages as part of install?
<pippijn>
yes
<pippijn>
or
<pippijn>
to not say failure: 100% if 1 out of 30 testsfailed
<thelema_>
Yes. I tried adding code to run ocaml setup.ml -test, but at the moment, the oasis-db doesn't tell odb about test deps
<pippijn>
ah
<pippijn>
$ echo 'let rec i = i in i' | /home/pippijn/.odb/bin/hm -
<pippijn>
(let rec i = i in i) : type recursion
<pippijn>
..................^
<pippijn>
working :)
<thelema_>
:) nice.
<pippijn>
can it uninstall?
cdidd has quit [Remote host closed the connection]
<thelema_>
not really. you can --force an install, and it'll use ocamlfind to remove the main library before reinstalling, but for your case with multiple libraries and executables, uninstallation becomes more complex.
<thelema_>
My usual pattern is to delete the whole ~/.odb dir and re-install the libraries I want.
<thelema_>
(or move it elsewhere if I'm just testing)
<pippijn>
ok
<pippijn>
I deleted the .odb dir, as fcc was the only thing in there
mfp has quit [Read error: Connection reset by peer]
mfp_ has joined #ocaml
mfp_ is now known as mfp
Znudzon has joined #ocaml
thomasga has quit [Quit: Leaving.]
pangoafk is now known as pango
_andre has quit [Quit: leaving]
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
iago has joined #ocaml
thomasga has joined #ocaml
zcero has quit [Read error: Connection reset by peer]
ulfdoz has quit [Ping timeout: 246 seconds]
Snark has quit [Quit: Quitte]
skchrko has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120314111819]]