added template.json
This commit is contained in:
146
src/foreignthon/template.json
Normal file
146
src/foreignthon/template.json
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
{
|
||||||
|
"meta": {
|
||||||
|
"name": "",
|
||||||
|
"native_name": "",
|
||||||
|
"code": "",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"authors": []
|
||||||
|
},
|
||||||
|
"keywords": {
|
||||||
|
"if": "if",
|
||||||
|
"else": "else",
|
||||||
|
"elif": "elif",
|
||||||
|
"for": "for",
|
||||||
|
"while": "while",
|
||||||
|
"def": "def",
|
||||||
|
"class": "class",
|
||||||
|
"import": "import",
|
||||||
|
"from": "from",
|
||||||
|
"as": "as",
|
||||||
|
"return": "return",
|
||||||
|
"break": "break",
|
||||||
|
"continue": "continue",
|
||||||
|
"pass": "pass",
|
||||||
|
"try": "try",
|
||||||
|
"except": "except",
|
||||||
|
"finally": "finally",
|
||||||
|
"raise": "raise",
|
||||||
|
"with": "with",
|
||||||
|
"in": "in",
|
||||||
|
"is": "is",
|
||||||
|
"and": "and",
|
||||||
|
"or": "or",
|
||||||
|
"not": "not",
|
||||||
|
"del": "del",
|
||||||
|
"global": "global",
|
||||||
|
"nonlocal": "nonlocal",
|
||||||
|
"assert": "assert",
|
||||||
|
"yield": "yield",
|
||||||
|
"await": "await",
|
||||||
|
"async": "async",
|
||||||
|
"lambda": "lambda",
|
||||||
|
"True": "True",
|
||||||
|
"False": "False",
|
||||||
|
"None": "None"
|
||||||
|
},
|
||||||
|
"builtins": {
|
||||||
|
"print": "print",
|
||||||
|
"input": "input",
|
||||||
|
"len": "len",
|
||||||
|
"range": "range",
|
||||||
|
"type": "type",
|
||||||
|
"int": "int",
|
||||||
|
"float": "float",
|
||||||
|
"str": "str",
|
||||||
|
"list": "list",
|
||||||
|
"dict": "dict",
|
||||||
|
"set": "set",
|
||||||
|
"tuple": "tuple",
|
||||||
|
"bool": "bool",
|
||||||
|
"open": "open",
|
||||||
|
"enumerate": "enumerate",
|
||||||
|
"map": "map",
|
||||||
|
"filter": "filter",
|
||||||
|
"sorted": "sorted",
|
||||||
|
"reversed": "reversed",
|
||||||
|
"sum": "sum",
|
||||||
|
"min": "min",
|
||||||
|
"max": "max",
|
||||||
|
"abs": "abs",
|
||||||
|
"round": "round",
|
||||||
|
"all": "all",
|
||||||
|
"any": "any",
|
||||||
|
"isinstance": "isinstance",
|
||||||
|
"hasattr": "hasattr",
|
||||||
|
"getattr": "getattr",
|
||||||
|
"setattr": "setattr",
|
||||||
|
"repr": "repr",
|
||||||
|
"format": "format",
|
||||||
|
"vars": "vars",
|
||||||
|
"next": "next",
|
||||||
|
"id": "id",
|
||||||
|
"chr": "chr",
|
||||||
|
"hex": "hex",
|
||||||
|
"bin": "bin",
|
||||||
|
"oct": "oct"
|
||||||
|
},
|
||||||
|
"exceptions": {
|
||||||
|
"Exception": "Exception",
|
||||||
|
"BaseException": "BaseException",
|
||||||
|
"ValueError": "ValueError",
|
||||||
|
"TypeError": "TypeError",
|
||||||
|
"KeyError": "KeyError",
|
||||||
|
"IndexError": "IndexError",
|
||||||
|
"AttributeError": "AttributeError",
|
||||||
|
"NameError": "NameError",
|
||||||
|
"ImportError": "ImportError",
|
||||||
|
"OSError": "OSError",
|
||||||
|
"FileNotFoundError": "FileNotFoundError",
|
||||||
|
"RuntimeError": "RuntimeError",
|
||||||
|
"StopIteration": "StopIteration",
|
||||||
|
"SystemExit": "SystemExit",
|
||||||
|
"KeyboardInterrupt": "KeyboardInterrupt",
|
||||||
|
"NotImplementedError": "NotImplementedError",
|
||||||
|
"ZeroDivisionError": "ZeroDivisionError",
|
||||||
|
"RecursionError": "RecursionError",
|
||||||
|
"SyntaxError": "SyntaxError",
|
||||||
|
"AssertionError": "AssertionError",
|
||||||
|
"OverflowError": "OverflowError",
|
||||||
|
"MemoryError": "MemoryError",
|
||||||
|
"PermissionError": "PermissionError",
|
||||||
|
"TimeoutError": "TimeoutError"
|
||||||
|
},
|
||||||
|
"error_messages": {
|
||||||
|
"SyntaxError": "SyntaxError",
|
||||||
|
"ValueError": "ValueError",
|
||||||
|
"TypeError": "TypeError",
|
||||||
|
"KeyError": "KeyError",
|
||||||
|
"IndexError": "IndexError",
|
||||||
|
"AttributeError": "AttributeError",
|
||||||
|
"NameError": "NameError",
|
||||||
|
"ImportError": "ImportError",
|
||||||
|
"FileNotFoundError": "FileNotFoundError",
|
||||||
|
"ZeroDivisionError": "ZeroDivisionError",
|
||||||
|
"RecursionError": "RecursionError",
|
||||||
|
"RuntimeError": "RuntimeError",
|
||||||
|
"MemoryError": "MemoryError",
|
||||||
|
"OverflowError": "OverflowError",
|
||||||
|
"AssertionError": "AssertionError",
|
||||||
|
"NotImplementedError": "NotImplementedError",
|
||||||
|
"StopIteration": "StopIteration",
|
||||||
|
"KeyboardInterrupt": "KeyboardInterrupt",
|
||||||
|
"PermissionError": "PermissionError",
|
||||||
|
"TimeoutError": "TimeoutError"
|
||||||
|
},
|
||||||
|
"stdlib": {
|
||||||
|
"math": "math",
|
||||||
|
"sys": "sys",
|
||||||
|
"datetime": "datetime",
|
||||||
|
"time": "time",
|
||||||
|
"random": "random",
|
||||||
|
"collections": "collections",
|
||||||
|
"pathlib": "pathlib",
|
||||||
|
"re": "re"
|
||||||
|
},
|
||||||
|
"postfix_keywords": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user