Giter Site home page Giter Site logo

ggandor / churchbuzz Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 7 KB

FizzBuzz implemented in Church encoding, from scratch

License: The Unlicense

Clojure 100.00%
lambda-calculus church-encoding clojure fizzbuzz computer-science understanding-computation

churchbuzz's Introduction

ChurchBuzz

This repo contains a Church-encoded implementation of the FizzBuzz algorithm in Clojure, using nothing else than anonymous functions, imitating the untyped lambda calculus.

It is based on a chapter of Tom Stuart's magnificent book Understanding Computation, where he uses Ruby as the implementation language. The port closely follows the steps presented on pages 162-192, with minor differences and additions (for example, naming the functions according to Clojure/Lisp conventions, or using ASCII values for character representation).

At the moment, this is not intended to be a standalone tutorial, but first and foremost a study guide or reference for the related section, for people more familiar with Lisp dialects.

Here is an article that is a proto-version of the book chapter, with a video link, and pretty much the same content.

See also the code repo for the book.

churchbuzz's People

Contributors

ggandor avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.