An open API service indexing awesome lists of open source software.

https://github.com/wenkokke/cgtm

a compiler from Turing Machines to VISL CG-3 code
https://github.com/wenkokke/cgtm

haskell turing-completeness turing-machine-simulator vislcg3

Last synced: 18 days ago
JSON representation

a compiler from Turing Machines to VISL CG-3 code

Awesome Lists containing this project

README

          

# CG Turing Machines

[![Build Status](https://travis-ci.org/wenkokke/cgtm.svg?branch=master)](https://travis-ci.org/wenkokke/cgtm)

This is a small library which generates VISL CG-3 code from Turing machine specifications, proving that VISL CG-31 is Turing-complete2. This development is accompanied by a blog post, *[VISL CG-3 is the new assembler](https://wenkokke.github.io/2017/visl-cg-3-is-the-new-assembler/)*.

---

[1]:
More specifically, the subset which only uses a single `SECTION`, `ADDCOHORT` and `REMCOHORT`. While it also uses the `ADD` command, this could be simulated by adding `""` cohorts. However, for reasons of clarity, I've not done this.

[2]:
The other direction—the fact that VISL CG-3 grammars can be run on a Turing machine—is probably adequately proven by the VISL CG-3 implementation.