Sha256: 7f38cd300ef186fc6251a982ca18a26788757be4f5b272d8ef9e4927522de48d
Contents?: true
Size: 770 Bytes
Versions: 50
Compression:
Stored size: 770 Bytes
Contents
characters = "abcdefghijklmnopqrstuvwxyz" with open("program.sl", "w") as f: for a in characters: for b in characters: for c in characters: for d in characters: string = a + b + c + d #if string == "auto": # string = "auto_" #elif string == "goto": # string = "goto_" #elif string == "case": # string = "case_" #elif string == "else": # string = "else_" #elif string == "char": # string = "char_" #elif string == "enum": # string = "enum_" #elif string == "long": # string = "long_" #elif string == "main": # string = "main_" #elif string == "unix": # string = "unix_" #elif string == "void": # string = "void_" f.write("f " + string + " = 0.0;\n")
Version data entries
50 entries across 49 versions & 6 rubygems