6768. Python (1.6.1), 1698 bytes
Reng can be tested to output 19 here.
Modular SNUSP can be tested to output 31 here.
Incident was verified to test 33 via manual balancing of tokenslocally.
Deadfish~ can be tested to output 48 locally, using this interpreter. Note that Deadfish~ takes the polyglot to be fed on stdin, but and prints a number of >>
prompts to standard output, which are n unavoidable consequence of running any Deadfish~ program.
Moorhens 2.0 can be tested to output 60 using this interpreter.
Surface can be tested to output 66 using this interpreter run using Wine (It probably works on Windows but Windows is not a free software, so it would be forbidden for this challenge (I also don't have it so I can't test it anyway))
Python was tested on my machine.
I've forgoneWe already had two versions of python so I thought, why not add a 3rd.
The first thing Python took issue with was "1\x2f2"
. It parses \x2f2
as one character instead of two separate characters. In order to remedy this I inserted a new space between f
and 2
. Now Python outputs 13 as if it were Ruby. This meant I wanted to separate it from Ruby and Python 2, making 68 instead of 13.
To do this we rely on python's limited precision, not present in Ruby or Python 2. In ruby or python2:
13<<65>>65
Is just 13, but in python it is 0. We use this to short circuit an explanation for expedienceor
causing Python to get a 68 instead of a 13. I will update
Ok so what did I break? Surprisingly not much. When I ran this in TIO the only thing that broke was Brain-Flak Classic.
Brain-Flak Classic
Brain-Flak Classic had a bitproblem with <<>>
. This is a stack switch and caused Classic to get caught in a loop. We could remedy this by placing parentheses around 65
, this will cause the <<>>
to become <<()>>
which is a noop.
Prelude
Fixing Brain-Flak broke prelude again. I added a space to counteract the movement caused by fixing Brain-Flak.