Polyglot Development

A chat room for developing polyglots, especially for [this PPC...
Jul 18, 2018 20:46
@Chance works in Spoon
Jul 9, 2018 18:26
@Zacharý fixed Spoon.
Jul 9, 2018 18:11
@Zacharý Getting there, I think. If I don't have it within the next 20 minutes or so I'll just give up and try to come back to it some other time
Jul 9, 2018 17:30
Well, actually it might be, but it reads 00101111 as EOF, so that's effectively an exit
Jul 9, 2018 17:29
Nope, it's not.
Jul 9, 2018 17:28
or, any unicode, I suspect, but I exit the program before we get to any of the rest of it
Jul 9, 2018 17:28
It's the braille that breaks it - _ -
Jul 9, 2018 17:09
First problem is Spoon gets its input command. Just need a spot to cram a 0 or a 1 anywhere before the short string of 0s and 1s just after the Grass code
Jul 9, 2018 17:04
Yup. Might just be as simple as zero-ing out the cell between the two, but it's hard to tell. Not getting anything from Spoon so it could also be mismatched loop markers
Jul 9, 2018 17:03
I checked to make sure spoon didn't break Nameless, but not vice-versa
Jul 9, 2018 17:02
except spoon
Jul 9, 2018 17:00
Crap. I think I only tested my Spoon code itself, not the whole polyglot facepalm. If someone else wants to add something, let me know and I'll delete my answer if I don't have it fixed yet
Jul 9, 2018 16:51
@Zacharý There's always the other polyglot for inspiration. Last place we listed all the languages out was answer 144. I imagine things like Gaot++, Cow, Moorhens, and Klein might work. Minimal-2D is a bf-based 2d lang that's not too painful to use. Labyrinth is always fun. Handful of non-Ascii based languages that should be simple-ish to add: EmojiCoder, Unicat, Emoji-Gramming, Aheui
Jul 9, 2018 16:15
#45 is up if you've got something else, @BMO
Jul 9, 2018 16:07
@BMO Awesome. I needed no additional changes based on what you added.
Jul 9, 2018 15:59
I've got Spoon ready for egaugnaL, but I'll hold off until you get your answer in @BMO
Jul 9, 2018 15:23
@stasoid can't get it to work with unicode, at least; other characters seem fine
Jul 9, 2018 14:59
@stasoid Gave it a shot, annoyingly we have to consider broken tokens in the code with that interpreter (meaning 0aaaaaaaa00 gets treated as a 000 token), but, since it lets you change the tokens for 0 and 1, it's easy to just pick two characters we never use. Can't seem to get the /0 and /1 options to work though
Jul 6, 2018 22:42
Oh, didn't notice that. Sweet. Looks like it checks out, so we're good.
Jul 6, 2018 22:40
dzaima.github.io/Canvas/?dev Canvas says it has to be tested there
Jul 6, 2018 22:37
Yep, just trying to test Canvas still. Can't get even the Canvas answer to work in the online interpreter though
Jul 6, 2018 19:48
or with practical languages in general, really lol
Jul 6, 2018 19:47
I've never been much good at polyglotting with C
Jul 6, 2018 19:47
Good luck
Jul 6, 2018 19:45
Nice! I was still hung up on trying to get class to work, myself
Jul 6, 2018 19:23
Hmm...
Jul 6, 2018 19:01
I'm not really sure why Python is ok with the // there, it complained pretty much any other time it came across it. I was kinda just throwing things in random spots to see if anything would work lol
Jul 6, 2018 18:54
shrug I was just trying to get Python and D cooperating in hopes of giving a starting point. I don't know what all you're using, and I also don't know D at all lol
Jul 6, 2018 18:50
That works in D, and gives an error for the unterminated docstring in python (because I didn't bother finding a place to close it: that seems like an easy enough part to figure out if you're actually working in it)
Jul 6, 2018 18:50
Not quite there, but I think this is the right approach
https://tio.run/##fVPNbttGEL7zFXIZDRWEFLVaCUFqK6LXjOxEbQpDSeUWhmWZoKmltDZFqhTFulUYoC9QAz0VPTTopUCL9FKg5wJ5FD1B3sBdiqKswkCHXO7OfN98O/vD4e2t6zuzGbThKXQvLrkbA6WLFBBRWaRKEooh0ApZEALq@IvSCbHg1fn47dsTy6ofQv0Qx0kePB2DcfIE8Kh0BNwXHhx1D6DXPeQ8elFODWn9CqX0TAFqgCq7C2fGA2fCActaxJ2hL4IroNModGm5TPk11/FNxJPWU9N89Lz74hGojJ0pDUOKwD3rnim0Ag9GI7czEV89OD1thWGIftjB1v5e/WGv1GjIgInMZKioQ@6JgEMPD3CdT@kzRRWeBMC23ak/n2WNUl8BT9Nb21NRKiQ1cP35kJvuLB6KkFHqbqkahtSllCsggni7XDk1D4bC24TOanezdtsvD2x7uzjCExG7/PKiWyQqMHFEoOmLaSSlPa2n0wpdh8RkGkYxyIJqq6JaeIi1byIRc1qp0FZKK6m
Jul 6, 2018 18:16
For a while we were saving Cubix until we were "almost out of languages" because we were concerned with how hard it would make future changes. Cubix was language #46
Jul 6, 2018 18:14
@Zacharý Honestly, I don't know how we ever got to 100. That seemed pretty unattainable for some time. I do know that whoever solved our Python 2/Unicode problem basically opened the doors for us to dump 20+ languages in relatively easily though.
Jul 3, 2018 21:41
Yep, looks like I added answers 81, 102, and 104. Stopped answering after 104 but I was still actively around in the chat for a while after that.
Jul 3, 2018 21:32
I think I was still active around then
Nov 27, 2017 19:46
Also, want to note this in case I lose it, changing )0\` in the Whirl/Cow line to )000011100\` will terminate Whirl there. Quick test looks like this plays well with all the TIO languages (minus Cubix and Incident, unsurprisingly)
Nov 27, 2017 19:43
That can be worked around, but being able to prevent commands by inserting extra characters (or being able to dodge the issue with the -0 and -1 interpreter flags hinted at in the docs) would be helpful. (For ref: docs, interpreter)
Nov 27, 2017 19:37
Additionally, if anyone knows of any Spoon (bf-variant using only 0 and 1) interpreters, they might be helpful. The one I'm currently working with is a bit of a pain because it strips all invalid characters entirely before running, meaning that if you split a command (eg. 00101111 aka 'terminate') over multiple lines with extra characters in the middle, it will still be executed by the interpreter.
Nov 27, 2017 19:22
Are there any languages other than Whirl that would have issues with extra blocks of all 1s and 0s?
Nov 27, 2017 17:18
@Potato44 I need to dig my list back out and reevaluate them, see if there's anything that still looks viable. I only did a cursory examination in the first place anyways.
Oct 31, 2017 21:06
Two weeks is up in just a few days. I imagine we're not too concerned with the 2-week limit anymore, but so far we've managed to stick to it anyways. We'll have lasted just over a month shy of a full year if it stops here.
Sep 25, 2017 15:36
@Potato44 I completely forgot about Gaot++. I think at some point I was going to look at it, then I just never got around to it.
Sep 6, 2017 21:29
Potato suggested: "the correct way to run it would be convert polyglot.xpm polyglot.png && /opt/piet/npiet polyglot.png I think"
Sep 6, 2017 17:49
points at list, It is. I edited that one in a minute after I posted that list.
Sep 6, 2017 17:43
There it goes, finally. Emotinomicon is also good @Chance
Sep 6, 2017 17:35
@Potato44 I thought I waited ages...must not have been quite enough ages lol
Sep 6, 2017 17:33
Full list of what I've checked:
Moorhens, Objeck, RunR, Paintfuck, EmojiCoder, Symbolic Brainfuck

I've never been able to get the Emotinomicon interpreter to work for me with the polyglot for some reason. Anyways, back to work, otherwise I'd try to install some more of these local interpreters
Sep 6, 2017 17:27
Symbolic bf is also good. I think everything else I used to check locally is on TIO now.
 

 talk.tryitonline.net

For general discussion and feature requests regarding tryitonl...
Jul 9, 2018 21:00
@Dennis The only other one I've found drops the ability to change the tokens, and is part of a larger interpreter for a handful of esolangs
Jul 9, 2018 15:52
@Dennis Can you add Spoon when you get a chance?
 
Dec 20, 2017 16:15
This leads to an interesting case where vampires can identify burglars/squatters/etc by finding themselves unable to enter a residence after being invited in by that unwelcome occupant who lacks the 'right of invitation'.