• Stars
    star
    509
  • Rank 86,772 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Flock of Functions: Combinators, Lambda Calculus, & Church Encodings in JS

𝜆as.js, or A Flock of Functions

Combinators, Lambda Calculus, and Church Encodings in JavaScript

This repo contains notes and runnable examples of the lambda calculus as expressed through JavaScript.

Contents

Visit https://glebec.github.io/lambda-talk for a formatted version of the code.

The runnable JS file is in src/index.js. Execute the file is by cloning this repo and running npm start. Or, view the REPL here.

Presentation

This repo was created as an accompaniment to a lecture talk given at Fullstack Academy of Code on 2017-08-24. You can view videos of that talk (in two parts) below:

Part I

Lambda as JS, or A Flock of Functions: Part I

Part II

Lambda as JS, or A Flock of Functions: Part I

Slides

Click to view the original slide deck.

Lambda as JS - Presentation Cover Image

Update: the first part of the presentation has been slightly modified over time; the deck used for the 2019-10 Smartly.io DevTalks can be seen here.

Additional Resources

More Repositories

1

volleyball

🏐 Tiny HTTP logger for Express showing asynchronous requests and responses
JavaScript
45
star
2

left-recursion

Quick explanation of eliminating left recursion in Haskell parsers
Haskell
44
star
3

send-seekable

Express.js/connect middleware for serving partial content (206) requests for buffers or streams
JavaScript
30
star
4

batching-toposort

Efficiently sort interdependent tasks into a sequence of concurrently-executable batches
JavaScript
27
star
5

debugging-js

Debugging JavaScript — a Practical Distillation for Students
20
star
6

potential

An educational Promises/A+ spec compliant promise library
JavaScript
13
star
7

haskell-programming-allen-moronuki

Personal notes for learning Haskell through Chris Allen and Julie Moronuki's book
Haskell
12
star
8

lambda-talk-practical

Some JS techniques and tools which are at least associated with lambda calculus
JavaScript
11
star
9

java-a-beginners-guide

Notes, exercises, and solutions repo for "Java: a Beginner's Guide, Eighth Edition"
Java
10
star
10

gnitty

Gmail analytics and data visualization
JavaScript
9
star
11

catfetti

🐱 A very important app for cool people. See it at https://glebec.github.io/catfetti
JavaScript
7
star
12

functional-math-compiler

Exercise creating a functional JavaScript math expression compiler
JavaScript
6
star
13

int-jit-comp

Comparison of an Interpreter, JIT Compiler, Compiler, & Optimizing Compiler
JavaScript
6
star
14

fortunes

🥠 Database of programming wisdom fortune cookies for the fortune program
Shell
6
star
15

monadic-parser-combinators

Demo of various functional design patterns and techniques via parsers
JavaScript
5
star
16

cursed-pangram

Cursed Pangram
Haskell
3
star
17

advent-of-code-2019

Advent of Code 2019 Solutions in Haskell
Haskell
3
star
18

small-rr-comparison

Small comparison demo / study guide of React & Redux vs. React-Redux (connect)
JavaScript
2
star
19

springboard

🏁 Personal GitHub setup for easy project initialization
Shell
2
star
20

generative-testing-talk

Fast-Check example repo, in prep for a talk on property testing (aka invariant testing)
TypeScript
1
star
21

demo-redux-with-sum-types

Illustration of using sum types (via daggy) for Redux state tree
JavaScript
1
star
22

benchpress

Small demo benchmarking and charting sorting algorithms
JavaScript
1
star
23

advent-of-code-y2022

Advent of Code 2022 Solutions
Haskell
1
star
24

monad-challenges

My work completing the Monad Challenges (http://mightybyte.github.io/monad-challenges)
Haskell
1
star
25

stack-templates

My personal stack templates for easy Haskell project initialization
1
star
26

advent-of-code-2018

My solutions for the 2018 Advent of Code challenge
Haskell
1
star
27

gshopper-demo

Just a nice little demo
JavaScript
1
star
28

demo-redux

Demonstration Redux app for lectures. See commit history for steps.
JavaScript
1
star
29

buzzy

A simple lockout buzzer app
JavaScript
1
star