« first day (476 days earlier)      last day (101 days later) » 

12:00 AM
You should put a note about it being unrelated to the other V.
 
 
18 hours later…
6:14 PM
well here's D, C++ and Python so it's possible (but with all the other languages there already, idk)
https://tio.run/##bVJdT9swFH2uf8XBrVBD12TlsV9TVxAgIYY2pm0CNFzHTbwlduQ40G7jt3e3KdkY2kMSO@eec32Pz0KU6WbTxiyOIaASUSVGnMNb2hU2WyeZ9fCq9EiFM6ossVjjQqujH@rbd7tgbcxtlomiVOBzGysOYWLwmUuqXBlfcpRKem1NiaV1WCjvlYNaFcppZaRiTAqPKSRxmbeVTFE4TUTG2Pns4uTj7OT469nF0fHnyYC9/XJ1/GHCO90Hib4cbzkBZ8vK1B2QCZNUIlHd4CdrKZla8DY6/6qE6AxeoVMr0Sg0GW9q31fGaJNQAcd0/5C1FuQN9QHvHPKprXxReda6vqb9G469CV7j9hb7@6jpl84mTuSQjlgqDsMn2b6h@gH/5dT9dDu29CpuOr783zcZa@kl9iDzAruOaMBtp/8CxBrBp8qw1k73k7M0xq4qxKlaxVVeDAldrWI0cyw1a70wmIztvrCrNw
 
7:02 PM
@SnoringFrog oh seems I broke the online interpreter with this node compatibility thing
 
 
1 hour later…
BMO
8:15 PM
@dzaima My guess is that FreeDOS will be really annoying/preventing that.. I'm not very good w/ this stuff at all, but the only time the code actually was valid byte-code was something w/ \v instad of spaces which D allows but Python doesn't..
But there are still C-like languages and tons of esolangs that could be added..
 
@BMO and that the 1st line is pretty much forced would mean many 2d languages starting at top left would stay there infinitely
 
BMO
D (and Python) are somewhat flexible - stuff like int#line 9999 "<>^v" would work
In D you could even "randomly" insert whitespace-like chars such as \v, \t and it doesn't break, but I couldn't get it to work w/ Python & FreeDOS
 
 
1 hour later…
9:53 PM
@dzaima wow, that's amazing
int
x = 2
Dang, didn't think about that.
 
@Zacharý well you did just that, but added a pointless #line 1 "WHAT" after it :p
 
I didn't know that it would continue the line without it ...
Well, a Python2/3/C/C++/Objective-C polyglot is possible...
Well, one COULD rewrite the entire thing to add Python in there, if they really wanted to
 
@Zacharý 2D langs tho
just for fun I started thinking if java would be fittable there (with it's thing that a literal \u000A ends a single line comment) but thinking of 4 comment syntaxes at the same time is a bit hard
 
Well, it's actually three, the only difference for D v. C/C++/ObjC is backslash, unless you use /+ +/
 
10:08 PM
@Zacharý that backslash makes a big difference in the whole control flow though
 
SHEBANG
Never mind, C++ doesn't like that
 
oh right java doesn't even like that int\nx = 2..
 
C++ doesn't like #! for some reason
Wut?
int
x=2//2or"""\
;void main(){import std.stdio;"D".writeln;}/*
;
#define S"C"
#ifdef __cplusplus
#include <cstdio>
using namespace std;
#define S"C++"
#endif
int main(){printf(S);}/*
"""
print("Python"+"23"[int(1/2+.5)])
#*/
Wait ... #line should allow 2D languages.
 
10:28 PM
@Zacharý c++ doesn't like # though
 
@dzaima It's fine with #line, as long as it's on its own line. The ONLY D #-thing is #line.
Dang it, string mode ...
Maybe there's a character that D considers an end-of-line that C++ doesn't...
 

« first day (476 days earlier)      last day (101 days later) »