sabine 🐫🦀 / "use ocaml";

@sabine.sh

OCaml developer advocate, 🐫 OCaml.org maintainer, RFC 3339 dating coach, web developer ✨ twitch.tv/sabine_sh github.com/sabine

- The purpose and design of Alexandrite - Differences between "normal" compilers and "analyzers" - Reasons to choose Rust or OCaml for compiler development - Internals of compilers, some optimizations and tradeoffs - Importance of clarity and posterity

Impure Pics@impurepics.bsky.social · 2mo ago

@purefunctor.me is building Alexandrite – a PureScript analyzer – designed for interactive editing. Wonder why languages need multiple compilers? How do language servers work? And how long does it take to compile a hundred thousand lines of PureScript? youtu.be/XSv5B9yI6F4

my life always seems to bring me back to building a social network of some kind and this karaoke site is the most glorious yet and I'm actually shipping things and able to respond to bug reports and feature requests fast enough to keep up

my wiki software is terrifyingly close to being finished,, it's now about 150 lines of ocaml plus a few hundred lines of liquid templates. i'm trying to keep complexity down as much as possible and i've found that doing layout stuff entirely in liquid templates is a good way to achieve that

superb piece of work getting merlin's typing recovery upstreamed into the OCaml compiler; it might even make 5.5! "the typer won't stop at the first error. Instead it will continue typing as much as possible, reporting other errors along the way" https://github.com/ocaml/ocaml/pull/14241

Add Merlin's Typing recovery by xvw · Pull Request #14241 · ocaml/ocaml

This PR upstreams Merlin's typing recovery to the OCaml Typechecker. This new mechanism can be enabled with the -typing-recovery cli flag. When running in that mode, the typer won't stop at...

github.com

decided to install and play around with OCaml and it seems pretty neat. pretty *different*, i assumed it would be more similar to F# than it really is, but i think I'm getting the hang of the differences. it's got a way faster cold start than F# and can also compile to tiny native executables :o

I ported a Static Analyzer from Python to #OCaml . This Python code is part of the Spring 2020 edition of CSC255/455 Software Analysis and Improvement taught by Prof. Sreepathi at the University of Rochester. www.linkedin.com/feed/update/.... My #OCaml is improving but may not be up to the mark.

#ocaml #ocaml #ocaml #ocaml | Mohan Radhakrishnan

Static Analyzers are programs that analyze other programs based on Mathematical properties. Apart from the book by Xavier Rival which also has #OCaml code(I didn't follow that) the most recent motivat...

linkedin.com