Languages Features Creators CSV Resources Challenges Add Language
GitHub icon


Alma - Programming language

< >

Alma is a programming language created in 2014 by Carl M盲sak.

#1410on PLDB 9Years Old 174Users
0Books 0Papers

Alma is a small language created as a testbed for Raku macros.

Example from the web:
macro swap(a, b) { return quasi { my t = {{{a}}}; {{{a}}} = {{{b}}}; {{{b}}} = t; }; } func gcd(a, b) { if b { return gcd(b, a % b); } return a.abs(); } my bigger = +prompt("Enter the bigger integer: "); my smaller = +prompt("Enter the smaller integer: "); if bigger < smaller { swap(bigger, smaller); } say(); say("Greatest common denominator: ", gcd(bigger, smaller));
popr.html 路 alma-007.html 路 ibm-i-control-language.html

View source

- Build the next great programming language Search Day 215 About Blog Acknowledgements Traffic Traffic Today GitHub