00:01
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
00:02
lggr has joined #ocaml
00:08
<
wieczyk >
not = is ?
00:09
lggr has quit [Ping timeout: 256 seconds]
00:10
<
wmeyer >
for structural <>
00:11
<
wmeyer >
for physical !=
00:11
lggr has joined #ocaml
00:17
lggr has quit [Ping timeout: 248 seconds]
00:20
lggr has joined #ocaml
00:23
avsm has quit [Quit: Leaving.]
00:25
<
wmeyer >
thelema: is there BatFormat.list?
00:25
<
wmeyer >
BatFormat looks quite lean...
00:26
lggr has quit [Ping timeout: 264 seconds]
00:29
lggr has joined #ocaml
00:32
avsm has joined #ocaml
00:33
avsm has quit [Client Quit]
00:34
ulfdoz_ has joined #ocaml
00:35
avsm has joined #ocaml
00:35
lggr has quit [Ping timeout: 240 seconds]
00:37
ulfdoz has quit [Ping timeout: 240 seconds]
00:37
ulfdoz_ is now known as ulfdoz
00:38
mnabil has joined #ocaml
00:38
lggr has joined #ocaml
00:45
lggr has quit [Ping timeout: 240 seconds]
00:48
lggr has joined #ocaml
00:48
Yoric has quit [Ping timeout: 256 seconds]
00:48
Playground has left #ocaml []
00:49
avsm has quit [Quit: Leaving.]
00:54
GnomeStoleMyBike has quit [Ping timeout: 260 seconds]
00:55
lggr has quit [Ping timeout: 240 seconds]
00:58
lggr has joined #ocaml
01:00
ontologiae has joined #ocaml
01:04
lggr has quit [Ping timeout: 240 seconds]
01:08
lggr has joined #ocaml
01:09
pippijn has joined #ocaml
01:09
pippijn has quit [Changing host]
01:09
pippijn has joined #ocaml
01:10
<
wmeyer >
pippijn: hi
01:11
<
wmeyer >
how is the C++ frontend?
01:11
<
wmeyer >
did you manager to understand the PEG?
01:12
<
pippijn >
I have a problem with PEG
01:12
<
pippijn >
or aurochs, I'm not sure
01:13
<
pippijn >
it appears to
*not* be backtracking
01:13
ontologiae has quit [Ping timeout: 256 seconds]
01:13
<
wmeyer >
maybe you have cut operator?
01:14
<
wmeyer >
i will pull
01:14
<
wmeyer >
and see what's there now
01:14
<
pippijn >
function_definition ::= attribute_specifier* decl_specifier_seq? declarator virt_specifier* function_body
01:14
lggr has quit [Ping timeout: 246 seconds]
01:14
<
pippijn >
let's ignore the * ones
01:15
<
pippijn >
decl_specifier_seq? declarator function_body
01:15
<
pippijn >
consider "int main () { }"
01:15
<
pippijn >
I tell aurochs to start with decl_specifier_seq
01:15
<
wmeyer >
OK, so, even not looking yet into PEG
01:16
<
wmeyer >
i think the problem is with the order
01:16
<
wmeyer >
in CFG the choice is not significant
01:16
<
pippijn >
the problem is that decl_specifier_seq eats everything
01:16
<
wmeyer >
ok, let me look
01:16
<
pippijn >
it eats "int main" as two types
01:17
<
pippijn >
simple type "int"; class name "main"
01:17
<
pippijn >
then it wants to parse "declarator"
01:17
<
pippijn >
and "main" is a valid declarator, and "main ()" is also a valid declarator
01:17
<
pippijn >
but it doesn't see "main" anymore, because decl_specifier_seq ate it
01:18
lggr has joined #ocaml
01:18
<
pippijn >
then it says "parse error"
01:19
madroach has quit [Ping timeout: 265 seconds]
01:19
<
pippijn >
wmeyer: it shouldn't throw a parse error before having tried all options
01:19
<
pippijn >
I could understand it mis-parsing things because of choice, but not stopping
01:19
chambart has quit [Ping timeout: 246 seconds]
01:20
madroach has joined #ocaml
01:23
err404 has quit [Remote host closed the connection]
01:24
<
wmeyer >
pippijn: I think it's a problem with "!" peg operator
01:24
<
wmeyer >
just a sec
01:24
lggr has quit [Ping timeout: 256 seconds]
01:24
<
wmeyer >
i am looking
01:26
<
wmeyer >
Identifier !LEFTARROW
01:26
<
wmeyer >
OPEN Expression CLOSE
01:26
<
wmeyer >
Literal / Class / DOT
01:26
<
wmeyer >
in particular
01:26
<
wmeyer >
when ! is used it will greedely match Identifier but only to the point where LEFTARROW begins
01:27
lggr has joined #ocaml
01:27
<
wmeyer >
so identfier is matched but never followed by LEFTARROW
01:27
<
wmeyer >
this is to make sure that we can have
01:28
<
wmeyer >
similar stuff to let and let ... in ... in OCaml
01:29
<
wmeyer >
look at the PEG PEG grammar in the paper
01:29
<
pippijn >
I'm looking at it
01:29
<
wmeyer >
it looks like the ! is very important for resolving ambiguities
01:29
<
wmeyer >
the PEG mindset is different a bit than CFG
01:29
<
wmeyer >
i suspect that's the problem in your parser
01:30
<
wmeyer >
if we reduce this to smaller peg
01:30
<
wmeyer >
to make it work just with small example, maybe that would help
01:30
<
pippijn >
I think it's ok if you use aurochs -start
01:31
<
pippijn >
and -w none, because otherwise it will spew screens full of unused productions
01:33
<
wmeyer >
let me try
01:33
lggr has quit [Ping timeout: 246 seconds]
01:34
mietek has quit [Quit: leaving]
01:37
lggr has joined #ocaml
01:37
<
wmeyer >
aurochs -parse testsuite/test.c grammar/cxx.peg
01:37
<
wmeyer >
Aurochs 1.0.94
01:37
<
wmeyer >
- Parsing file testsuite/test.c using Nog interpreter
01:37
<
wmeyer >
- Grammar loaded from file grammar/cxx.peg
01:37
<
wmeyer >
Fatal error: exception Sys_error("testsuite/test.c: No such file or directory")
01:37
<
wmeyer >
make:
*** [check] Error 2
01:37
<
wmeyer >
please push the test
01:37
<
wmeyer >
i am checking it manually now too
01:38
mietek has joined #ocaml
01:38
<
wmeyer >
is that what you have:
01:38
<
wmeyer >
`--λ aurochs -parse ../t.cpp grammar/cxx.peg
01:38
<
wmeyer >
Aurochs 1.0.94
01:38
<
wmeyer >
- Parsing file ../t.cpp using Nog interpreter
01:38
<
wmeyer >
- Grammar loaded from file grammar/cxx.peg
01:39
<
wmeyer >
<Translation_unit/>
01:39
<
wmeyer >
- No targets
01:43
lggr has quit [Ping timeout: 240 seconds]
01:45
<
wmeyer >
pippijn: ok, so the problem is
01:46
<
wmeyer >
all the keywords and qualifiers needs to be protected from being parsed as normal identifiers
01:46
<
wmeyer >
if you have situation like
01:46
lggr has joined #ocaml
01:47
<
wmeyer >
volatile int test = 13;
01:47
<
wmeyer >
then you have to have say that the rule for the identifier is never volatile or int or any other keyword
01:47
<
wmeyer >
using cut PEG operator
01:48
<
wmeyer >
i know it sounds not intuitive after long lessons with Menhir
01:48
<
wmeyer >
(it looked to me perfectly fine when I was using parsing combinators)
01:49
<
wmeyer >
smth like: keyword ::= "volatile" | "int" | "auto" | "register" | "template"
01:50
<
wmeyer >
identifer = !keyword [a-z]+
01:50
<
wmeyer >
should do the trick
01:50
<
wmeyer >
(need to read the paper again too)
01:51
<
wmeyer >
the cut operator is what controls the choices and backtracking
01:51
<
pippijn >
wmeyer: the test is "int main () { }"
01:51
<
pippijn >
try this: aurochs -start function_definition -w none -trace -parse testsuite/test.c grammar/cxx.peg
01:52
<
wmeyer >
yes, i am trying to get my head around
01:52
<
pippijn >
-trace seems to do nothing, by the way
01:53
lggr has quit [Ping timeout: 240 seconds]
01:53
<
wmeyer >
`--λ aurochs -start function_definition -w none -trace -parse ../t.cpp grammar/cxx.peg
01:53
<
wmeyer >
Aurochs 1.0.94
01:53
<
wmeyer >
- Parsing file ../t.cpp using Ocaml Nog interpreter
01:53
<
wmeyer >
- Grammar loaded from file grammar/cxx.peg
01:53
<
wmeyer >
- PARSE ERROR IN FILE ../t.cpp AT CHARACTER 10
01:53
<
wmeyer >
so it looks like it's stopping before )
01:54
<
wmeyer >
i think it's workable :-)
01:54
<
pippijn >
I think it's stopping before (
01:54
<
pippijn >
it's "at character", not "after character"
01:54
<
wmeyer >
sounds more logical, yes
01:54
<
pippijn >
() is correctly parsed as parameter list
01:54
<
pippijn >
now I tried the keyword thing with ~keyword where keyword ::= "int"
01:55
<
pippijn >
no difference
01:55
<
wmeyer >
ok so you have that
01:55
<
wmeyer >
preprocessing_op_or_punc rule
01:55
<
wmeyer >
and we have int main ()
01:56
<
pippijn >
preprocessing stuff is unreachable from function_definition
01:56
lggr has joined #ocaml
01:57
<
wmeyer >
function_definition
01:57
<
wmeyer >
but i cant see yet how it's structured
01:58
<
wmeyer >
attribute_specifier* decl_specifier_seq? "()" function_body
01:58
<
wmeyer >
`--λ aurochs -start function_definition -w none -trace -parse ../t.cpp grammar/cxx.peg
01:58
<
wmeyer >
Aurochs 1.0.94
01:58
<
wmeyer >
- Parsing file ../t.cpp using Ocaml Nog interpreter
01:58
<
wmeyer >
- Grammar loaded from file grammar/cxx.peg
01:59
<
wmeyer >
<Function_definition>
01:59
<
wmeyer >
<Decl_specifier_seq>
01:59
<
wmeyer >
<Decl_specifier>
01:59
<
wmeyer >
<Type_specifier>
01:59
<
wmeyer >
<Trailing_type_specifier>
01:59
<
pippijn >
oh.. you're pasting the whole thing
01:59
<
wmeyer >
<Simple_type_specifier s="int"/>
01:59
<
wmeyer >
</Trailing_type_specifier>
01:59
<
wmeyer >
</Type_specifier>
01:59
<
wmeyer >
</Decl_specifier>
01:59
<
wmeyer >
<Decl_specifier>
01:59
<
wmeyer >
<Type_specifier>
01:59
<
wmeyer >
<Trailing_type_specifier>
01:59
<
wmeyer >
<Simple_type_specifier>
01:59
<
pippijn >
that's 32 lines
01:59
<
wmeyer >
<Type_name>
01:59
<
wmeyer >
<Class_name s="main"/>
01:59
<
wmeyer >
</Type_name>
01:59
<
wmeyer >
</Simple_type_specifier>
01:59
<
wmeyer >
</Trailing_type_specifier>
01:59
<
wmeyer >
</Type_specifier>
01:59
<
wmeyer >
</Decl_specifier>
02:00
<
wmeyer >
</Decl_specifier_seq>
02:00
<
wmeyer >
<Function_body>
02:00
<
wmeyer >
<Compound_statement/>
02:00
<
wmeyer >
</Function_body>
02:00
<
wmeyer >
</Function_definition>
02:00
<
wmeyer >
- No targets
02:00
<
wmeyer >
so that's what we would expect
02:00
<
wmeyer >
but i hardcoded the "()"
02:00
<
pippijn >
wmeyer: you should stop pasting large amounts of text in irc
02:00
<
wmeyer >
maybe i will paste on priv later
02:00
<
wmeyer >
i don't want to annoy people sleeping here
02:00
<
wmeyer >
and reading logs
02:00
<
pippijn >
your client rate-limits
02:01
<
wmeyer >
i know, sorry ...
02:01
<
wmeyer >
i will tell erc to disallow me to do this
02:01
<
pippijn >
so it just sends one line per 1 or 2 seconds
02:01
<
wmeyer >
are you on jabber?
02:01
<
wmeyer >
we might have better fun doing that on gmail or whatever
02:02
<
wmeyer >
i will pop up now
02:02
<
pippijn >
but you should get a paste script
02:02
<
wmeyer >
of course - i am lazy :-)
02:02
<
wmeyer >
there are scripting things in emacs
02:02
<
wmeyer >
and i am kind of emacs power user
02:02
<
pippijn >
copying things out of IRC is sometimes not so much fun
02:03
<
wmeyer >
M-x list-packages :)
02:03
lggr has quit [Ping timeout: 246 seconds]
02:03
theplanet has joined #ocaml
02:03
<
pippijn >
C-x M-x M-butterfly
02:04
<
wmeyer >
no. there are other funny modes
02:04
<
pippijn >
ah no, C-x M-c M-butterfly
02:04
<
wmeyer >
there are also romantic poems in Emacs
02:04
<
pippijn >
there is also a shrink in emacs
02:06
lggr has joined #ocaml
02:06
<
pippijn >
wmeyer: the problem is not solved by replacing declarator with "()"
02:06
<
pippijn >
because declarator should be "main" "()"
02:07
<
wmeyer >
of course it's not a full solution
02:07
<
pippijn >
it's not even partial
02:07
<
wmeyer >
but at least somewhat parses the small example
02:07
<
wmeyer >
takes step forward ...
02:07
<
pippijn >
replace declarator with "main" "()" and you get the same error
02:07
<
pippijn >
ok, that's true
02:12
lggr has quit [Ping timeout: 256 seconds]
02:14
lggr has joined #ocaml
02:20
argylelabcoat has joined #ocaml
02:21
lggr has quit [Ping timeout: 264 seconds]
02:24
lggr has joined #ocaml
02:31
lggr has quit [Ping timeout: 245 seconds]
02:32
astertronistic has joined #ocaml
02:32
as has joined #ocaml
02:34
lggr has joined #ocaml
02:34
as has quit [Client Quit]
02:40
lggr has quit [Ping timeout: 248 seconds]
02:43
lggr has joined #ocaml
02:49
Playground has joined #ocaml
02:51
lggr has quit [Ping timeout: 246 seconds]
02:55
lggr has joined #ocaml
03:02
lggr has quit [Ping timeout: 246 seconds]
03:05
lggr has joined #ocaml
03:12
lggr has quit [Ping timeout: 246 seconds]
03:14
lggr has joined #ocaml
03:16
Yoric has joined #ocaml
03:21
lggr has quit [Ping timeout: 245 seconds]
03:24
lggr has joined #ocaml
03:30
lggr has quit [Ping timeout: 256 seconds]
03:33
lggr has joined #ocaml
03:40
lggr has quit [Ping timeout: 260 seconds]
03:43
lggr has joined #ocaml
03:50
lggr has quit [Ping timeout: 245 seconds]
03:52
lggr has joined #ocaml
03:59
lggr has quit [Ping timeout: 245 seconds]
04:01
lggr has joined #ocaml
04:07
lggr has quit [Ping timeout: 248 seconds]
04:10
lggr has joined #ocaml
04:17
lggr has quit [Ping timeout: 246 seconds]
04:17
mnabil has quit [Ping timeout: 245 seconds]
04:19
Yoric has quit [Remote host closed the connection]
04:19
Yoric has joined #ocaml
04:21
lggr has joined #ocaml
04:28
lggr has quit [Ping timeout: 260 seconds]
04:30
lggr has joined #ocaml
04:36
lggr has quit [Ping timeout: 256 seconds]
04:40
lggr has joined #ocaml
04:46
lggr has quit [Ping timeout: 264 seconds]
04:49
lggr has joined #ocaml
04:56
lggr has quit [Ping timeout: 264 seconds]
05:00
lggr has joined #ocaml
05:04
Playground has quit [Ping timeout: 264 seconds]
05:07
lggr has quit [Ping timeout: 246 seconds]
05:07
argylelabcoat_ has joined #ocaml
05:08
argylelabcoat has quit [Ping timeout: 244 seconds]
05:08
argylelabcoat_ is now known as argylelabcoat
05:08
rossberg has quit [Ping timeout: 246 seconds]
05:10
lggr has joined #ocaml
05:17
lggr has quit [Ping timeout: 252 seconds]
05:19
rossberg has joined #ocaml
05:20
lggr has joined #ocaml
05:27
lggr has quit [Ping timeout: 246 seconds]
05:31
lggr has joined #ocaml
05:37
lggr has quit [Ping timeout: 240 seconds]
05:41
lggr has joined #ocaml
05:47
lggr has quit [Ping timeout: 244 seconds]
05:50
lggr has joined #ocaml
05:56
lggr has quit [Ping timeout: 246 seconds]
05:58
Kakadu has joined #ocaml
05:58
lggr has joined #ocaml
06:04
lggr has quit [Ping timeout: 256 seconds]
06:05
argylelabcoat has quit [Quit: argylelabcoat]
06:07
lggr has joined #ocaml
06:07
Cyanure has joined #ocaml
06:13
lggr has quit [Ping timeout: 244 seconds]
06:16
lggr has joined #ocaml
06:23
lggr has quit [Ping timeout: 246 seconds]
06:26
lggr has joined #ocaml
06:28
Cyanure has quit [Remote host closed the connection]
06:31
Jeaye has joined #ocaml
06:33
lggr has quit [Ping timeout: 240 seconds]
06:36
lggr has joined #ocaml
06:42
lggr has quit [Ping timeout: 244 seconds]
06:44
lggr has joined #ocaml
06:51
lggr has quit [Ping timeout: 260 seconds]
06:54
lggr has joined #ocaml
07:00
lggr has quit [Ping timeout: 256 seconds]
07:03
lggr has joined #ocaml
07:10
lggr has quit [Ping timeout: 260 seconds]
07:12
lggr has joined #ocaml
07:18
lggr has quit [Ping timeout: 248 seconds]
07:21
lggr has joined #ocaml
07:28
lggr has quit [Ping timeout: 248 seconds]
07:30
lggr has joined #ocaml
07:32
Snark has joined #ocaml
07:37
lggr has quit [Ping timeout: 255 seconds]
07:40
lggr has joined #ocaml
07:47
lggr has quit [Ping timeout: 245 seconds]
07:49
lggr has joined #ocaml
07:54
cdidd has quit [Ping timeout: 244 seconds]
07:56
lggr has quit [Ping timeout: 244 seconds]
07:58
lggr has joined #ocaml
07:58
GnomeStoleMyBike has joined #ocaml
08:04
lggr has quit [Ping timeout: 260 seconds]
08:07
lggr has joined #ocaml
08:10
cdidd has joined #ocaml
08:14
lggr has quit [Ping timeout: 240 seconds]
08:17
lggr has joined #ocaml
08:21
eni has joined #ocaml
08:24
lggr has quit [Ping timeout: 248 seconds]
08:27
lggr has joined #ocaml
08:34
lggr has quit [Ping timeout: 260 seconds]
08:36
lggr has joined #ocaml
08:36
Tobu has joined #ocaml
08:42
lggr has quit [Ping timeout: 244 seconds]
08:43
Cyanure has joined #ocaml
08:44
lggr has joined #ocaml
08:51
lggr has quit [Ping timeout: 260 seconds]
08:53
lggr has joined #ocaml
09:00
lggr has quit [Ping timeout: 260 seconds]
09:03
lggr has joined #ocaml
09:04
Kakadu has quit [Quit: Konversation terminated!]
09:06
sepp2k has joined #ocaml
09:10
lggr has quit [Ping timeout: 255 seconds]
09:11
lggr has joined #ocaml
09:13
ontologiae has joined #ocaml
09:18
lggr has quit [Ping timeout: 246 seconds]
09:20
lggr has joined #ocaml
09:27
lggr has quit [Ping timeout: 260 seconds]
09:29
lggr has joined #ocaml
09:35
lggr has quit [Ping timeout: 256 seconds]
09:38
ontologiae has quit [Ping timeout: 248 seconds]
09:38
lggr has joined #ocaml
09:45
Jeaye has quit [Quit: WeeChat 0.3.9]
09:45
lggr has quit [Ping timeout: 245 seconds]
09:48
lggr has joined #ocaml
09:55
lggr has quit [Ping timeout: 260 seconds]
09:58
lggr has joined #ocaml
10:04
lggr has quit [Ping timeout: 264 seconds]
10:04
theplanet is now known as plantd
10:07
lggr has joined #ocaml
10:10
Kakadu has joined #ocaml
10:14
lggr has quit [Ping timeout: 260 seconds]
10:16
ontologiae has joined #ocaml
10:17
lggr has joined #ocaml
10:18
RebelBunny has joined #ocaml
10:22
<
wmeyer >
adrien: mornig
10:22
<
adrien >
you wake up early
10:23
<
wmeyer >
yes. I'm still not sure..
10:23
lggr has quit [Ping timeout: 260 seconds]
10:24
<
wmeyer >
here is just before 12
10:26
lggr has joined #ocaml
10:27
<
adrien >
just before 12?
10:27
<
wmeyer >
best song in the morning is "Write in C"
10:28
<
wmeyer >
half past 11 does not make any difference to me
10:29
ontologiae has quit [Ping timeout: 252 seconds]
10:31
<
wmeyer >
Words of wisdom: C is a domain specific language for system interaction
10:31
<
wmeyer >
pretty much that is these days
10:33
lggr has quit [Ping timeout: 246 seconds]
10:36
lggr has joined #ocaml
10:43
lggr has quit [Ping timeout: 264 seconds]
10:45
lggr has joined #ocaml
10:51
lggr has quit [Ping timeout: 244 seconds]
10:52
Sablier has joined #ocaml
10:54
lggr has joined #ocaml
11:00
eni has quit [Quit: Leaving]
11:01
wagle has quit [Remote host closed the connection]
11:01
wagle has joined #ocaml
11:01
lggr has quit [Ping timeout: 252 seconds]
11:04
lggr has joined #ocaml
11:08
beginner42 has joined #ocaml
11:11
lggr has quit [Ping timeout: 246 seconds]
11:14
lggr has joined #ocaml
11:21
lggr has quit [Ping timeout: 246 seconds]
11:24
lggr has joined #ocaml
11:31
lggr has quit [Ping timeout: 264 seconds]
11:33
lggr has joined #ocaml
11:40
lggr has quit [Ping timeout: 260 seconds]
11:43
lggr has joined #ocaml
11:43
<
Yoric >
wmeyer: I like your words of wisdom.
11:49
ulfdoz has quit [Quit: deprecated]
11:50
lggr has quit [Ping timeout: 244 seconds]
11:51
fraggle_ has quit [Remote host closed the connection]
11:52
lggr has joined #ocaml
11:55
ulfdoz has joined #ocaml
11:58
lggr has quit [Ping timeout: 256 seconds]
11:59
fraggle_ has joined #ocaml
12:01
lggr has joined #ocaml
12:03
ontologiae has joined #ocaml
12:08
lggr has quit [Ping timeout: 260 seconds]
12:11
lggr has joined #ocaml
12:17
oriba has joined #ocaml
12:18
lggr has quit [Ping timeout: 240 seconds]
12:20
ontologi1e has joined #ocaml
12:21
lggr has joined #ocaml
12:22
ontologiae has quit [Ping timeout: 245 seconds]
12:25
ontologi1e has quit [Ping timeout: 244 seconds]
12:25
ontologiae has joined #ocaml
12:27
lggr has quit [Ping timeout: 248 seconds]
12:30
lggr has joined #ocaml
12:33
casion has joined #ocaml
12:35
ulfdoz has quit [Quit: deprecated]
12:36
lggr has quit [Ping timeout: 246 seconds]
12:39
ontologiae has quit [Ping timeout: 252 seconds]
12:40
lggr has joined #ocaml
12:46
lggr has quit [Ping timeout: 252 seconds]
12:50
lggr has joined #ocaml
12:56
lggr has quit [Ping timeout: 246 seconds]
12:59
jave_ has joined #ocaml
12:59
jave has quit [Ping timeout: 245 seconds]
12:59
jave_ is now known as jave
12:59
lggr has joined #ocaml
13:04
mnabil has joined #ocaml
13:06
lggr has quit [Ping timeout: 260 seconds]
13:09
lggr has joined #ocaml
13:16
lggr has quit [Ping timeout: 240 seconds]
13:19
lggr has joined #ocaml
13:25
<
beginner42 >
mcclurmc: opam is still making trouble with my package
13:26
lggr has quit [Ping timeout: 248 seconds]
13:28
lggr has joined #ocaml
13:35
lggr has quit [Ping timeout: 255 seconds]
13:38
Playground has joined #ocaml
13:38
lggr has joined #ocaml
13:42
jave has quit [Read error: Connection reset by peer]
13:43
jave_ has joined #ocaml
13:45
lggr has quit [Ping timeout: 240 seconds]
13:48
lggr has joined #ocaml
13:54
lggr has quit [Ping timeout: 256 seconds]
13:54
Playground has quit [Quit: lag]
13:55
<
adrien >
hmpf, what's the public URI for git repositories on the forge already?
13:56
lggr has joined #ocaml
13:57
<
adrien >
but git errors out with a 128 error code
13:58
<
wmeyer >
adrien: yes, I saw the same yesterday.
13:59
<
wmeyer >
a git, not the web interface, that's strange.
13:59
<
adrien >
but another project of mine works
14:00
<
wmeyer >
of course you tried to clone fresh repo?
14:03
sivoais has quit [Read error: Connection reset by peer]
14:03
sivoais has joined #ocaml
14:03
lggr has quit [Ping timeout: 246 seconds]
14:04
<
wmeyer >
adrien: is it not giving any clue?
14:07
lggr has joined #ocaml
14:07
oriba has quit [Quit: oriba]
14:08
<
adrien >
I'm a bit in a hurry so I'll check a bit later
14:09
chambart has joined #ocaml
14:12
<
beginner42 >
does someone know why opam remote -add adds a package/ and compiler/ folder to my package?
14:14
lggr has quit [Ping timeout: 244 seconds]
14:17
lggr has joined #ocaml
14:22
chambart has quit [Ping timeout: 255 seconds]
14:24
lggr has quit [Ping timeout: 260 seconds]
14:26
lggr has joined #ocaml
14:32
lggr has quit [Ping timeout: 252 seconds]
14:35
lggr has joined #ocaml
14:41
<
beginner42 >
does someone know how to add a repository to opam?
14:42
lggr has quit [Ping timeout: 240 seconds]
14:43
sepp2k has quit [Remote host closed the connection]
14:45
lggr has joined #ocaml
14:46
mcstar has joined #ocaml
14:51
lggr has quit [Ping timeout: 245 seconds]
14:55
lggr has joined #ocaml
14:56
casion has quit [Quit: casion]
14:58
pngl has joined #ocaml
14:59
<
pngl >
Given a string that contains a non-printable character, can I tell ocaml to print an escaped representation of the character instead of the character itself? (e.g. given "\n", print "\n" instead of a newline)
15:01
<
Kakadu >
pngl: String.escaped?
15:02
lggr has quit [Ping timeout: 246 seconds]
15:02
<
pngl >
Kakadu: thank you (and sorry! I was looking around Printf)
15:05
lggr has joined #ocaml
15:12
lggr has quit [Ping timeout: 246 seconds]
15:15
lggr has joined #ocaml
15:22
lggr has quit [Ping timeout: 260 seconds]
15:23
Cyanure has quit [Ping timeout: 244 seconds]
15:25
lggr has joined #ocaml
15:28
Cyanure has joined #ocaml
15:31
lggr has quit [Ping timeout: 256 seconds]
15:34
lggr has joined #ocaml
15:34
<
adrien >
pngl: or printf with the %S format iirc
15:40
lggr has quit [Ping timeout: 252 seconds]
15:43
lggr has joined #ocaml
15:48
pango has quit [Ping timeout: 265 seconds]
15:49
lggr has quit [Ping timeout: 264 seconds]
15:52
lggr has joined #ocaml
15:55
emmanuelux has joined #ocaml
15:59
lggr has quit [Ping timeout: 244 seconds]
16:00
pango has joined #ocaml
16:02
lggr has joined #ocaml
16:02
jave_ has quit [Ping timeout: 246 seconds]
16:06
jave has joined #ocaml
16:08
lggr has quit [Ping timeout: 240 seconds]
16:12
lggr has joined #ocaml
16:18
lggr has quit [Ping timeout: 255 seconds]
16:21
jamii has joined #ocaml
16:22
lggr has joined #ocaml
16:24
casion has joined #ocaml
16:28
lggr has quit [Ping timeout: 246 seconds]
16:31
lggr has joined #ocaml
16:33
jave_ has joined #ocaml
16:34
jave has quit [Read error: Connection reset by peer]
16:34
jave_ is now known as jave
16:37
lggr has quit [Ping timeout: 256 seconds]
16:40
lggr has joined #ocaml
16:42
mnabil has quit [Ping timeout: 246 seconds]
16:46
lggr has quit [Ping timeout: 248 seconds]
16:48
Kakadu has quit [Quit: Konversation terminated!]
16:49
lggr has joined #ocaml
16:53
Yoric has quit [Remote host closed the connection]
16:53
Yoric has joined #ocaml
16:55
ontologiae has joined #ocaml
16:56
lggr has quit [Ping timeout: 240 seconds]
16:56
mnabil has joined #ocaml
16:59
lggr has joined #ocaml
17:05
lggr has quit [Ping timeout: 240 seconds]
17:08
lggr has joined #ocaml
17:09
Jeaye has joined #ocaml
17:10
<
hcarty >
wmeyer: In Batteries' git master branch there is IO.Incubator.List.pp
17:11
<
hcarty >
wmeyer: Similarly for Array and Enum
17:11
<
hcarty >
wmeyer: If you're looking for a pretty-printed list
17:12
spaceships has joined #ocaml
17:12
ontologiae has quit [Ping timeout: 245 seconds]
17:12
sivoais has quit [Read error: Connection reset by peer]
17:13
sivoais has joined #ocaml
17:14
lggr has quit [Ping timeout: 246 seconds]
17:17
lggr has joined #ocaml
17:18
Kakadu has joined #ocaml
17:22
abeaulieu has quit [Changing host]
17:22
abeaulieu has joined #ocaml
17:24
lggr has quit [Ping timeout: 244 seconds]
17:27
lggr has joined #ocaml
17:34
lggr has quit [Ping timeout: 248 seconds]
17:36
lggr has joined #ocaml
17:41
casion_ has joined #ocaml
17:41
casion has quit [Ping timeout: 246 seconds]
17:41
casion_ is now known as casion
17:42
larhat has quit [Quit: Leaving.]
17:43
lggr has quit [Ping timeout: 246 seconds]
17:43
Tobu has quit [Ping timeout: 260 seconds]
17:44
larhat has joined #ocaml
17:46
lggr has joined #ocaml
17:50
<
wmeyer >
hcarty: ok, thanks. So it's a planed feature?
17:53
lggr has quit [Ping timeout: 255 seconds]
17:56
lggr has joined #ocaml
18:02
Kakadu has quit [Quit: Konversation terminated!]
18:03
lggr has quit [Ping timeout: 240 seconds]
18:06
lggr has joined #ocaml
18:13
lggr has quit [Ping timeout: 252 seconds]
18:16
lggr has joined #ocaml
18:23
lggr has quit [Ping timeout: 246 seconds]
18:26
emmanuelux has quit [Ping timeout: 246 seconds]
18:27
lggr has joined #ocaml
18:32
larhat has quit [Quit: Leaving.]
18:33
lggr has quit [Ping timeout: 260 seconds]
18:34
sepp2k has joined #ocaml
18:35
err404 has joined #ocaml
18:35
<
adrien >
actually, Iggr is never on the channel
18:35
<
adrien >
the second he connects, he's on his way to ping timeout
18:36
lggr has joined #ocaml
18:39
emmanuelux has joined #ocaml
18:43
lggr has quit [Ping timeout: 264 seconds]
18:46
lggr has joined #ocaml
18:52
lggr has quit [Ping timeout: 245 seconds]
18:52
larhat has joined #ocaml
18:53
larhat has quit [Client Quit]
18:54
willb has quit [Ping timeout: 244 seconds]
18:56
lggr has joined #ocaml
19:02
lggr has quit [Ping timeout: 256 seconds]
19:04
Znudzon has joined #ocaml
19:05
plantd is now known as theplanet
19:06
willb has joined #ocaml
19:06
lggr has joined #ocaml
19:08
larhat has joined #ocaml
19:11
lggr has quit [Ping timeout: 245 seconds]
19:12
larhat has quit [Ping timeout: 240 seconds]
19:15
lggr has joined #ocaml
19:19
<
wtetzner >
how would i go about building a project with ocamlbuild that uses bitstring?
19:19
<
wtetzner >
i don't understand how to get the syntax extensions working
19:22
lggr has quit [Ping timeout: 255 seconds]
19:24
<
adrien >
possibly something like: syntax(camlp4o), package(bitstring), package(bitstring.syntax)
19:25
lggr has joined #ocaml
19:31
<
beginner42 >
someone here familiar with opam packaging?
19:33
lggr has quit [Ping timeout: 244 seconds]
19:35
<
Jeaye >
f (g 3) (* C++ coder here, couldn't this be interpreted as a pair of function pointer and integer? *)
19:36
lggr has joined #ocaml
19:40
<
adrien >
in C++, that would be strictly equivalent to f(g(3))
19:42
BiDOrD_ has joined #ocaml
19:43
lggr has quit [Ping timeout: 260 seconds]
19:44
BiDOrD has quit [Ping timeout: 246 seconds]
19:48
flx_ has joined #ocaml
19:48
zzz_` has joined #ocaml
19:49
ttm has joined #ocaml
19:50
mehdid_ has joined #ocaml
19:51
emias_ has joined #ocaml
19:52
Qrntz_ has joined #ocaml
19:52
madroach_ has joined #ocaml
19:52
lggr has joined #ocaml
19:53
tizoc` has joined #ocaml
19:55
madroach has quit [*.net *.split]
19:55
flux has quit [*.net *.split]
19:55
emias has quit [*.net *.split]
19:55
Qrntz has quit [*.net *.split]
19:55
tizoc has quit [*.net *.split]
19:55
mehdid has quit [*.net *.split]
19:55
zzz_ has quit [*.net *.split]
19:55
The_third_man has quit [*.net *.split]
19:56
Derander has quit [*.net *.split]
19:56
_habnabit has quit [*.net *.split]
19:56
thelema has quit [*.net *.split]
19:56
Dettorer has quit [*.net *.split]
19:56
ansx has quit [*.net *.split]
19:56
mk270 has quit [*.net *.split]
19:56
flx_ is now known as flux
19:56
Derander has joined #ocaml
19:56
_habnabit has joined #ocaml
19:56
thelema has joined #ocaml
19:56
Dettorer has joined #ocaml
19:56
ansx has joined #ocaml
19:56
mk270 has joined #ocaml
19:59
lggr has quit [Ping timeout: 248 seconds]
20:01
Derander has quit [*.net *.split]
20:01
_habnabit has quit [*.net *.split]
20:01
Derander has joined #ocaml
20:01
_habnabit has joined #ocaml
20:02
lggr has joined #ocaml
20:09
lggr has quit [Ping timeout: 246 seconds]
20:13
lggr has joined #ocaml
20:13
larhat has joined #ocaml
20:13
Yoric has quit [Ping timeout: 256 seconds]
20:17
<
GnomeStoleMyBike >
Cloud is a lie
20:18
<
GnomeStoleMyBike >
Hi all
20:19
lggr has quit [Ping timeout: 245 seconds]
20:20
Snark has quit [Quit: Quitte]
20:20
<
mcstar >
hm, haskell wasnt fulfilling enough?
20:23
lggr has joined #ocaml
20:28
pango has quit [Ping timeout: 268 seconds]
20:29
lggr has quit [Ping timeout: 245 seconds]
20:30
pango has joined #ocaml
20:32
lggr has joined #ocaml
20:36
emias_ has quit [Quit: Changing server]
20:36
emias has joined #ocaml
20:38
lggr has quit [Ping timeout: 245 seconds]
20:41
lggr has joined #ocaml
20:43
Qrntz_ is now known as Qrntz
20:43
Qrntz has quit [Changing host]
20:43
Qrntz has joined #ocaml
20:48
lggr has quit [Ping timeout: 245 seconds]
20:49
err404 has quit [Quit: Ex-Chat]
20:50
Cyanure has quit [Remote host closed the connection]
20:51
lggr has joined #ocaml
20:55
cdidd has quit [Remote host closed the connection]
20:57
lggr has quit [Ping timeout: 245 seconds]
20:59
tizoc` is now known as tizoc
21:00
tizoc has quit [Changing host]
21:00
tizoc has joined #ocaml
21:00
lggr has joined #ocaml
21:07
lggr has quit [Ping timeout: 255 seconds]
21:10
lggr has joined #ocaml
21:11
Jeaye has quit [Ping timeout: 276 seconds]
21:14
<
beginner42 >
how can i use ocaml to find all links in an html file?
21:16
lggr has quit [Ping timeout: 244 seconds]
21:20
lggr has joined #ocaml
21:20
Jeaye has joined #ocaml
21:27
lggr has quit [Ping timeout: 245 seconds]
21:27
jave has quit [Read error: Connection reset by peer]
21:30
lggr has joined #ocaml
21:35
jave has joined #ocaml
21:36
lggr has quit [Ping timeout: 246 seconds]
21:38
mcstar has quit [Quit: mcstar]
21:38
Tobu has joined #ocaml
21:39
lggr has joined #ocaml
21:44
Tobu has quit [Ping timeout: 272 seconds]
21:45
lggr has quit [Ping timeout: 260 seconds]
21:48
Yoric has joined #ocaml
21:49
lggr has joined #ocaml
21:55
lggr has quit [Ping timeout: 260 seconds]
21:58
lggr has joined #ocaml
22:02
chambart has joined #ocaml
22:05
lggr has quit [Ping timeout: 255 seconds]
22:08
lggr has joined #ocaml
22:14
nimred has quit [Ping timeout: 256 seconds]
22:14
lggr has quit [Ping timeout: 240 seconds]
22:18
lggr has joined #ocaml
22:24
lggr has quit [Ping timeout: 244 seconds]
22:26
nimred has joined #ocaml
22:26
nimred has quit [Changing host]
22:26
nimred has joined #ocaml
22:27
lggr has joined #ocaml
22:29
mnabil has quit [Ping timeout: 264 seconds]
22:30
rudi has joined #ocaml
22:31
jamii has quit [Ping timeout: 246 seconds]
22:34
lggr has quit [Ping timeout: 244 seconds]
22:34
beginner42 has quit [Ping timeout: 240 seconds]
22:37
lggr has joined #ocaml
22:39
nimred has quit [Ping timeout: 260 seconds]
22:40
chambart has quit [Ping timeout: 246 seconds]
22:40
nimred has joined #ocaml
22:44
lggr has quit [Ping timeout: 260 seconds]
22:46
Yoric has quit [Ping timeout: 246 seconds]
22:46
lggr has joined #ocaml
22:52
jamii has joined #ocaml
22:53
lggr has quit [Ping timeout: 264 seconds]
22:55
lggr has joined #ocaml
22:59
chambart has joined #ocaml
23:01
lggr has quit [Ping timeout: 245 seconds]
23:03
<
GnomeStoleMyBike >
Hi All
23:03
<
GnomeStoleMyBike >
it is sunday :D
23:04
lggr has joined #ocaml
23:05
<
wmeyer >
GnomeStoleMyBike: :>
23:05
<
wmeyer >
GnomeStoleMyBike: I'm welcoming the sunrise today flipping Caml code.
23:11
lggr has quit [Ping timeout: 260 seconds]
23:12
chambart has quit [Ping timeout: 248 seconds]
23:14
lggr has joined #ocaml
23:20
lggr has quit [Ping timeout: 245 seconds]
23:22
lggr has joined #ocaml
23:26
chambart has joined #ocaml
23:29
lggr has quit [Ping timeout: 255 seconds]
23:31
Sablier has quit []
23:32
lggr has joined #ocaml
23:36
mnabil has joined #ocaml
23:36
chambart has quit [Ping timeout: 245 seconds]
23:39
lggr has quit [Ping timeout: 246 seconds]
23:42
lggr has joined #ocaml
23:49
lggr has quit [Ping timeout: 245 seconds]
23:51
chambart has joined #ocaml
23:51
lggr has joined #ocaml
23:58
lggr has quit [Ping timeout: 244 seconds]
23:59
pngl has quit [Ping timeout: 246 seconds]