Racket is an actively used programming language created in 1994. Racket (formerly PLT Scheme) is a general purpose, multi-paradigm programming language in the Lisp-Scheme family. One of its design goals is to serve as a platform for language creation, design, and implementation. The language is used in a variety of contexts such as scripting, general-purpose programming, computer science education, and research. Read more on Wikipedia...
- Racket ranks in the top 5% of languages
- the Racket website
- the Racket wikipedia page
- Racket first appeared in 1994
- file extensions for Racket include rkt, rktl, rktd, scrbl, plt, ss and scm
- the Racket team is on twitter
- tryitonline has an online Racket repl
- See also: x86-isa, powerpc, sparc, mips, arm, scheme, eiffel, rust, clojure, lisp, java, unicode, json, unix, linux, arc
- Have a question about Racket not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
;; Hello world in Racket #lang racket/base "Hello, World!"
Example code from Linguist:
; Clean, simple and efficient code -- that's the power of Racket! ; http://racket-lang.org/ (define (bottles n more) (printf "~a bottle~a of beer~a" (case n [(0) "no more"] [(1) "1"] [else n]) (if (= n 1) "" "s") more)) (for ([n (in-range 99 0 -1)]) (bottles n " on the wall, ") (bottles n ".\n") (printf "Take one down and pass it around, ") (bottles (sub1 n) " on the wall.\n\n")) (displayln "No more bottles of beer on the wall, no more bottles of beer.") (displayln "Go to the store and buy some more, 99 bottles of beer on the wall.")
Example code from Wikipedia:
#lang typed/racket (: fact (Integer -> Integer)) (define (fact n) (cond [(zero? n) 1] [else (* n (fact (- n 1)))]))
|Courses-||43||Quiz & Assignment of Coursera|
Last updated January 18th, 2020