MegaWatS has quit ["Oceania has ALWAYS been at war with Eastasia!"]
arav has joined #ocaml
<arav>
Hey... bit of a question. How do I implement something like ML's 'as' in a match statement. I know you can, I just can't remember how. (i.e. x as Constructor(var1, var2)
<whee>
Blah x y as something?
<whee>
I forget. hm :|
<arav>
yup!
__DL__ has quit [Remote closed the connection]
gl has quit [Read error: 104 (Connection reset by peer)]
arav has quit ["User disconnected"]
BeJiTo has quit [Read error: 104 (Connection reset by peer)]
systems has joined #ocaml
gene9 has joined #ocaml
systems has quit ["Client Exiting"]
gene9 has quit []
mattam has quit ["leaving"]
<whee>
anyone know what the 'dynamics' branch of ocaml cvs is?
mrvn has joined #ocaml
mrvn_ has quit [Read error: 110 (Connection timed out)]
smklsmkl has joined #ocaml
smkl has quit [Remote closed the connection]
mrvn has quit [benford.freenode.net irc.freenode.net]
nkoza has quit [benford.freenode.net irc.freenode.net]
flar has quit [benford.freenode.net irc.freenode.net]
mrvn has joined #ocaml
nkoza has joined #ocaml
flar has joined #ocaml
nkoza has quit [Read error: 110 (Connection timed out)]
nkoza has joined #ocaml
systems has joined #ocaml
nkoza has quit [Read error: 60 (Operation timed out)]
<olczyk>
IS there a good xml and html parser availbe in Caml?
<ayrnieu`>
The only thing I've seen is PXP, which doesn't seem to be what you want.
<olczyk>
Ah. Why not.
<olczyk>
I need something that can handle any kind of web page that's thrown at it.
<olczyk>
I had lots of experience with all sorts of html/xml parsers. They all seem to choke at some point when thrown
<olczyk>
a badly enough designed web page.
<olczyk>
I want/need something that can handle virtually anything. I don't really care what language it's in.
* Zavie[test_cmldo
finds that ocamldoc is really amazing ! :-)
TachYon25 has quit ["bez ki³y nie ma zaliczenia (z prawd studentek AM)"]
flar_ has joined #ocaml
flar has quit [Read error: 110 (Connection timed out)]
<olczyk>
ayrnieu`:: I don't know if you are still here, but if you are. It seems that PXP doesn't even come close.
<olczyk>
I think it is silly to go gaga over an XML parser. There are tons that do the job well. IT's parsing HTML well
<olczyk>
that's hard.
<smkl>
perhaps try something that's used in a browser
Zavie[test_cmldo is now known as Zavie[EPITA]
Yurik has joined #ocaml
<Yurik>
re
<Zavie[EPITA]>
'lu/hi :)
Zavie[EPITA] is now known as Zavie[ocamldoc]
<gl>
epita hu..
<gl>
101010.. -> 42.. surprising :)
<Zavie[ocamldoc]>
^_^
<gl>
a soft named ocamweb (still in dev..) could be interesting for you, zavie
<gl>
it's buggy, but funny
* Zavie[ocamldoc]
went to see that...
<Yurik>
unfortuantely, ocamlweb is not natural literate programming tool
<Yurik>
ocamlweb is pretty-printing tool more than literate programming
<gl>
i use it as a little tool, to format my code in .ps
* Yurik
is developing mWEB (\muWEB) that will be a true WEB tool w/ features from FunnelWeb, CWEB and formatting backends to make code nice as in ocamlweb from time to time
<Zavie[ocamldoc]>
interesting :)
Yurik has quit ["÷ÙÛÅÌ ÉÚ XChat"]
Yurik has joined #ocaml
olczyk has quit [Read error: 60 (Operation timed out)]
Yurik has quit [Read error: 54 (Connection reset by peer)]
Miwong has joined #ocaml
<Miwong>
hello
<Zavie[ocamldoc]>
Hello :)
MegaWatS has joined #ocaml
<Zavie[ocamldoc]>
Well, have to go :)
<Zavie[ocamldoc]>
Bye
Zavie[ocamldoc] has quit []
BeJiTo has joined #ocaml
graydon has joined #ocaml
systems has joined #ocaml
Yurik has joined #ocaml
<Yurik>
re
karryall has quit ["tcho"]
Yurik has quit ["÷ÙÛÅÌ ÉÚ XChat"]
hdaume has joined #ocaml
hdaume has left #ocaml []
DL_home has joined #ocaml
systems has quit [Read error: 110 (Connection timed out)]
graydon has quit []
gl is now known as Torquemada
gl has joined #ocaml
two-face has joined #ocaml
<two-face>
hi
mattam has joined #ocaml
graydon has joined #ocaml
Torquemada has quit [Read error: 104 (Connection reset by peer)]
ayrnieu has joined #ocaml
Torquemada has joined #ocaml
ayrnieu` has quit [Read error: 60 (Operation timed out)]
malc has joined #ocaml
ayrnieu has quit ["ERC v2.93 $Revision: 1.308 $ (IRC client for Emacs)"]
malc has quit [Read error: 110 (Connection timed out)]
systems has joined #ocaml
Yurik has joined #ocaml
zack__ has joined #ocaml
<Yurik>
re
<Yurik>
hi all!
<two-face>
Yuriiiii !
<two-face>
Yurik da supastah da Namespace!
<Yurik>
two-face: hi :-)
AndyA has joined #ocaml
<Yurik>
btw, about namespaces... I'll release new version soon
<two-face>
:)
<Yurik>
it will contain namespace retrieval and dependencies soon
<systems>
new version of what
<systems>
who are you
<two-face>
are there people insterested in working on a Qt binding?
<Yurik>
currently I define nemaespace descriptors as XML documents
<Yurik>
systems: of ocamlns, namespace extension to ocaml
<Yurik>
systems: I'm Yurii :-)
<systems>
>:]
<Yurik>
two-face: I've plans to make it in 2003, when my project will need Qt clients
<two-face>
Yurik: i've already started the job
* Yurik
is drinking an excellent Chernigevske beer celebrating future seminar at Moscow about E/AS
<Yurik>
two-face: good! If you want, I can help you (within my possibilities)
<systems>
e/as
<systems>
what is that
<two-face>
Yurik: ok
<Yurik>
systems: E/AS is a E/AS Software Foundation that is currently working on Bauss project which is aimed to provide a next-generation open source business automation framework
<Yurik>
:)
<Yurik>
two-face: what you've done already?
<two-face>
Yurik: some widget classes
<two-face>
Yurik: the most difficult is signal slots
<two-face>
Yurik: it will need some C++ glue code to trick
* AndyA
ponders where Yurik got Chernigevske beer
<Yurik>
two-face: have you found a solution already?
<Yurik>
AndyA: in Ukraine, of course
<systems>
business automation framework , this doesnt mean much , anything can be called business automation
<systems>
:)
<two-face>
Yurik: i'm in contact wth Jacques Garrigue, he gave me some ideas
<Yurik>
systems: well, it is a common framework of data transfer and invocation
<AndyA>
isn't SWIG will help to make a glue?
<Yurik>
SWIG sucks (at least for me)
<Yurik>
two-face: Jacques is a cool guy :-)
<AndyA>
Yurik: glad to meet someone from here
<Yurik>
AndyA: oh, you are from Odessa? :-)
<two-face>
Yurik: he used to start a qt binding but gave up, he sent me his code
<AndyA>
Yurik: dp you have other tool to make this unpleasant task more aesy?
<AndyA>
Yurik: yes
<Yurik>
AndyA: what do you mean? "dp you..."
<Torquemada>
do, i guess :)
<AndyA>
Yurik: i mean do you, sorry :)
<Yurik>
AndyA: cool! I'm from Kharkov. You're second people from Ukraine that knows about OCaml i've met
<AndyA>
Yurik: i came here to take a bit more taste about it
zack__ is now known as zack
<two-face>
zack !!
<Yurik>
AndyA: ok, you mean about business automation? Well, all exsiting solutions aren't suitable for me and guys from my team... that is why...
<zack>
hi!
<AndyA>
Yurik: i'm still be tied to Lisp
<Yurik>
AndyA: come here to us, to Caml community! :-))
<Yurik>
AndyA: If you'll join there will be 3 guys interested in OCaml here in Ukraine :-)
<AndyA>
Yurik: i'm trying :)
<two-face>
lisp is quite nice too ; my favourite editor is lisp-made ;-)
<Yurik>
Lisp is really very nice, i agree
<AndyA>
Yurik: i still have some troubles with ML syntax, but i see what i cam get if i will dig throug it
<Yurik>
but caml seems to be more practical, may be.. anyway, i got caml as a brilliant language to implement my needs in good fashion and speed of development
<AndyA>
Lisp is good for another tasks
<AndyA>
here is place for both of them
<systems>
Lisp syntax is a joke and totalement un-acceptable
<two-face>
you get used to it
<AndyA>
system: just use proper tools and don't read parentesies :)
<Yurik>
AndyA: well, as for me, i got some problems in ML syntax while studying it. but when got an idea - I falled in love with it :-)
<Yurik>
yes, you're absolutely right - both of them has a place in this world :-)
<two-face>
some Playstation games are written in common lisp
* Yurik
found that he is drinking a last liter of beer :)
<Yurik>
the last of 3 litres :)
<systems>
lisp syntax is still a joke
gl has quit ["leaving"]
Torquemada is now known as gl
<systems>
thank God lisp is as unpopular as it is
<Yurik>
well, parenthesis was a real pain in the a.. :) but it is inhabitual only for some amount of time..
<AndyA>
systems: is ocaml more popular? :)
<systems>
yes
<AndyA>
systems: i'm not sure
<two-face>
Lisp has a lot of niches, it is certainly not unpopular
<Yurik>
ocaml is less popular, unfortunately
<AndyA>
and lisp macro system has something in it
<two-face>
lisp is also an ANSI standard
<Yurik>
yeah... ocaml has no standard.. it's bad.
<AndyA>
anyway i don't bother in how languare is popular, i only bother how good is it to solve my problems
<two-face>
of course
<systems>
I download this file that lambda the ultimate site, it's an intro to lambda calculus , i will probably, spend the night readin it, it's only 55 pages
<Yurik>
as for me, caml let me program in qualitative and fast manner
<two-face>
where?
<systems>
ocaml has no standard ??? ocaml has only one distributor !! as far as i know
<Yurik>
yes, only one
<systems>
so why does it need standard
<Yurik>
but standard make it more popular, i think
<Yurik>
like Standard ML has
<systems>
python is almost the same case and python is fairly popular
<two-face>
Ada is used where I work
<Yurik>
but... ocaml is very fast in evolution... hard to have a standard
<whee>
ocaml has no standard because it doesn't need one
<whee>
noone would attempt to write an entirely new compiler with the language, there's no point
<AndyA>
standard is needed for commercial acceptance
<two-face>
yes, but you know, industry want standards :)
<Yurik>
the most important thing ocaml is needed is a set of popular libs :-)
<whee>
two-face: then the industry's never going to use ocaml :D
<two-face>
whee: it does
<Yurik>
well, as I've heard some industries use it
<AndyA>
or what is this document?
<Yurik>
in france
<whee>
but there's never going to be a standard really
<systems>
the theories behind , imperatif and functional programming
<two-face>
some companies in France
<Yurik>
banks?
<Yurik>
i've heard that some of bank machines uses it
<whee>
every time someone brings up ocaml syntax (the camlp4 guy for instance), the compiler dismisses it as being 'just syntax'. noone will ever agree on anythin
<Yurik>
credit card machines i mean
graydon has quit []
<whee>
s/compiler/ compiler people/
<systems>
imperatif programming became more popular
<Yurik>
imperative programming is painful
<AndyA>
France is a bithplace of OCaml :)
<systems>
what is so terrible about ocaml syntax !!!!
<AndyA>
at some moment imperative become very evil
<whee>
systems: ambiguous in too many places for my liking
<Yurik>
in fact, /me is trying to make ocaml more popular at least at the ex-USSR space
<whee>
that's why I use revised syntax D:
<Yurik>
ocaml syntax is quite easy
* Yurik
tried to use revised syntax for some amount of time, but got that it is not so good as original one
<AndyA>
systems: it's terrible in only one thing - it's different :)
<whee>
it has places where you really don't know what it'll do by glancing at it if perhaps your indentation is misleading
<Yurik>
even 'let' is better :-)
<AndyA>
systems: like you find Lisp syntax terrible
<systems>
lisp syntax is hard on the eye, and takes a lot of time to figure out what is inside what
* whee
loves s-expressions
<systems>
it's can be easy to write using emacs , but its terrible to read
<Yurik>
AndyA: btw. if you want to hear about a project that uses ocaml anywhere when it can, come to Moscow at 9 Dec