« first day (331 days earlier)      last day (246 days later) » 

05:07
@Potato44 This is interesting. The most obvious choice is DOS COM (x86), and it seems like it would not even require to change start of polyglot - at least 4 first lines are executed without crashing. If you add DOS COM I want to try CP/M COM (Intel 8080) on top of that.
@stasoid The 2 main problems is that I have to work out what the code does currently and see where I can catch it and how to create self modifying code.
 
3 hours later…
08:06
I have just built a version of dosbox with the debugger enabled.
 
4 hours later…
12:22
Which languages use the end of the first line? The stuff after the 7s.
 
1 hour later…
13:46
more specifically i meant which languages traverse that space, I know what the stuff right at the end does
14:11
I think Pyth, Japt, Osabie, Pip and Turtled. That's just a guess, I don't know for sure. I just remember these langs were breaking when I tried to change stuff there. My impression is that it is very hard to add smth nontrivial at the end of first line.
Or anywhere on first line, for that matter.
 
2 hours later…
15:52
Looks like Intel 8080 is not possible or very hard - 0x28 '(' is illegal instruction and it cannot be easily worked around on first line.
16:44
@stasoid Is it legal as the second half of an instruction?
 
2 hours later…
18:15
I might be stating the obvious, but on the first line, many languages also use the */ at the end of line 1.
 
5 hours later…
23:05
Instructions are 1-byte long in 8080. '(' can be hidden in immediate operand of some instructions, but I feel reluctant to modify first line atm.
Want to look if there are simpler possibilities first.
23:46
I cannot decide if DOS COM 65280 byte file size limit is a good thing or not.
On one side, it will assure that polyglot will not grow enormously because of huge additions. On the other side, we probably want as many languages as possible and not want artificially restrict ourselves.
Or may be it does not matter because we will never reach this limit, but after Wierd/1L_AOI/1L_a I am not so sure. Currently it looks implausible, but several huge additions may change that.
Just wanted to say that there is a way to add x86 without imposing this limit: to use polyglot as boot image for Bochs or

« first day (331 days earlier)      last day (246 days later) »