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

Sweet Expressions

< >

Sweet Expressions is a data notation created in 2013 by David A. Wheeler and Alan Manuel K. Gloria.

#2002on PLDB 11Years Old
Homepage

This SRFI describes a set of syntax extensions for Scheme, called sweet-expressions (t-expressions), that has the same descriptive power as s-expressions but is designed to be easier for humans to read.


Example from the web:
define fibfast(n) ; Typical function notation if {n < 2} ; Indentation, infix {...} n ; Single expr = no new list fibup n 2 1 0 ; Simple function calls

Language features

Feature Supported Example Token
Comments ; A comment
Line Comments ; A comment ;
Semantic Indentation

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

Built with Scroll v164.7.0