Portal 2

Portal 2 is a Portal with 2 portals. Portal and Portal 2 loosely implement Wang B-machine

Instructions
Portal 2 has ten instructions:

Example
This following example prints an O with diaeresis(Ö): and here is how this code executes, with  marking the current instruction pointer:

* O++++++o}}o]]O. O * ++++++o}}o]]O. O+ * +++++o}}o]]O. O++ * ++++o}}o]]O. O+++ * +++o}}o]]O. O++++ * ++o}}o]]O. O+++++ * +o}}o]]O. O++++++ * o}}o]]O. O++++++o * }}o]]O. O++++++o- * ---}}o]]O. O++++++o-- * --}}o]]O. O++++++o--- * -}}o]]O. O++++++o * }}o]]O. +O+++++o} * }o]]O. ++O++++o}} * o]]O. ++O++++o * }}o]]O. ++O++++o- * ---}}o]]O. ++O++++o-- * --}}o]]O. ++O++++o--- * -}}o]]O. ++O++++o * }}o]]O. +++O+++o} * }o]]O. ++++O++o}} * o]]O. ++++O++o * }}o]]O. ++++O++o- * ---}}o]]O. ++++O++o-- * --}}o]]O. ++++O++o--- * -}}o]]O. ++++O++o * }}o]]O. +++++O+o} * }o]]O. ++++++Oo}} * o]]O. ++++++Oo * }}o]]O. ++++++Oo- * ---}}o]]O. ++++++Oo-- * --}}o]]O. ++++++Oo--- * -}}o]]O. ++++++Oo * }}o]]O. ++++++oO} * }o]]O. ++++++o-O---}} * o]]O. ++++++o- * O---}}o]]O. ++++++o-O---}}o]]O *. ++++++o-O---}}o]]O. *

Implementation
The only implementation so far is written in Python: https://github.com/greato/portal