Talk:Quoi?

From Esolang
Jump to navigation Jump to search

Suggestions for the WIP interpreter

The WIP interpreter uses tabs, which is generally considered bad practice, and I've found a possible bug. There is this function:

void swap_c(char a, char b) {
	char t = b;
	b = a;
	a = t;
}

It seems to do nothing. Maybe you meant

void swap_c(char&a, char&b) {
    char t = b;
    b = a;
    a = t;
}

Orisphera (talk) 16:02, 14 September 2022 (UTC)