« first day (381 days earlier)      last day (2113 days later) » 

2:31 AM
@Dennis thanks for adding SimpleStack! Would you mind giving it a pull?
 
@MDXF That broke it.
simplestack.c:(.text+0x146): undefined reference to `itoa'
 
Shoot, it compiled fine a few seconds ago
Oh darn, that's right, non-Windows systems don't have that itoa
 
I you fix it in the next couple of minutes, I might still be able to pull it. Getting ready for bed.
 
That should've fixed it, I don't actually have a compiler on hand, could you check if it's fixed? (if it's not I won't bother you again)
 
simplestack.c: At top level:
simplestack.c:915:7: error: conflicting types for ‘itoa’
 char* itoa(int num, char* str, int base)
       ^~~~
simplestack.c:36:5: note: previous declaration of ‘itoa’ was here
 int itoa(int,char*,int);
     ^~~~
simplestack.c: In function ‘itoa’:
simplestack.c:918:5: error: unknown type name ‘bool’; did you mean ‘_Bool’?
     bool isNegative = false;
     ^~~~
     _Bool
simplestack.c:918:23: error: ‘false’ undeclared (first use in this function); did you mean ‘base’?
 
2:36 AM
Crud!
Wait - I can use TIO's GCC to test it... duh
@Dennis if you're still awake, it's fixed now.
 
3:21 AM
> (if it's not I won't bother you again)
 
Oh whoops sorry :P
 
 
3 hours later…
6:19 AM
How big are the cells in TIOs brainfuck interpreter?
 
@Potato44 They are defined as uint8_t, the size of the tape is the maximum value of a unit16_t
 
6:42 AM
This is the entire interpreter/compiler:
#!/usr/bin/env bash

cat > "$1.c" << EOF
#include <stdint.h>
#include <stdio.h>

int main(){
uint8_t t[65536] = {0};
uint16_t p = 0;
int i;
EOF

while read -n1 char; do
	case "$char" in
		\>) echo '++p;';;
		\<) echo '--p;';;
		\+) echo '++t[p];';;
		\-) echo '--t[p];';;
		\,) echo 'i=getchar(),t[p]=i*(i>0);';;
		\.) echo 'putchar(t[p]);';;
		\[) echo 'while(t[p]){';;
		\]) echo '}';;
	esac
done < "$1" >> "$1.c"

echo 'return 0;}' >> "$1.c"

cc -O3 -o "$1.out" "$1.c" && "./$1.out"
 
 
3 hours later…
9:49 AM
Now that you post that here I remember reading it sometime in the past.
 
 
3 hours later…
12:47 PM
@Dennis could you pull Shnap? Thanks :)
 
 
2 hours later…
2:36 PM
@SocraticPhoenix Done.
@MDXF It works now; pulled and synced.
But please fix the UB. :P
 
 
3 hours later…
5:28 PM
@Dennis Could you pull Recursiva? Thank you. :)
 
5:57 PM
@Pavel Unfortunately we're not yet able to stream everything, but it will be recorded and available on dyalog.tv later.
 
Oh well, too bad.
I finally got my copy of dyalog downloaded.
@Adám Speaking of which, I need some help. {1↓(⍳⍵) ~ (∘.×⍨1↓⍳⍵)} should generate prime numbers up to ⍵, but it isn't working for me.
 
6:22 PM
@officialaimm Syncing.
 
6:35 PM
@Dennis can you take a look at the languages in the list of interpreters here and add any that are suitable for TIO? codegolf.stackexchange.com/a/142014/69655
 
Thank you, dennis. :)
 
@Potato44 From the list of 131 or the list of languages not in the driver?
 
ones not in the driver
not japt or cubically though, they are in that list because we need specific versions
 
6:51 PM
Same for Ruby.
Also, Moorhens, Objeck, RunR, and Emotinomicon have been requested before, but I couldn't add them.
 
@Dennis Have you considered having multiple ruby versions? Or does Ruby change too often for that to be practical.
 
I'll take a look at the rest.
 
That is why I qualified with the 'would be suitable'
 
@Pavel I haven't because I have no idea which versions would be worth having.
 
@Dennis 2.1 and 1.9 would probably be most helpful.
Ruby versions can be managed from rvm, which would also make it easier to select a version from bash.
 
7:26 PM
@Dennis What did not work out with moorhen? as far as I recall it's a simple python lang like many others on tio?
 
@AndrewSavinykh The author didn't want it added to TIO at that point.
 
8:01 PM
@Dennis Could you please pull Proton to fix the ternary bug? Thanks!
 
8:31 PM
@HyperNeutrino Syncing.
 
9:15 PM
 
@Dennis can you add Zig? ziglang.org
 
9:45 PM
@JonathanAllan Thanks, but I actually ungolfed a Chef answer for TIO.
 
 
2 hours later…
11:36 PM
@Dennis on TIO if I do ctrl+enter it runs a code but it still puts a newline inside the <textarea>
 

« first day (381 days earlier)      last day (2113 days later) »