gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
emmanuelux has quit [Ping timeout: 264 seconds]
emmanuelux has joined #ocaml
struktured has joined #ocaml
gnuvince has quit [Ping timeout: 249 seconds]
struktured has quit [Read error: Connection reset by peer]
johnnowak has joined #ocaml
struktured has joined #ocaml
gnuvince has joined #ocaml
lin has joined #ocaml
struktured has quit [Read error: Connection reset by peer]
struktured has joined #ocaml
gnuvince has quit [Ping timeout: 250 seconds]
carm has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
carm has quit [Read error: Connection reset by peer]
milosn has quit [Ping timeout: 244 seconds]
milosn has joined #ocaml
struktured has joined #ocaml
Sablier has quit [Read error: Connection reset by peer]
struktured has quit [Read error: Connection reset by peer]
diego_diego has joined #ocaml
lin has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
abdallah has joined #ocaml
abdallah has quit [Client Quit]
abdallah has joined #ocaml
struktured has joined #ocaml
rgrinberg has joined #ocaml
johnnowak has quit [Ping timeout: 272 seconds]
abdallah has quit [Quit: Ex-Chat]
diego_diego has quit [Quit: diego_diego]
emmanuelux has quit [Remote host closed the connection]
Progster has quit [Read error: Operation timed out]
Framedragger has joined #ocaml
zorun has quit [Read error: Connection reset by peer]
zorun has joined #ocaml
hcarty has quit [Ping timeout: 245 seconds]
hcarty has joined #ocaml
ankit9 has joined #ocaml
mjonsson_ has quit [Remote host closed the connection]
cdidd has quit [Remote host closed the connection]
ankit9 has quit [Ping timeout: 246 seconds]
lin has joined #ocaml
johnnowak has joined #ocaml
ankit9 has joined #ocaml
johnnowak has left #ocaml []
ankit9 has quit [Ping timeout: 245 seconds]
Framedragger has quit [Ping timeout: 276 seconds]
ankit9 has joined #ocaml
edwin has joined #ocaml
edwin has left #ocaml []
osa1 has joined #ocaml
ankit9 has quit [Quit: Leaving]
ftrvxmtrx has quit [Quit: Leaving]
pango is now known as pangoafk
ftrvxmtrx has joined #ocaml
Snark has joined #ocaml
Kakadu has joined #ocaml
ankit9 has joined #ocaml
djcoin has joined #ocaml
mika1 has joined #ocaml
cago has joined #ocaml
silver has joined #ocaml
Yoric has joined #ocaml
Sablier has joined #ocaml
absalon has joined #ocaml
absalon has quit [Quit: Ex-Chat]
sgnb has quit [Remote host closed the connection]
Yoric has quit [Ping timeout: 276 seconds]
ankit9 has quit [Quit: Leaving]
sgnb has joined #ocaml
Cyanure has joined #ocaml
dronf has quit [Ping timeout: 246 seconds]
Yoric has joined #ocaml
thomasga has joined #ocaml
beckerb has joined #ocaml
dronf has joined #ocaml
avsm has joined #ocaml
thomasga has quit [Ping timeout: 244 seconds]
ankit9 has joined #ocaml
mcclurmc has quit [Ping timeout: 252 seconds]
jonathandav has quit [Ping timeout: 252 seconds]
cago1 has joined #ocaml
cago has quit [Read error: Connection reset by peer]
osa1 has quit [Quit: Konversation terminated!]
thomasga has joined #ocaml
mcclurmc has joined #ocaml
eni has joined #ocaml
jonathandav has joined #ocaml
thomasga1 has joined #ocaml
mcclurmc_ has joined #ocaml
thomasga has quit [Ping timeout: 260 seconds]
mcclurmc has quit [Ping timeout: 245 seconds]
mcclurmc_ is now known as mcclurmc
Cyanure has quit [Ping timeout: 246 seconds]
avsm has quit [Quit: Leaving.]
Cyanure has joined #ocaml
avsm has joined #ocaml
Hussaind has joined #ocaml
Hussaind has left #ocaml []
_andre has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
gnuvince has joined #ocaml
eni has quit [Ping timeout: 264 seconds]
lin has quit [Quit: 离开]
Progster has joined #ocaml
munga has quit [Ping timeout: 260 seconds]
eni has joined #ocaml
Framedragger has joined #ocaml
eni has quit [Client Quit]
gnuvince has quit [Ping timeout: 250 seconds]
ankit9 has quit [Ping timeout: 246 seconds]
gnuvince has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
struktured has quit [Ping timeout: 265 seconds]
lin has joined #ocaml
cdidd has joined #ocaml
sepp2k has joined #ocaml
ankit9 has joined #ocaml
Framedragger has quit [Ping timeout: 252 seconds]
fraggle_ has joined #ocaml
struktured has joined #ocaml
Kakadu has quit [Ping timeout: 245 seconds]
rixed has quit [Remote host closed the connection]
struktured has quit [Ping timeout: 272 seconds]
Kakadu has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
munga has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
diego_diego has joined #ocaml
munga has quit [Quit: Ex-Chat]
dronf has quit [Ping timeout: 244 seconds]
dronf has joined #ocaml
fraggle_ has joined #ocaml
avsm has quit [Quit: Leaving.]
Reventlov has quit [Ping timeout: 245 seconds]
TechCel has joined #ocaml
Progster has quit [Ping timeout: 265 seconds]
ankit9 has quit [Quit: Leaving]
tac-tics has joined #ocaml
eni has joined #ocaml
hongboz has left #ocaml []
cago1 has quit [Quit: Leaving.]
mika1 has quit [Quit: Leaving.]
hongboz has joined #ocaml
Submarine has quit [Quit: Leaving]
ftrvxmtrx has quit [Quit: Leaving]
<mfp> does anybody have forge.ocamlcore.org's RSA key fingerprint handy?
<hongboz>
<hongboz> *** #ocaml was created on Sunday 2006/11/26 01:42:40 AM
<hongboz> ERC> Hi, I wrote a type derivation code generator here :https://groups.google.com/d/topic/fa.caml/jUiHYhEDIZo/discussion
<hongboz> Its main advantage is that it does not need touch your source tree
<hongboz> and it's more general purpose and easy to customize your code generator
<hongboz> will any have a look and give some advice?
<hongboz> I try to derive all the boilerpolate code for the ocaml compiler and camlp4 itself
<hongboz> alpha stage. So feedback is welcome
silver has quit [Remote host closed the connection]
<Kakadu> Can oasis generate OCaml library in directory where _oasis is located? (instead of executable)
<mrvn> i don't see why not
* mfp finds the fingerprint in his logs > for future reference, forge.ocamlcore.org's RSA key fingerprint is d8:87:7f:b3:0c:fc:ef:ea:79:e5:23:64:b9:db:02:00
<mfp> f[x]: sorry for the noise :P
<f[x]> yeap, it matches
<f[x]> ssh-keygen -lF FTR
<mfp> will try to remember that
<Kakadu> mrvn: http://paste.in.ua/4410/raw/ It doesn't put cmxa to root
<mrvn> build files are always in _build
<Kakadu> mrvn: so oasis doesn't make symlink?
<mrvn> not for libs
<mrvn> afaik
<Kakadu> clear now
<f[x]> it's ocamlbuild which does symlinks
avsm has joined #ocaml
Sablier has quit [Read error: Connection reset by peer]
avsm has quit [Client Quit]
<mfp> hongboz: just a couple superficial observations: maybe an example in original syntax (not revised) would be more friendly, and you split the example into several files (a couple dozen lines looks less imposing than a couple hundred, even if they are logically separate) and maybe extract one of the generators and include it in the ANN
<mfp> and you *could* split
<hongboz> mfp: all modules derived for ocaml compiler was written original syntax
<hongboz> check Fan_ocaml_*
<hongboz> mfp: yes, gen_plugins was written using revised syntax
<hongboz> but when you use the plugings , you can still stick to original syntax
<hongboz> This is for the compiler's Env module
<hongboz> mfp: Is it a problem to read revised syntax?
<mfp> as for me, I can read and write it (when needed for camlp4 quotations, those in original syntax are too buggy), but favor the original one
<hongboz> mfp: yes, so many bugs in original syntaxes, that's why i wrote in revised syntax'
<mfp> I don't have any survey handy ;), but believe a small (just one generator) example written in original syntax (except for the quotations) would be a good thing to include in a future ANN
<hongboz> mfp: sure, I would rewrite gen_plugin in original syntax. for plugin writers, they don't need to understand too much about camlp4, I think it's doable
<hongboz> mfp: what i want to know is what kind of generics you want?
<hongboz> except for common cases: generic serialize, deserialize, traversal, lift?
<mfp> The first thing that comes to mind is very very mundane and basic: pretty-printing. There are many tools that solve it (sexplib, deriving...), but at the end of the day I code it manually because adding camlp4 to the building process is always a bother.
<mfp> now, in your approach this can be a one-time sort of thing,
<mfp> so I'd say the main thing driving adoption, more than the actual generators, is *convenience*
<mfp> if it's convenient, people will find uses for the different generators and write new ones
<f[x]> from the description I like that it is non-invasive
<hongboz> mfp: sure I wrote myocamlbuild.ml to drive all those stuff automatically
<hongboz> without even writting _tags
<mfp> yes, I believe that's the main draw for the user, and it's what could lead to it being adopted more widely than the likes of deriving
<hongboz> mfp: I don't like the ideas of mutating the syntax
<hongboz> except quotations
<mfp> hongboz: would it be possible to provide some sort of standalone tool that can load .cmo (.cmxs preferrably for speed) and generate the code?
<hongboz> mfp: actually all are supported. I would provied a stand alone binary
<hongboz> at this time my concern is the api design :-)
<hongboz> I used .cmxs for development, but .cmxs are not supported in all platforms
<hongboz> you can write your plugins and compile it to a .cmxs, fan can load your plugin
<mfp> right, but it's very nice to use them where supported. camlp4 is already taking most of the compilation time :-| (hoping syntax extensions shipped as .cxms become more common)
<mfp> sounds good
<hongboz> mfp: another benefit is fan provides a lot of library utilities for ast transformation
<hongboz> they are actually separated
Sablier has joined #ocaml
gnuvince has quit [Quit: C-x C-c]
<yezariaely> is there no has_key in BatMap ? Do I have to try catch a find ?
Yoric has quit [Ping timeout: 265 seconds]
<yezariaely> ah, there is a mem
lin has quit [Quit: Leaving]
BiDOrD has joined #ocaml
BiDOrD_ has quit [Ping timeout: 248 seconds]
djcoin has quit [Quit: WeeChat 0.3.2]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
dronf has quit [Read error: Connection reset by peer]
dronf has joined #ocaml
pangoafk is now known as pango
Yoric has joined #ocaml
osa1 has joined #ocaml
cyphase has joined #ocaml
tactics__ has quit [Ping timeout: 246 seconds]
tactics_ has joined #ocaml
gnuvince has joined #ocaml
Submarine has quit [Ping timeout: 248 seconds]
Yoric has quit [Ping timeout: 245 seconds]
eni is now known as albacker
albacker has quit [Changing host]
albacker has joined #ocaml
albacker is now known as eni
tactics_ has quit [Read error: Connection reset by peer]
tactics_ has joined #ocaml
eni has quit [Ping timeout: 244 seconds]
<mrvn> anyone know when oasis 0.3 will come out?
Anarchos has joined #ocaml
tactics__ has joined #ocaml
tactics_ has quit [Ping timeout: 246 seconds]
tactics_ has joined #ocaml
eni has joined #ocaml
thomasga1 has quit [Quit: Leaving.]
tactics__ has quit [Ping timeout: 276 seconds]
xpololz has joined #ocaml
j2d2j2d2 has joined #ocaml
tactics__ has joined #ocaml
tactics_ has quit [Ping timeout: 246 seconds]
tactics_ has joined #ocaml
Yoric has joined #ocaml
tactics__ has quit [Ping timeout: 246 seconds]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
jamii_ has joined #ocaml
<jamii_> trying to figure out how to use ocamlspot with emacs
<jamii_> everything I try gives me "error: no tree node found there"
xpololz has left #ocaml []
<jamii_> Which comes from a huge regex in the source that starts with "^Tree:"
Xizor has joined #ocaml
tac-tics has quit [Ping timeout: 245 seconds]
fschwidom has joined #ocaml
jamii_ has left #ocaml []
tac-tics has joined #ocaml
blinky- has joined #ocaml
nass has joined #ocaml
BiDOrD has quit [Ping timeout: 250 seconds]
BiDOrD_ has joined #ocaml
tactics__ has joined #ocaml
tactics_ has quit [Ping timeout: 246 seconds]
tactics_ has joined #ocaml
tactics__ has quit [Ping timeout: 246 seconds]
Yoric has quit [Ping timeout: 244 seconds]
fschwidom has quit [Remote host closed the connection]
gnuvince has quit [Ping timeout: 264 seconds]
_andre has quit [Quit: leaving]
sepp2k has quit [Ping timeout: 246 seconds]
ftrvxmtrx has joined #ocaml
Yoric has joined #ocaml
Snark has quit [Quit: Quitte]
sepp2k has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
srcerer has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120601045813]]
srcerer has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
johnnowak has joined #ocaml
johnnowak has quit [Client Quit]
wmeyer` has joined #ocaml
wmeyer has quit [Ping timeout: 260 seconds]
Submarine has quit [Ping timeout: 246 seconds]
_habnabit has quit [Ping timeout: 272 seconds]
benozol has joined #ocaml
benozol has quit [Client Quit]
benozol has joined #ocaml
_habnabit has joined #ocaml
benozol has quit [Client Quit]
Yoric has quit [Ping timeout: 244 seconds]
wmeyer`` has joined #ocaml
wmeyer` has quit [Read error: Connection reset by peer]
aromu has joined #ocaml
benozol has joined #ocaml
Cyanure has quit [Read error: Connection reset by peer]
eni has quit [Ping timeout: 276 seconds]
ftrvxmtrx has quit [Quit: Leaving]
benozol has quit [Quit: Konversation terminated!]
gnuvince has joined #ocaml
blinky- has quit [Quit: /quat]
mjonsson has joined #ocaml
mjonsson_ has joined #ocaml
wmeyer`` has quit [Remote host closed the connection]
mjonsson_ has quit [Read error: Connection reset by peer]
snarkyboojum has quit [Ping timeout: 252 seconds]
snarkyboojum has joined #ocaml
aromu has quit [Ping timeout: 260 seconds]
TechCel has quit [Ping timeout: 272 seconds]
aromu has joined #ocaml
diego_diego has quit [Quit: diego_diego]
aromu has left #ocaml []
Fnar has quit [*.net *.split]
othiym23 has quit [*.net *.split]
Fnar has joined #ocaml
othiym23 has joined #ocaml
Progster has joined #ocaml
<Drakken> ocamlbuild didn't feed bar.cmo to ocamlc, even though Bar is referenced in foo.ml.
struktured has joined #ocaml
<Drakken> I guess it didn't pass camlp4.cmo either, but it can't find bar.cmo even though it included the lib directory that contains bar.cmo.
Xizor has quit [Ping timeout: 260 seconds]
Sablier has quit [Quit: Kat]
sepp2k has quit [Remote host closed the connection]
<Drakken> oh, okay. I found the -lib option.
tactics_ has quit [Quit: Leaving]
tactics_ has joined #ocaml