Wednesday, August 15, 2012


SCHEME is a functional programming language and one of the two main dialects of the programming language Lisp. Unlike Common Lisp, the other main dialect, Scheme follows a minimalist design philosophy specifying a small standard core with powerful tools for language extension. Its compactness and elegance have made it popular with educators, language designers, programmers, implementors, and hobbyists. The language's diverse appeal is seen as a strong point, though the consequently wide divergence between implementations is seen as one of the language's weak points.


--------------------------------------------------------

Origin
    
       Scheme started as an attempt to understand Carl Hewitt's actor model, for which purpose Steele and Sussman wrote a "tiny Lisp interpreter" using MacLisp and then "added mechanisms for creating actors and sending messages." Scheme was originally called "Schemer", in the tradition of other Lisp-derived languages like Planner or Conniver. The current name resulted from the authors' use of the ITS Operating System, which limited filenames to two components of at most six characters each. Currently, "Schemer" is commonly used to refer to a Scheme programmer.

---------------------------------------------------------------------------------------------

Features


  • Scheme is a functional programming language.
  • Implements proper tail recursion.
  • Uses prefix notation.
  • Unnamed functions can be named using the keyword lambda.
  • Has The ability to handle numbers of different numeric types (e.g. integer, rational, complex, real) and exactness (i.e. exact and inexact).
  • Scheme supports continuations. Continuations represent the "future" of computation at a particular point in program execution.
--------------------------------------------------------

Data Types
  • Characters: #\a #\A #\b #\B #\space #\newline.
  • Strings: "A little string".
  • Arrays (called vectors): #(1 2 "string" #\x 5).
  • Lists: (a little (list of) (lists)).
  • Numbers: 47 1/3 2.3 4.3e14 1+3i.
  • Functions (also called procedures).
  • Booleans: #t #f.
  • Ports (e.g. open files).
  • Symbols: this-is-a-symbol foo a32 c$23*4&7+3-is-a-symbol-too!.
--------------------------------------------------------------------------------------------

SAMPLE HELLO WORLD




----------------------------------------------------------------------------------------------
TESTIMONIALS



----------------------------------------------------------------------------------------------

REFERENCES

-> http://en.wikipedia.org/wiki/Scheme_(programming_language)
-> http://groups.engin.umd.umich.edu/CIS/course.des/cis400/scheme/hellow.html
-> http://infohost.nmt.edu/tcc/help/lang/lisp/intro.txt

----------------------------------------------------------------------------------------------

CMSC124 T-3L
MOGOL, Frances Marie 2010-08179
RELANO, Julianne Paulene M. 2010-37798
TENEDERO, Sheena A. 2010-34779


No comments:

Post a Comment