Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Earl Grey

Earl Grey - Programming language

< >

Earl Grey is a programming language created in 2014 by Olivier Breuleux.

#973on PLDB 9Years Old 508Users
0Books 0Papers

Programming language compiling to JavaScript


Example from the web:
count-words(text) = counts = new Map() words = text.split(R"\W+") words each word -> current-count = counts.get(word) or 0 counts.set(word, current-count + 1) consume(counts.entries()).sort(compare) where compare({w1, c1}, {w2, c2}) = c2 - c1

Language features

Feature Supported Token Example
Binary Literals
Integers
Floats
Hexadecimals
Octals

HackerNews discussions of Earl Grey

title date score comments
Show HN: The Earl Grey language – pattern matching, macros, compiles to JS 08/07/2014 5 1
sile.html · earl-grey.html · asciimath.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub · feedback@pldb.com