Egel is a programming language created in 2016 by Marco Devillers.
#1810on PLDB | 9Years Old |
git clone https://github.com/egel-lang/egel
A simple untyped eager functional language.
# Rosetta Code example 99 Bottles.
#
# See: http://rosettacode.org
import "prelude.eg"
using System
def print_rhyme =
[ 0 ->
print "better go to the store, and buy some more\n"
| N ->
let _ = print N " bottles of beer on the wall\n" in
let _ = print N " bottles of beer\n" in
let _ = print "take one down, pass it around\n" in
print_rhyme (N - 1) ]
def main = print_rhyme 99