13

https://github.com/moggi-lang/moggi/

Moggi is a statically typed, purely functional programming language with strict evaluation. It has algebraic data types, GADTs, pattern matching, type classes, type inference, Generic Deriving, and an IO monad. It targets the JVM, .NET, and PHP, with typed FFI for existing Java, .NET, and PHP libraries.

The first release also includes a REPL, LSP, VS Code extension, moogle (code search), mogdoc (documentation generation), and a growing standard library.

This is an alpha release: the language and APIs are still evolving, and the standard library is still a work in progress.

I'd particularly like feedback from people interested in functional languages, type systems, compilers, and language/runtime interoperability.

you are viewing a single comment's thread
view the rest of the comments
[-] thingsiplay@lemmy.ml 2 points 1 month ago

This is all done in PHP. Actually impressive. It's a bit of an unusual choice for this kind of thing. Also with help of an Ai, because everything is nowadays. The README didn't answer my question, why someone would want to learn and use Moggi. It just explains what it is (which is fine I guess), but not its purpose or why this was created. Don't get me wrong, I'm not against this project, just want to understand the motivation.

this post was submitted on 24 Sep 2026
13 points (69.7% liked)

Programming

28952 readers
597 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS