Skip to content

aperez/meta-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compile-time computation via C++ Template Metaprogramming

This repository contains compile-time implementations of common programming exercises. Compile-time computation is achieved through C++ template metaprogramming, mostly using template matching, type aliasing and subtyping as basic building blocks.

Contents

  • common/: libraries implementing shared functionality. Contains implementations of type lists, conditionals, lambdas, among others.
  • turing-machine/: a Turing Machine simulator.
  • brainfuck/: an interpreter for the Brainfuck programming language.
  • game-of-life/: Conway’s game of life.