chenglou changed the topic of #reasonml to: http://facebook.github.io/reason/. Public channel logs at http://irclog.whitequark.org/reasonml
copy` has joined #reasonml
Algebr has joined #reasonml
Algebr has quit [Ping timeout: 250 seconds]
pierpa has quit [Ping timeout: 250 seconds]
<yunxing> sspi: We've figured out why your previous patch didn't work (remember that?)
<yunxing> There was a shift/reduce conflict on LPAREN as we discussed before. I was wondering why it wan't reported.
<yunxing> It turned out that it wasn't reported because we set the associativity of LPAREN to "nonassoc". In this case, according to yacc/menhir's behavior, the S/R conflict is silently ignored.
jonasen has joined #reasonml
jimt_ has joined #reasonml
jimt has quit [Ping timeout: 250 seconds]
jimt_ is now known as jimt
Algebr`` has joined #reasonml
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
copy` has quit [Quit: Connection closed for inactivity]
jonasen has joined #reasonml
Algebr`` has quit [Ping timeout: 250 seconds]
jonasen has quit [Ping timeout: 260 seconds]
<sspi> yunxing: interesting, probably explains also why I got the syntax errors (from what I read this is the default behaviour in that case)
<yunxing> sspi: right. The control of precedence associativity in ocamlyacc is pretty coarse grained. We can't set a precedence of an operator without setting its associativity, which then automatically resolves some conflicts for you in an undesired way. Menhir inherits this interface and has the same behavior. Menhir's team was thinking about to add more finer
<yunxing> grained knobs. But that would require much more work to do while the demand for the feature is not that high.
jonasen has joined #reasonml
<sspi> yunxing: any important reason why OCaml is still stuck on ocamlyacc? from what I see (not an expert) there seems to be more momentum with Menhir
<companion_cube> ocamlyacc's runtime is in C, I believe, unlike menhir's
<companion_cube> but there are some mails on the ML archive that explain why
jonasen has quit [Ping timeout: 250 seconds]
jonasen has joined #reasonml
mfp_ has quit [Read error: Connection reset by peer]
<sspi> companion_cube: tnx, I'll look into that
copy` has joined #reasonml
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pierpa has joined #reasonml
<spion> whats blocking OCaml 4.03 support? :)
jonasen has joined #reasonml
struk|work has joined #reasonml
kassens has joined #reasonml
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kassens has quit [Read error: Connection reset by peer]
kassens has joined #reasonml
jonasen has joined #reasonml
kentw has joined #reasonml
kentw has quit [Remote host closed the connection]
kentw has joined #reasonml
kassens has quit [Ping timeout: 276 seconds]
kassens has joined #reasonml
kassens has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kassens has joined #reasonml
<yunxing> sspi: There is a huge pr that migrates ocaml itself to menhir
<yunxing> spion: AFAIK we are waiting for Merlin support for 4.03
<spion> oh ok.
<yunxing> spion: KC already has a PR that upgrades reason to 4.03
kentw has quit [Remote host closed the connection]
kentw has joined #reasonml
seangrove has joined #reasonml
<sspi> yunxing: good stuff :-)
<sspi> chenglou: how is jengaboot going?
<chenglou> bsansouci is making it work with ocaml files too
<chenglou> We're gonna use it a bit more in the reason repo itself
<companion_cube> I noticed that visual-studio-code has reason support, but not vanilla OCaml
<chenglou> Atom-reason already uses it
<chenglou> companion_cube: aha, that might be the work of one of our friends? Cc bsansouci
kentw_ has joined #reasonml
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kentw has quit [Ping timeout: 250 seconds]
kentw_ has quit [Ping timeout: 250 seconds]
Iwan has joined #reasonml
<bsansouci> companion_cube: yeah i think schmavery was working on vanilla ocaml support for VSC. Do you have a link to the reason thing for VSC?
Algebr has joined #reasonml
<Algebr> How to use js_of_ocaml.ppx with rebuild? Was being finicky with me last time I tried briefly
schmave has joined #reasonml
seangrove has quit [Remote host closed the connection]
schmave has quit [Ping timeout: 244 seconds]
<bsansouci> wow
<bsansouci> nice
schmave has joined #reasonml
<schmave> companion_cube: It looks like that reason vscode extension isn't really finished.. seems to just be the example project. https://github.com/Krzysztof-Cieslak/vscode-reason/blob/master/src/extension.ts
<companion_cube> aww
<schmave> I've been working a little on an ocaml extension for vscode that's a little further along.. Supports syntax highlighting and some snippet autocompletion as well as automatic reformatting. Working on trying to integrate with merlin. My plan is to finish the support for ocaml first but write it in such a way that it should be trivial to adapt it fo
<schmave> r use with reason.
<schmave> It's still pretty rough but this is what I have so far: https://github.com/Schmavery/vscode-ocaml
<companion_cube> I'd think it was close to atom, wrt plugins
<schmave> I wouldn't be surprised if it doesn't run right now lol. Still figuring out the best way to do everything using the vscode extension api and debugging my communications with merlin.
<schmave> Yeah, it's possible that the atom plugin could be adapted to run on vscode. I haven't had a chance to investigate that yet, but I've been stealing some logic to talk to merlin from the atom plugin.
schmave has left #reasonml [#reasonml]
schmave has joined #reasonml
kentw has joined #reasonml
kentw has quit [Remote host closed the connection]
Iwan has quit [Ping timeout: 250 seconds]
seangrove has joined #reasonml
<sspi> does refmt keep any "styling" from the input file - or is it all changed?
<yunxing> sspi: what do you mean by "styling"?
<sspi> yunxing: for instance I put an empty line above a block of code - will that line remain, or will the refmt not care about that empty line?
<yunxing> It doesn't. We have a task tracking this: https://github.com/facebook/reason/issues/161
kentw has joined #reasonml