diff options
Diffstat (limited to 'pilas/console/lang/python.json')
-rw-r--r-- | pilas/console/lang/python.json | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/pilas/console/lang/python.json b/pilas/console/lang/python.json new file mode 100644 index 0000000..0c4f1b3 --- /dev/null +++ b/pilas/console/lang/python.json @@ -0,0 +1,81 @@ +{ + "comment": [ + "#" + ], + "extension": [ + "py" + ], + "definition": [ + "def", + "class" + ], + "string": [ + "'", + "\"" + ], + "properObject": [ + "self" + ], + "operators": [ + "=", + "==", + "!=", + "<", + "<=", + ">", + ">=", + "\\+", + "-", + "\\*", + "/", + "//", + "\\%", + "\\*\\*", + "\\+=", + "-=", + "\\*=", + "/=", + "\\%=", + "\\^", + "\\|", + "\\&", + "\\~", + ">>", + "<<" + ], + "keywords": [ + "and", + "assert", + "break", + "class", + "continue", + "def", + "del", + "elif", + "else", + "except", + "exec", + "finally", + "for", + "from", + "global", + "if", + "import", + "in", + "is", + "lambda", + "not", + "or", + "pass", + "print", + "raise", + "return", + "super", + "try", + "while", + "yield", + "None", + "True", + "False" + ] +} |