A really small subset of Scheme, implemented in 124 lines of itself https://catseye.tc/node/Pixley
  • JavaScript 51.9%
  • Shell 19.9%
  • C 15.9%
  • Scheme 5.7%
  • Haskell 4.4%
  • Other 2.1%
Find a file
2023-12-03 15:45:39 +00:00
dialect Update test syntax for modern Falderal. 2014-12-07 16:14:26 +00:00
doc Move note about changes to distribution, to HISTORY document. 2018-06-22 12:29:56 +01:00
eg Load example programs via JSONP file generated from files in eg/. 2017-11-10 14:57:51 +00:00
impl Update links. 2023-12-03 15:45:39 +00:00
script Update links. 2023-12-03 15:45:39 +00:00
src with-input-from-file is optional in R5RS, so don't rely on it. 2014-12-07 16:24:39 +00:00
.gitignore Add quite a bit of documentation. Some minor tweaks to haney. 2013-10-24 20:18:46 +01:00
HISTORY.md Update HISTORY. 2023-09-19 18:23:34 +01:00
LICENSE Update history and bump copyright date. 2015-01-01 18:00:17 +00:00
make.sh NetBSD's gcc's -pedantic is. Build haney only if ghc present. 2014-04-21 13:41:49 +00:00
README.md Update links. 2023-12-03 15:45:39 +00:00
test.sh Update test syntax for modern Falderal. 2014-12-07 16:14:26 +00:00

Pixley

Try it online @ catseye.tc | See also: PailRobin


Pixley is a strict subset of R5RS Scheme (or, if you prefer, R4RS Scheme), supporting four datatypes (boolean, cons cell, function, and symbol) and a dozen built-in symbols. The reference implementation of Pixley is written in 124 lines of Pixley (or, if you prefer, 124 lines of Scheme; and if you prefer more Scheme-ly metrics, it consists of 413 instances of 54 unique symbols in 684 cons cells.)

This distribution also contains (non-reference) implementations of Pixley in C (mignon) and Haskell (haney), as well as ancillary support for running Pixley under four different implementations of Scheme (Racket's plt-r5rs, Husk Scheme, Mini-Scheme v0.85p1, and Tinyscheme,) as well as several minor dialects of the Pixley language (Pifxley, P-Normal Pixley, and Crabwell.)

Except where noted as being in the public domain, the source code files in the Pixley project are distributed under a BSD license.

The latest released version of the Pixley language is 2.0. For more information on the language, reference implementation, and project, please refer to The Pixley Programming Language document.

Development

Official release distfiles are available on the Pixley project page at Cat's Eye Technologies.

The git repository for the reference distribution is available on Codeberg.

For a release history of the reference distribution, see HISTORY.md.