Writing an interpreter... in OCaml?!?

preview_player
Показать описание

You can see more of our reviews on @ThePrimeTimeagen , where we've been reviewing a bunch of the submissions there. Hope you enjoy the video and let me know what you think :)

### Twitch
We're always live streamin on twitch!

### Links

#ocaml #programming #programminglanguages
Рекомендации по теме
Комментарии
Автор

I love OCaml, would be great if you made an OCaml course or tutorials would definitely watch them.

ameenkhieredeen
Автор

Yes, definitely do more of this.
I don't think we need a full OCaml course, just learning alongside you explaining code is enough I think.

JakobKenda
Автор

Keep these coming, OCaml has been my language of choice recently and deserves attention.

bayrock
Автор

When I discovered pattern matching with Elixir my mind was blown... and yet this looks even 'cuter'

industry_std
Автор

This is great, I’ve only ever heard of ocaml previously. Will have to have a play around, cheers

pharmajoe
Автор

Learnt it in my second year of university, couldn’t understand this language at the time but this code looks beautiful

imhassane
Автор

OCaml, my Caml!
But, seriously: even more OCaml curious now. Thanks for sharing!

rahuldevstech
Автор

you're literally saving me and my bachelor thesis xD

lillyschwarz
Автор

Please keep these coming! I've done the book in Go, so seeing a different way will be interesting. I can already see how much better pattern matching is compared to type switching on interfaces in the original.

OCaml is a language that I used to be interested in (as a middle ground between Rust and Haskell), but I got put off by how inconsistent the community is. I can see it being useful for cases like this, where you likely don't need much outside of the core language.

maleldil
Автор

Subscribing for OCaml content! One of the nicest programming languages in existence.

Honken
Автор

OCaml is pretty nice - especially for this kind of stuff! I've used it a bit in the past for automated reasoning & formal verification type work.

orbital
Автор

Really liked the video, what i would like to see is how to use dune/run tests or an explanation on how to use modules. I tried to read the documentation and i could not figure this things out.

tyrox
Автор

I want to encourage you to keep making videos like this because OCaml is a brilliant and beautiful language for programming language theory. That said, the clickbait title was a bit jarring. "Writing an interpreter ... in OCaml?!?" This is exactly what OCaml excels at! There's nothing surprising about writing interpreters in OCaml!

StopBuggingMeGoogleIHateYou
Автор

I love Ocaml, glad you decided to make a video on it. I know you're pretty hot on the language also but obviously it's not as popular as say rust for example. I'm looking forward to the opam Windows release since I do most of my development on Windows. Fortunately in the meantime we have DKML which is pretty fantastic.

draakisback
Автор

Nice to see your first ocaml my caml video. If you can find a way to have your green screen a little further back, you can probably prevent the green reflection that its casting on your head.

rickdg
Автор

15 years ago at my university class we were assigned to build a interpreter in OCaml and Prolog

pedrosaraiva
Автор

Any curried ML language is nice, and Rok too (even though it doesn't curry functions by default). With OCaml I just had to get used to the French ordering of product types: `int list` instead of `List Int`. French acronyms can be confusing in the same way.

charstringetje
Автор

Yes yes, it’s fun to watch OCaml lang used to make something interesting like this. Would love to see an API development or something too

tofuman
Автор

Wow! We do ocaml in france and i had a project for writing mini compiler of java using ocaml

fredericchopin
Автор

Long overdue video, Teej! I knew you were doing some OCaml and got curious, but try as I might I'm not made for watching live streams.
Interesting implementation, would love to see more. I did some ML back in the day, so it's not completely alien.

TayTayChan