Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Morloc

< >

Morloc is an open source programming language created in 2016 by Zebulun Arendsee.

#1469on PLDB 10Years Old
Download source code:
git clone https://github.com/morloc-project/morloc
Homepage ยท Source Code ยท Twitter ยท Release Notes ยท Docs

Compose functions across languages under a common type system and transform modules into CLIs, APIs, MCPs etc.


Example from the web:
module m (sum, sumOfSums) import root-py import root-cpp source Py from "foo.py" ("pmap") source Cpp from "foo.hpp" ("sum") pmap :: (a -> b) -> [a] -> [b] --' Add up a list of numbers sum :: [Real] -> Real --' Add up a list of lists, summing each in parallel sumOfSums :: [[Real]] -> Real sumOfSums = sum . pmap sum

Language features

Feature Supported Example Token
Variable Substitution Syntax โœ“
hasUserDefinedOperators โœ“
Unicode Identifers โœ“
Type Inference โœ“
Type Inference โœ“
Type Classes โœ“
Type Classes โœ“
Type Aliases โœ“
Ternary operators โœ“
Structs โœ“
Strings โœ“
Strings โœ“
hasStringConcatOperator โœ“
Streams โœ“
Static Typing โœ“
Static Typing โœ“
Standard Library โœ“
Standard Library โœ“
Scientific Notation โœ“
Range Operator โœ“
Polymorphism โœ“
Pattern Matching โœ“
Pattern Matching โœ“
Partial Application โœ“
Partial Application โœ“
Octals โœ“
Namespaces โœ“
Multiline Strings โœ“
MultiLine Comments โœ“
Module Pattern โœ“
Module Pattern โœ“
Lists โœ“
Lists โœ“
Line Comments โœ“
Integers โœ“
Integers โœ“
Infix Notation โœ“
File Imports โœ“
Hexadecimals โœ“
Generics โœ“
Generics โœ“
Functions โœ“
Functions โœ“
Function Composition โœ“
Function Composition โœ“
hasFnArguments โœ“
Floats โœ“
Floats โœ“
First-Class Functions โœ“
hasEscapeCharacters โœ“
Enums โœ“
Conditionals โœ“
Comments โœ“
hasBoundedCheckedArrays โœ“
Booleans โœ“
Booleans โœ“
Binary Literals โœ“
hasArraySlicingSyntax โœ“
Anonymous Functions โœ“
Anonymous Functions โœ“
Algebraic Data Type โœ“
Algebraic Data Type โœ“
Access Modifiers โœ“
canReadCommandLineArgs โœ“
Doc comments โœ“
MultiLine Comments โœ“
Line Comments โœ“
Comments โœ“
While Loops X

- Build the next great programming language ยท Add ยท Add Prompt ยท Issues ยท About ยท Search ยท Keywords ยท Livestreams ยท Labs ยท Resources ยท Acknowledgements

Built with Scroll v178.2.3