articles/scheme.md: update

This commit is contained in:
tocariimaa 2025-02-12 12:24:04 -03:00
parent e6cfb4c039
commit e71dbc966d

View file

@ -1,5 +1,5 @@
# Scheme
Scheme is [Lisp](lisp.md) dialect created in 1975 by Guy Steele and Gerald Sussman at the MIT. Scheme is
Scheme is a [Lisp](lisp.md) dialect created in 1975 by Guy Steele and Gerald Sussman at the MIT. Scheme is
minimalistic and elegant leaning towards a functional programming paradigm, being the language used in the
famous [SICP](sicp.md) book (using the MIT/GNU Scheme implementation).
@ -17,6 +17,9 @@ Since Scheme (specially the R5RS standard) is simple, there are multiple impleme
- [CHICKEN Scheme](https://call-cc.org/): compiler (AOT) and interpreter.
- [MIT/GNU Scheme](https://www.gnu.org/software/mit-scheme/): compiler, one of the "original" implementations, also includes a debugger.
- [Chez Scheme](https://cisco.github.io/ChezScheme/): another classic compiler, freed in 2016.
- [GNU Guile](https://www.gnu.org/software/guile/): main Scheme implementation of the GNU project, used as a scripting language in some GNU projects.
- [Gambit Scheme](https://gambitscheme.org/)
- [Chibi Scheme](https://synthcode.com/scheme/chibi/): small implementation with a focus in being embeddable.
- ...
## Examples
@ -27,6 +30,7 @@ Since Scheme (specially the R5RS standard) is simple, there are multiple impleme
### Factorial
```scheme
;;; Tail recursive factorial
(define (fact n acc)
(if (zero? n)
acc
@ -47,3 +51,6 @@ Since Scheme (specially the R5RS standard) is simple, there are multiple impleme
- [Official Scheme site](https://www.scheme.org/)
- A incomplete tutorial in wikibooks: <https://en.wikibooks.org/wiki/Scheme_Programming>
- <https://try.scheme.org/>.
- <https://docs.scheme.org/>
- [Teach Yourself Scheme in Fixnum Days](https://docs.scheme.org/tyscheme/)
- [R7RS site](https://r7rs.org/)