« first day (479 days earlier)      last day (98 days later) » 

BMO
2:31 PM
Added #46, a practical language for once :)
 
 
2 hours later…
4:23 PM
@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.
@Zacharý That and a LOT of guess and check.
 
4:34 PM
@Chance Yeah, D kind of kills all hopes and dreams with its lack of backslash line splicing...
And its lack of macros
 
@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.
 
@Chance Yeah, I could've put APL for the first language ... that would've just KILLED the challenge immediately.
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)])
*/
@Chance The glorious masterpiece above works in C, C++, (one could easily add Objective-C), Python2, Python3, and D. It prints the language name of the language running.
I can't find a way to add Befunge into that...
 
intresting
I'll poke at it a bit today. seems fun.
 
4:50 PM
Pro tip: never polyglot with APL. Just ... DON'T. The comment syntax is ...
 
lol
 

« first day (479 days earlier)      last day (98 days later) »