Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Lily

< >

Lily is an open source programming language created in 2011.

#443on PLDB 13Years Old
Download source code:
git clone https://github.com/FascinatedBox/lily
Homepage · REPL · Try It Online · Source Code

An interpreted language with a focus 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 Example Token
Comments
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0