« first day (575 days earlier)      last day (1919 days later) » 

11:25 AM
@Dennis Could you add Literate Haskell to TIO? There is no additional installation needed as it is just regular Haskell but the files end in .lhs instead of .hs.
Hello World is > main = putStr "Hello, World!".
 
 
2 hours later…
1:26 PM
@Laikoni I wonder if I should enable or disable syntax highlighting for this.
For the generated PPCG answer, that is.
Left syntax highlighting on for now.
 
1:44 PM
what do you mean by "syntax highlighting"...?
 
TIO includes <!-- language: lang-hs --> in the auto-generated Haskell answers.
 
 
3 hours later…
4:23 PM
@Dennis Is there something wrong with tio.run/#smbf ? Running a simple "get all input" program runs forever.
It seems that the end of input value is not NUL, but is instead ÿ (which is -1)
 
@Dennis Fixed, please pull Add++ when you can. Thanks in advance!
 
4:41 PM
@mbomb007 Yes, that's correct, the official C version returns -1. The official Ruby version returns nil afaict.
 
 
2 hours later…
6:56 PM
Huh... I would've thought it was compatible with BF
 
7:30 PM
Broccoli tiosetup when
 
@mbomb007 Compatible with which brainfuck? Not all implementations set the cell to zero on EOF. -1 (which is what getchar() returns) is a common option. Other implementations simply don't change the cell's value.
@Pavel Forgot to commit/push. Fixed.
 
:P
 
@cairdcoinheringaahing Done.
 
@Dennis Thanks!
Plus, the version selection now works!
 
Can getchar tell the difference between EOF and byte 255?
Yes it can, because contrary to its name it returns an int apparantly. TIL
 
8:21 PM
getchar returning an int so it can return 257 different values makes sense. putchar taking an int so it can mod 256 it, not so much.
 
8:37 PM
@Dennis The standard implementations, in which it ends with zero so that the simple ,[>,] works, as listed on the Brainfuck Algorithms page
 
@Dennis Thanks!
@Dennis For second you got me hoping that syntax highlighting on TIO arrived ...
 
9:18 PM
@Dennis Could you mind pulling Add++ again please? Various bug fixes
 
@cairdcoinheringaahing Done.
 
Thanks!
@Dennis Sorry to be a bother, but would you mind pulling it again please?
 
9:39 PM
File "/opt/addpp/add++.py", line 358
    index += 1
             ^
TabError: inconsistent use of tabs and spaces in indentation
@cairdcoinheringaahing ^
 
Ugh, GitHub using actual tabs. Fixed
 
Pulled.
 
10:31 PM
@Dennis Please pull Pip. Thanks!
 
@DLosc Done.
 

« first day (575 days earlier)      last day (1919 days later) »