Sugar Language

From MainstreamInfluenceOfFunctionalLanguages

For an example of a Lisp-like language with non-Lisp-like syntax, check out Egil Möller's Sugar (http://redhog.org/Projects/Programming/Current/Sugar/). Sugar adds indentation-sensitive syntax (ala Python) to Scheme! Here's a "taste" of Sugar using the ubiquitous Scheme factorial example. -- ChristopherPeterson

 > define
 >  fac x
 >  if
 >    = x 0
 >    1
 >    * x
 >      fac
 >       - x 1

Blech!! Just put back the fuckin' parentheses already! Lemme guess, does "Sugar" refer to SyntacticSugar? -- SmugLispWeenie


EditText of this page (last edited August 28, 2006) or FindPage with title or text search