Lisp in Life: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
Confocal (talk | contribs)
cat, formatting
Line 13: Line 13:
==References==
==References==
<references>
<references>
<ref name="post155924">
<ref name="post155924">{{LinkForumThread
{{LinkForumThread
|p      = 155924
|p      = 155924
|format = ref
|format = ref
Line 20: Line 19:
|author = Dave Greene
|author = Dave Greene
|date  = January 13, 2022
|date  = January 13, 2022
}}
}}</ref>
</ref>
<ref name="blog">{{cite web
<ref name="blog">
|url       = https://woodrush.github.io/blog/posts/2022-01-12-lisp-in-life.html
{{cite web
|title     = Woodrush's Blog: A Lisp Interpreter Implemented in Conway's Game of Life, January 12, 2022
|url=https://woodrush.github.io/blog/posts/2022-01-12-lisp-in-life.html
|publisher = Hikaru Ikuta
|title=Woodrush's Blog: A Lisp Interpreter Implemented in Conway's Game of Life, January 12, 2022
}}</ref>
|publisher=Hikaru Ikuta
}}
</ref>
</references>
</references>


==External links==
==External links==
*{{LinkWikipedia|Lisp_(programming_language)|name=Lisp (programming language)}}
* {{LinkWikipedia|Lisp_(programming_language)|name=Lisp (programming language)}}
*[https://github.com/woodrush/lisp-in-life/blob/main/build.md Build files for Lisp in Life]
* [https://github.com/woodrush/lisp-in-life/blob/main/build.md Build files for Lisp in Life]
 
[[Category:Patterns found in 2022]]
[[Category:Patterns]]

Revision as of 20:00, 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 believed to be 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.

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. ↑ 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.