Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

manool

< >

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

#1202on PLDB 6Years Old
Download source code:
git clone https://github.com/rusini/manool

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 Token Example
Comments
-- A comment
Line Comments --
-- A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll