User:Book/Sandbox/WIP: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
A Lisp program is entered by editing [[cell]]s with the ASCII values of the characters of the code. When run, the pattern reads this text and evaluates the results. The output is written at the bottom of the pattern's RAM module. The Lisp interpreter is implemented in C, and the pattern can be modified to run other C code.
A Lisp program is entered by editing [[cell]]s with the ASCII values of the characters of the code. When run, the pattern reads this text and evaluates the results. The output is written at the bottom of the pattern's RAM module. The Lisp interpreter is implemented in C, and the pattern can be modified to run other C code.


[[File:Lispforlife.png|framed|center|Top-right: ROM lookup module. Top-left: ROM value module. Bottom-left: CPU. Bottom-right: RAM.]]
[[File:Lispforlife.png|framed|center|Higly magnified section of the pattern. What appears to be a single cell is actually an [[OTCA metapixel]]. Top-right: ROM lookup module. Top-left: ROM value module. Bottom-left: CPU. Bottom-right: RAM.]]


==References==
==References==

Revision as of 19:11, 14 January 2023

Lisp in Life is a pattern that implements a Lisp interpreter constructed by Hikaru Ikuta, completed in January 2022, using technology similar to the Quest for Tetris project. This is the first implementation of a standardized high-level programming language inside Conway's Game of Life.[1][2]

A Lisp program is entered by editing cells with the ASCII values of the characters of the code. When run, the pattern reads this text and evaluates the results. The output is written at the bottom of the pattern's RAM module. The Lisp interpreter is implemented in C, and the pattern can be modified to run other C code.

Higly magnified section of the pattern. What appears to be a single cell is actually an OTCA metapixel. Top-right: ROM lookup module. Top-left: ROM value module. Bottom-left: CPU. Bottom-right: RAM.

References

  1. ↑ Dave Greene (January 13, 2022). Re: NewLifeCA Back Issues (discussion thread) at the ConwayLife.com forums
  2. ↑ "Woodrush's Blog: A Lisp Interpreter Implemented in Conway's Game of Life, January 12, 2022". Hikaru Ikuta.