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

manool

< >

manool is a programming language created in 2018 by Alex Protasov.

#1197on PLDB 6Years Old
Download source code:
git clone https://github.com/rusini/manool
Homepage · Source Code

Practical programming language with expressive power, in 10 KLOC in C++11 - "MAnool is Not an Object-Oriented Language!"


Example from the web:
-- recursive version, MANOOLish "cascading" notation { {extern "manool.org.18/std/0.3/all"} in : let rec { Fact = -- compile-time constant binding { proc { N } as -- precondition: N.IsI48[] & (N >= 0) : if N == 0 then 1 else N * Fact[N - 1] } } in Out.WriteLine["Factorial of 10 is "; Fact[10]] }

Language features

Feature Supported Example Token
Comments ✓ -- A comment
Line Comments ✓ -- A comment --
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll