Code Crosswords - Solutions This is the companion question for Code Crosswords. Robber answers go here.

See Where should we put robbers? for meta-info.
professorfish, CJam, 41 darks

(This solution actually requires several spaces, so it's not the one professorfish was looking for.)

#K###I#'32
#HDJ*s\ ##
2##2#`#`#-
4Zm*`##L#3
m##6##]`' 
f####e#`#'
`#0#'d1+eu
## #!####9
## '{;'"'m
C5(#}####q


That was great fun. Note that the # beneath the 6 is actually code and not a dark cell. Let's go through this:

Across

Hint 2: [[4 3]]. This was one of the trickier ones, because I really got stuck on trying 4Z]]` or similar. Turns out you can use the Cartesian product m* on stuff that isn't an array, and it will make an array for you. So here it is:

4Zm*`


Hint 4: 24717. By the time I got to this, the H, J, s and trailing space were already in place. The H gave away that I could probably just reuse the 17 and do \ at the end. The J pushes a 19 and 247 == 13 * 19, so:

HDJ*s\ 


Hint 7: 32. There are a bunch of ways to do this: Y5#, 3 2, ZY, YZ\, 4(2, 2)2, '32. I went with the last one, because starting with a character seemed promising for 7-down, and that turned out to be right.

Hint 8: E. I already had the 'd when I got there, so it was between choosing 'd1+eu, 'deu1+ or a variant where I used ) and a space instead of 1+ (for the non-CJam people, this taking the d character and increment and upper-casing it, in either order). However, the u in the final column looked useful for A-down. So I picked the first of those. In the end, 'd) eu would have worked, too.

Hint 9: "". Well, this had to be "empty string, get string representation, push a space". But also needed the ` for string representation in 7-down, and a space in A-down seemed useful, too, so I chose

]`' 


Note that ] might also have been one of LMOQR.

Hint B: "m. I just really had to fit this one in with the rest, but there were few characters that mattered. I already had the { and the m. So instead of using a block, I turned { into a character, discarded it, and then pushed the two required characters:

 '{;'"'m


Hint D: 124. I solved this one together with C-down, which was easiest with a decrement at the end. So I push a 12, a 5, and decrement the latter:

C5(


Down

Hint 1: [2 2 2 3]. That looked too suspiciously like a prime factorisation for it not to be one. :)

24mf`


Hint 3: 3010936384. Factoring this showed that it's actually 386. The only question was how to get the 38 in compliance with 2-across. In the end I needed a * in the third place, so doubling 19 it was:

J2*6#


Hint 5: 2017. Two characters for such a large number? Just use built-in two-digit variables:

KH


Hint 6: "18". I think there's only a single way to do this in 3 characters. Use the built-in 18, convert it to a string, and then to its string representation.

Is`


Hint 7: ' "\"\"". Probably the hardest part of the puzzle. In particular, I needed to get the "\"\"" in only three characters. The trick was to get the string representation of the empty string twice. That led to:

' `L``+


THe + isn't necessary, but was needed by 8-across.

Hint 8: !{}. The block needed to go in the code, so that left only two characters for !, which meant using another literal:

'!{}


Hint A: -3u3.  With the u in place from 8-across, I started to put -3 and 3 in the corners where no other hint cared about them. But then I needed an m at the bottom. I think there are multiple ways to get a 3 with _m_, but the simplest was taking the square root of 9:

-3 'u9mq


Hint C: -1. I already had the decrement there, so I just put a 0 where no one else cared about:

0  (


Hint E: Stack: "". Well that was the simplest one. Just call the debugger:

ed