"Because yy@0 can run anything."
A complete virtual machine implemented with pure vim macros.
- No plugins
- No vimscript
- Just
G,yy,@0,f,p
| File | What it is |
|---|---|
full_adder.txt |
Full adder (starting point) |
alu_more.txt |
ALU with 10 operations |
asm_jnc.txt |
Assembler+ ALU + jump no carry |
asm_cmt_tab.txt |
Assembler+ ALU + comments + tabs |
asm_varabled.txt |
+ jmp + jump zero + decimal support |
asm_heap.txt |
+ stack + pop/push + heap + store/load |
asm_insert.txt |
+ insert a string to heap |
assembler relay on the ALU
- Open any file with
vim(no config needed) - Read the usage inside the file
- Follow the instructions
- Enjoy vim-vm
examples are set in those txt files so you can just run them to test the program,and change some of the options or code if you are interested
diyiliumin (ayazumi)
GPL v2