An implementation of a parser, evaluator, printer, and visualizer for the SKI combinators in TypeScript.
In the checkout directory:
yarn install
yarn build
yarn ski
Run the test suite:
yarn test
Generate test coverage report:
# Generate text-only coverage report
yarn test:coverage
# Generate HTML coverage report (available in the coverage/ directory)
yarn test:coverage:report
- Combinators: A Centennial View, Stephen Wolfram
- To Mock a Mockingbird, Raymond Smullyan
- Combinatory Logic Volume I, Haskell Brooks Curry & Robert Feys
- D. A. Turner, "A new implementation technique for applicative languages," Software: Practice and Experience, vol. 9, no. 1, pp. 31-49, 1979. DOI: 10.1002/spe.4380090105
- W. Stoye, T. J. W. Clarke, and A. C. Norman, "Some practical methods for rapid combinator reduction," in Proceedings of the 1984 ACM Symposium on LISP and functional programming (LFP '84), ACM, New York, NY, USA, pp. 159-166, 1984. DOI: 10.1145/800055.802038