1 / 10

Scheme Language

Scheme Language. By Ratapong Satyapan 49541196. Scheme Background. Scheme was developed in the 1975 by - Guy L. Steele Jr. - Gerald Jay Sussman Scheme was originally called "Schemer“, like another Lisp - derived languages such as Planner or Conniver. Scheme Description.

coxs
Télécharger la présentation

Scheme Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scheme Language By Ratapong Satyapan 49541196

  2. Scheme Background • Scheme was developed in the 1975 by- Guy L. Steele Jr.- Gerald Jay Sussman • Scheme was originally called "Schemer“, like another Lisp-derived languages such as Planner or Conniver.

  3. Scheme Description • Scheme is the first dialect of Lisp to fully support lexical scoping, first-class procedures, and continuations. • Scheme is now a complete general-purpose programming language, though it still derives its power from a small set of key concepts.

  4. Distinctive Characteristics • It is a minimalist language. The language standard is only about 50 pages, including all semantics for the language core. • All data and functions share a common namespace instead of Common Lisp functions and data have separate namespaces. So it can’t have same variable and function name.

  5. Design Goals • Mainly used for mathematic calculation. • As a small langage with simple syntax and semantics, Scheme is well suited to educational applications, such as courses in functional programming.

  6. Scheme Characteristics • Scheme function can be the values of expressions, elements of lists, assigned to variables, and passed as parameters. • Scheme is small size language. • Exclusive use of static scoping, an its treatment of functions as first-class entities.

  7. Examples (define square(lambda (n)(* n n))) (square 5) ; Output is 25 (square -200) ; Output is 40000 (square 0.5) ; Output is 0.25 (square -1/2) ; Output is 1/4

  8. Contribution to Computer Languages • - -?

  9. Useful Applications • Mainly used for calculation and used in educational applications, such as courses in functional programming.

  10. References • http://en.wikipedia.org/wiki/Scheme_(programming_language) • http://www-swiss.ai.mit.edu/projects/scheme/ • http://www.scheme.com/tspl2d/

More Related