's Avatar

june

加入于 1 year ago

june / Multi-bit-stack VM

0 喜欢
0 派生
1 文件
最后活跃于 2 weeks ago
A sketch of a small virtual machine that operates on multiple stacks of bits.
1 ||:: dispatch
2
3 |:: dispatch| :: evaluate :text: "
4 initial state
5 01 11 11 11
6 rules
7 rule
8 and if
9 1 match
10 else

june / Simplest Nova

0 喜欢
0 派生
2 文件
最后活跃于 3 weeks ago
The simplest Nova implementation I've got (so far).
1 #!/usr/bin/env python3
2
3 import sys
4 from enum import Enum
5
6 class State(Enum):
7 # States
8 INSERT = 0
9 MATCH = 1
10 REMOVE = 2
上一页 下一页