Lisp in Life: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Confocal (talk | contribs)
cat, formatting
add ref
Line 1: Line 1:
'''Lisp in Life''' is a [[pattern]] that implements a Lisp interpreter constructed by Hikaru Ikuta, completed in January {{year|2022}}, using technology similar to the [[Quest for Tetris]] project. This is the believed to be the first implementation of a standardized high-level programming language inside [[Conway's Game of Life]].<ref name="post155924" /><ref name="blog" />
'''Lisp in Life''' is a [[pattern]] that implements a Lisp interpreter constructed by Hikaru Ikuta, completed in January {{year|2022}}, using technology similar to the [[Quest for Tetris]] project.<ref name="post139209" /> This is the believed to be the first implementation of a standardized high-level programming language inside [[Conway's Game of Life]].<ref name="post155924" /><ref name="blog" />


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.
Line 13: Line 13:
==References==
==References==
<references>
<references>
<ref name="post139209">{{LinkForumThread
|p      = 139209
|format = ref
|title  = Lisp in Life
|author = Hikaru Ikuta
|date  = December 22, 2022
}}</ref>
<ref name="post155924">{{LinkForumThread
<ref name="post155924">{{LinkForumThread
|p      = 155924
|p      = 155924
Line 18: Line 25:
|title  = Re: NewLifeCA Back Issues
|title  = Re: NewLifeCA Back Issues
|author = Dave Greene
|author = Dave Greene
|date  = January 13, 2022
|date  = January 13, 2023
}}</ref>
}}</ref>
<ref name="blog">{{cite web
<ref name="blog">{{cite web

Revision as of 01:08, 15 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.[1] This is the believed to be the first implementation of a standardized high-level programming language inside Conway's Game of Life.[2][3]

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.

Highly 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.
The entire pattern (left). Magnified (right).
The highly magnified section shown above is in the middle.

References

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