UserNo
Jump to navigation
Jump to search
Designed by | User:No |
---|---|
Appeared in | 2023 |
Computational class | Total |
Major implementations | Implementations |
File extension(s) | none |
UserNo is a propaganda esolang against User:Yes as a joke.
Commands / User
It uses users that resemble Wikipedia users as commands seperated by spaces.
User:No - Increment Accumulator in positive (because i am positive) User:Yes - Decrement Accumulator (because negative) User:Zero - Print Accumulator as number (because number) Any Other - Print as ascii
Implementations
C# interpreter by User:No
using System; public class Program { static int accumulator = 0; public static void Main(string[] args) { Console.WriteLine("What is your code?"); string code = Console.ReadLine(); string[] users = code.Split(" "); foreach (string s in users) { switch (s) { case "User:Yes": // ew bad accumulator--; break; case "User:No": // SO GOOD THIS IS POSITIVE INCREMENT BECAUSE OSITIVE accumulator++; break; case "User:Zero": //idk who user zero is but it will print as a number cause i need aw ay to do that Console.Write(accumulator + ""); break; default: Console.Write((char) accumulator + ""); break; } } } }