Implementation of game of life and a bunch of primitive recursive functions at the type level in rust
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
src
.gitignore
.travis.yml
Cargo.lock
Cargo.toml
LICENSE
README.md
licenses.txt
primitive-recursive-functions.iml

README.md

Build Status

Conway's Game of Life at type level in Rust.

Output for BLINKER type: 
 
   Generation 1:
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - X X X - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   
   
   
   
   Generation 2:
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - X - - - - - 
   - - - - - X - - - - - 
   - - - - - X - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   
   
   Generation 3:
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - X X X - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 
   - - - - - - - - - - - 

compile time for 15 generations on intel-i5 4460: 10m 01s