Skip to main content

Search

Items tagged with: commonlisp


Tinkering around with a FRACTRAN library I wrote in Common Lisp :^)

I was too lazy to add sequential functions, but it is possible if you assign a unique prime to each function (as it will permit only that function)

Prime numbers just happen to be a powerful way to express the concept of "distinct" objects. In this case, the "objects" are registers/memory addresses. Might try replacing primes with strings...

https://patpatpat.xyz/data/fractran.lisp

#lisp #commonlisp #emacs #fractran #esolang


This series of posts by @sjl is a true gem worth bookmarking. It describes a CHIP-8 emulator in Common Lisp whose techniques are applicable to other systems.

But the series is also a Lisp software design resource in disguise, as it presents a Domain-Specific Language for concisely and clearly describing machine architectures and instruction sets.

https://stevelosh.com/blog/2016/12/chip8-cpu/

#CommonLisp #lisp #SoftwareDesign

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.