Tag vm

4 bookmarks have this tag.

2024-04-06

1219.

XXIIVV — modal

wiki.xxiivv.com/site/modal

Modal programs are represented as a series of rules, formatted as tokens delimited by brackets and parentheses, applied to a given tree which gets continually modified until no rules match any given part of the tree.

<> (?x dup) (?x ?x)
<> (?x ?y swap) (?y ?x)
<> ( ?x pop) ()

.. (1 2 3) (4 5 6) swap pop dup
01 (4 5 6) (1 2 3) pop dup
02 (4 5 6) dup
00 (4 5 6) (4 5 6)
<> (if (#t) ?b) (?b)
<> (if (#f) ?b) ()

.. (if (eq bat bat) reached!)
02 (if (#t) reached!)
00 (reached!)

2024-01-11

1036.

Tunguska the ternary computer emulator

tunguska.sourceforge.net

2023-03-22

131.

9front in QEMU

thorjhanson.com/blog/20220324-9front-in-qemu

A few months ago, I decided to attempt an installation of 9front (a popular fork of Plan 9) in QEMU. I was ultimately successful, and decided to write some notes down as I went.

2023-03-02

80.

Building a Minimalistic Virtual Machine

pointersgonewild.com/2023/02/24/building-a-minimalistic-virtual-machine