Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

hwayne/rsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

rsl

A turing tarpit with multiple registers. Named after r-selection evolution.

To run:

  1. python rsl.py {your rsl file}
  2. python rsl.py, put your code into the input.

Each registry has 300 cells. You can add as many additional registries as you want.

Commands:

  • move position in register one cell forward.

  • < move position in register one cell back.
    • increase value of register by 1.
    • decrease value of register by 1.
  • [ if value of position is 0, jump to matching ].
  • ] if not jumped to, jump to matching [.
  • , user input to cell.
  • . output unicode value of cell.
  • ! output raw value of cell. Because I'm lazy.
    • create a new register. New registry appears at the end of the registry list.
  • ^ move to next register, wrapping around to the first one. If you've not been to that register before, you start at cell 0. If you have been, you start at the last location you left it.

About

A turing tarpit with multiple registers!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages