Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon


< >

Lily is an open source programming language created in 2011.

#408on PLDB 13Years Old
Download source code:
git clone

Try now: Web · TIO

Interpreted language focused on expressiveness and type safety.

Example from the web:
scoped enum Color { Black, Blue, Cyan, Green, Magenta, Red, White, Yellow } class Terminal(public var @foreground: Color, width_str: String) { public var @width = width_str.parse_i().unwrap_or(80) public define set_fg(new_color: Color) { @foreground = new_color } } var terms = [Terminal(Color.White, "A"), Terminal(Color.Red, "40")] terms.each(|e| e.width += 20 ) |> print

Language features

Feature Supported Token Example
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Published by Breck's Lab