Polyglot Development

A chat room for developing polyglots, especially for [this PPC...
Sep 30, 2018 00:16
I can understand not jumping in. It feels pretty daunting to debug so many languages. Just learning enough to figure out where to place new code is kinda tough. Maybe we should create kind of a general information post.
Sep 26, 2018 21:52
it seems that the grand polyglot may be coming to an end. I think these last three weeks may be the longest stretch since a new answer has been posted.
Aug 22, 2018 18:30
lol. I just discovered that too. Excited to read it!
Aug 22, 2018 17:47
I was thinking of reworking Pyth so that the polyglot could start with a #2 instead of #16, to save a character prior to a $ in column 7.
Aug 22, 2018 17:46
https://tio.run/##zTprj@PWdZ/D9EdckeOVKIoSSYkSJT40z/XuZseazM52NpU0HEqiNNqRRI1I7VCr0cJ2CtdugiJ13MB2muzabdJHAiQoWiBBEgRwvgf5DZNPhVHU/8A951LSzL7c3aQBesjLe1733CfPPZfScBIcff45J@cJYcv5bMITyqqkC3FV1uOEcIRbJSzJJNkRO61tiveI21byJ2LVaadP6jvHOzt3@FqCFEmc26iwco49APwFoUCU5wD5w4HjkhmGyyTlK4VM5vDwkD1EbtVKW@n6XIWvivF6NVEgxCoUkqm8lkytxu1LzeITisLfIt1uhtS6Q7/VguQdcQgJLoJymdbFwfhwEYL5gnfRmEhlzuVeUu@eo3KkVnCcpJBTVgd6WpGU3/wsNktNd2zjN2/0M24Mswpm78y2Eb8lq6/EYq@sr@dyKRjICN/5i52vra2t5TZT6k5VLedEKWZ88qtYTFEMJROr@75cj1eP77CKlGPTv/k4vrPzVdv3YSCKCFkiA4pPDZJMVJUck/sAx22CN8Xvty7hDuKN9n3S9FrdQcccB22NxONqNn7rIP7saYsR2SoXfvd
Aug 22, 2018 17:44
At some point Pyth stopped working outside of the test harness.
Aug 21, 2018 19:06
@stasoid % is going to start some new IPs for Cardinal, but it may be doable also. The bigger issue tho might be that $ has to go in column 7, so there might not be room for Agony's skip.
Aug 21, 2018 04:26
@stasoid I took some time to look at | and / in line one. I think Hexagony is going to be the biggest problem. both of these commands would reflect the IP into somewhere in the middle of the polyglot, which would create another cubix like language to deal with. Not my favorite option. $ comment indicator might be better, but I believe Rail starts at the first $, so that may be a chore as well. but probably easier.
Aug 17, 2018 16:50
Oh cool. It must be because it's in a string.
Aug 17, 2018 05:46
/ might work for japt if there are two, as a comment indicator. Not sure if it's in a string at that point.
Aug 17, 2018 05:45
@stasoid I believe | would break haystack, since that ennd the program.
Aug 15, 2018 16:14
@stasoid Have you looked at gnuCOBOL for the polyglot? I keep coming back to the idea.
Aug 13, 2018 01:45
@Zacharý Yeah, I'm super Jealous. Dude is amazing.
Aug 3, 2018 20:55
@Stasoid Hey, I think I have an answer that includes a w, and it needs to go in the emoji section, but grass doesn't like it. Do you have any advice for changing grass? I was never able to figure it out.
Jul 30, 2018 15:32
@RubyJunk there's a Tio link on each answer that contains a bash script, which runs the polyglot in like 95% of the languages. The rest still have to be tested manually.
Jul 23, 2018 18:27
I got busy with work last week. Posted now.
Jul 17, 2018 22:17
@Zacharý got a Minklang answer I think.
Jul 17, 2018 22:17
@OMá—º could you test this ^ in Curry?
Jul 17, 2018 22:16
@SnoringFrog could you test this ^ in Spoon
Jul 17, 2018 22:16
https://tio.run/##rTvbcttGls/CL8xLG1IMQCQIUbJliSIZ3WVnbUtjObbXJM0BgSYJCQQYXEjRilKpnSrXTtXWJDUP2cvDxtnandrLzFZNavKwtdkXz3vyD/qBmT/wntONGy@yncxAItB97n369OU0wZbud1@/nidbpkl0Qjt62HH0uyRwodZ37VHHdgMSUD8gXd1zqO@T1ojct@juc3py6raEebLj2rbe9ykRd1yTikR3TCJueZ2wR53AF4lPjcByHZ@0XY@0aBBQj9CzPvUs6hhUEAw9IFViAK9gO0T1WZHdCq02mSfbtB06HaqurwiBGxpd0vcsECyAaqtNRm5IdLQ9VpgnPf2UEj/0KLai55pWe0TAgkJ/RHyXBF3QF3TpCFgosRzDDk1qQgGBxLacU4EaXZeoDhEXiiKYxnkz0GWEmq4/Dl1BqO/2elRtW2fjuBuIe1To64HRFYT@KOi6zsps4gNP9/2SEHhENUwyfDwgZeYbxGObDbfXt2wK3cOaZoHtA@r54GHitsm2p1vObd04JTIr7tv6k7VVQj8KrYFug38UodVCRNvWgUYh5wIhvVPTgq6JwWrLDR3
Jul 11, 2018 22:31
oh wait. I didn't test the Cs
Jul 11, 2018 22:31
#!^2;
int
x=2//2or"""\
;void main(){import std.stdio;"D".writeln;}/*
;
#ifdef __cplusplus
#include <cstdio>
using namespace std;
#define S "C++"
#else
#define S"C"
#endif
int main(){printf(S);}/*
"""
print("Python"+"23"[int(1/2+.5)])
# >"89-egnufeB"ck,@
*/
Jul 11, 2018 22:30
@Zacharý what about this?
Jul 10, 2018 16:51
lol
Jul 10, 2018 16:48
I'll poke at it a bit today. seems fun.
Jul 10, 2018 16:48
intresting
Jul 10, 2018 16:42
@Zacharý True, but to me that's what makes your polyglot exciting. Something fresh and undiscovered. I'd rather this than a new 200 language monster every couple years.
Jul 10, 2018 16:23
@Zacharý That and a LOT of guess and check.
Jul 10, 2018 16:23
@Zacharý Aside from having several dedicated (much smarter) minds helping me, I'd say the biggest factor was establishing early on a space for both the big comment families (#LineComment, and /*BlockComment*/). This allowed us to pull inspiration from existing polyglots of both types.
Jul 5, 2018 21:58
@Zacharý haha no. I pop in here pretty regularly just to see how the big polyglot is developing. Glad to see a new polyglot project has started.
Jun 4, 2018 22:57
@stasoid Well done. I looked so long at Julia 0.6 and couldn't find it.
Mar 31, 2018 15:58
Just 14 more till 200.
Mar 31, 2018 15:56
Well done everyone.
Mar 27, 2018 16:05
Well, I'm at a loss. I can't find anything to add.
Mar 22, 2018 21:05
@stasoid I agree that the distinction is too weak, and was not a fan of the prior interpretation. STDERR it is.
Mar 22, 2018 15:53
While it doesn't give a non-profit exit code, its debug output throws a message it describes as an error. The same occurred with INTERCAL I believe, and we didn't allow the error.
Mar 8, 2018 23:45
thanks
Mar 8, 2018 19:16
https://tio.run/##zL1rcyNJkiD2ufL0D/QlmGAXMgkggQQJPgACVSg@uthdVeSQrKrpAVGsRCJBZBHIRGcCJFAstu2eZHP7OJPuZufO5nZ12zOrk2nNdB/WTpLZne2ayUz39Wx/RO/HNZnmH4zcPSJfeJCsmV07gQQyMsLDw8MjwsPj5dEy/O5vfpPCDztye5OLnjtkQ8sfsrZnX1mexp5N2FPD9kvFVUlCqLp3MepbztAvSymmM2Y7pt2GdzZ0Ly3H/mh54F9kbOC5F57RZ8OuMWSWbxoDy2fuaDgYDZnbmR9tlbG9vvvBzmHMvu1cANjQ8gaeNaTwNcZeOz2j32obUyGlqQQHHoT7bNfqfep/GjLT7fcNp@0D5DpjL13PtxDetHzfxegbjI33LHMK6SaAGp7tvqi/@nIqaIuxL4FEY9Czxsxo@UPPMIe26yBPCuzk1euTo6kYus7enO7vT/sW2dc512H7I/NyOmiVvfZ8o2dM419j9dHQPRhO@5dY/cJyDFbUtrTidOA6e@YZyShUnEee2x6ZyOph1wIKsHg6ds/yJRPAa2wgKoWGDpZinmW0ORhgPXH7Vpxqnzm
Mar 8, 2018 19:16
@stasoid can you tell me if anything is breaking on this version that's not in Tio?
Feb 25, 2018 02:47
Just leaving a note for later. stackoverflow.com/questions/45765339/…
Feb 22, 2018 17:24
https://tio.run/##zL1rcyNJkiD2ufL0D/QlmGAXMgkg8SDBB15VKD662F1V5JCsqukBUaxEIgFkEchEZwIkUCy27Z5kc/s4k@5m587mdnXbM6uTac10H9ZOktmd7ZrJTPf1bH9E78c1meYfjNw9Il94kKyZXTuBBDIywsPDw8PDw@Pd0r3eb36TwA87dvrTbt8ZsZHpjVjbta5MV2PPpuypbnnFwrokIVTd7Y4Hpj3ySlKC5RmzbMNqwzsbOZembX00XfAvMDZ0na6rD9iop4@Y6Rn60PSYMx4NxyPmdBZHW2dsf@B8sDIYc2DZXQAbme7QNUcUvsHYa7uvD1ptfSakOJPg0IVwj@2Z/U@DTyNmOIOBbrc9gNxk7KXjeibCG6bnORh9i7HJvmnMIN0GUN21nBf1V1/OBO0w9iWQqA/75oTpLW/k6sbIcmzkSY6dvnp9ejwTI59nb84ODmZ9C@zrjGOzg7FxORu0zl67nt7XZ/FvsPp45ByOZv2LrN41bZ0VtB2tMBu4yZ65ejwKFeex67THBrJ61DOBAiyejtU3PckA8BobCqHQ0MESzDX1NgcDrKfOwIxS7THbNNv
Feb 22, 2018 17:24
@WheatWizard I've got a coffeescript2 answer that has very little impact. Mind if I throw it in now? I'm just adding a bit more to the classic coffee script line and a couple p's for Alphuck in the prior line.
Feb 22, 2018 05:36
Oh shoot. Agda's already in. That's happening more and more to me.
Feb 21, 2018 23:50
This is the wrapper Tio uses github.com/TryItOnline/tryitonline/blob/…
Feb 21, 2018 23:50
https://tio.run/##7X3bctvKstiz8BUjyjYBCbzK9rJJUV60LK2lvW3LR5K9LpS2DIGgCJsEsAFQEm1rV5KHJJWHJJWcpFInqZwklYdTlbekUpWqPJ7XfMXJByR/sNKXmQFAUhfvvZNzkoprLRGYS09PT09PT09P49RJhr/8soL/xJtwND0bhalIvSQV/dg/9@KqeD4V3zp@8qi5bhhYqhufTcZekCYtY0U0hPAD1@/Du0jDj17gf/JiSG8KEcXhWeyMRTp0UuElrhN5iQgnaTRJRThYXG1diO1x@MGvYM2xH5xBsdSLo9hLKf@hEG@DkTM@7TszOY9mGoxiyE/EC2/0ZfwlFW44HjtBP4GSj4V4FcaJh@VdL0lCrP6NEJfbnjsD9AkUdWI/fNl9/d1M1lMhvgMUnWjkXQrnNEljx039MECa1MXB67cHb2ZqNBri3eHOzmxqU/y6EgZiZ@J@nM1aF2/jxBk5s/Afiu4kDXfT2fRHonvmBY5oVp9Wm7OZj8Xz2ClWoeF8E4f9iYukToceYIDDM/BHXmK4UHxTRJIpqvggVkTsOX0uBlAPwrGXxzoRgef1RRJ5rj/wXQI
Feb 21, 2018 23:50
can anyone help me make a run wrapper for agda? I'm so bad at this.
Feb 13, 2018 00:55
Well I'm pretty keen on this whole idea, but there might be a problem if '(' needs an immediate operand. The first '(' might be ok if one exists that wont trip up Underload, but the second one has a preceding \ which I believe escapes the '(' in some language. Pyth or Japt I'd guess.
Feb 12, 2018 18:15
I might be stating the obvious, but on the first line, many languages also use the */ at the end of line 1.
Feb 11, 2018 03:31
It's kinda half your answer anyways. :p