last day (33 days later) » 

01:15
Welcome to the chat for this question!
0
A: Add a hidden language to a polyglot

emanresu A???, 46 bytes print(8 - (2 * 5 - 3) + (1/2) * 10)#+++++P 5_3 The previous answer was in Headass. For the sake of everyone else doing this: Try it online in Ruby! Try it online in Jelly! Try it Online in Vyxal! Try It Online in rSNBATWPL! Try It Online in Headass!

01:41
For a hint, look at how it changed from last time
Oh, y'all got it
Cracked, but I'm not going to post a new answer. — Aiden Chow 1 min ago
 
1 hour later…
02:48
To whoever's creating the next answer, simply inserting your code on a single-line #comment between the existing two lines should work as long as it doesn't have a P
Vyxal, Python and Ruby will treat it as a comment, Jelly won't even evaluate it, Headass will work fine as long as there's no P and rSNBATWPL won't do anything
 
2 hours later…
04:24
Oops lol – in theory putting a nilad before that # shouldn't break Jelly
yah
why...hmm
Because # is a quick and needs something before that
Feel free to fix your existing cop with that
what about now
edit to make it 100 char instead of 99, but I didn't run it
@emanresuA .
Yes, that should work - make sure to test it though
Yours is obviously bf, but for the sake of making this interesting I'm cracking it as SMBF
04:41
haha
the latest answer now outputs 1 on brainbool and 2 on brainflak now as well lol
Hm okay
outputs 9 in pbrain
wait maybe I shouldn't've said that
Oh well
hmm
 
3 hours later…
08:07
FYI, the current polyglot is in brainfuck / SMBF / whatever
I'm trying to not participate too much, to give others a chance
 
7 hours later…
15:11
For the rule "Cracking a submission consists of finding any programming language that prints the correct result, not just the intended one. If a submission is run in any language that was not declared or found to work, there are no requirements to do anything, and future answers must be valid in that language.": let's say I intended language X, but someone cracks it in language Y, should all the next answers run in language X or Y? The wording in your rule isn't exactly clear to me as is tbh.
 
2 hours later…
17:14
oh what a doofus i am, i could have had both headass and headascii in the polyglot challenge, if i had only played headascii first
unicode for a small number would be like, 53
and then id just wait for the 53rd post, and just add an exclamation point, and itd print the actual ascii number rather than the encoded character
but alas!
oh theres a chat for that now i forgotLOL
if a mod strolls thru feel free to dump my messages in there
6 messages moved from The Nineteenth Byte
@KevinCruijssen I interpret it as meaning all the next answers must run in language Y.
 
2 hours later…
19:35
@KevinCruijssen Y
19:48
I'm gonna try every dialect of Python on TIO
Then I'm gonna try every praclang on ATO
I'll eventually get there
Wow that's some clever/cursed operator precedence. I suspect we're looking for a lang with 32-bit ints and print, and numbers with underscores obviously. Of course, it could just be a red herring... — emanresu A 11 mins ago
why do you think "numbers with underscores" is relevant?
oh, in order that 5_3 not error?
Because when I tried Perl / Python 2 it gave a syntax error
I didn't even think about that lol
(that's been there since the vyxal answer, you know)
19:50
I know
is it a valid crack if the number isnt printed by itself, but its with another number
I don't think so
@AidenChow (spoiler: it's not intended to be bc)
I'd say no because otherwise tio.run/##K05OzEn8/…
19:53
@emanresuA you mean because the error message contains the output?
If the language the author intended prints the number by itself and what you've found doesn't, I think it's reasonable to say it's not a vlaid crack
o/ ofr now
20:05
man if there was a # as the very first character in the first line it would work in bc :|
hmm now why would 8-(2*5-3)+(1/2)*10+8-4*(2147483647*2%3) output 1 in bc, a bit strange
so close yet so far: tio.run/##S04sSsnMS8z5/…
 
1 hour later…
21:38
I went through everything on the wikipedia page for # comments and nothing :|
21:55
@pxeger Does your one have to be run on a 32-bit OS?
22:08
Hmm - pxeger's code prints 17 in anything C-like
(or at least that expression)
So... I feel likee this is a red herring
Except... the value is 9 + 4 * something, which can't be 10
Unless the (1/2) * 10 has a meaning
Then the value is 14 - 4 * something
And 2147483647 * 2 = -2, so the language must have:
- a python style modulo
- 32-bit ints
- Division of integers creates floats
- Numbers can contain underscores.
- # comments
- a `print` function
- Must be a scripting language
xonsh produces 4 6.0 0 53
I'm trying to use goruby but can't figure out how to install it
Wish me luck, I'm going down the rvm rabbit hole
 
1 hour later…
23:56
It better not be gosu
I don't even want to try and install that

  last day (33 days later) »