python-lang.scm (TeXmacs-2.1.1-src) | : | python-lang.scm (TeXmacs-2.1.2-src) | ||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
;; MODULE : python-lang.scm | ;; MODULE : python-lang.scm | |||
;; DESCRIPTION : Python Language | ;; DESCRIPTION : Python Language | |||
;; COPYRIGHT : (C) 2014-2020 François Poulain, Darcy Shen | ;; COPYRIGHT : (C) 2014-2020 François Poulain, Darcy Shen | |||
;; | ;; | |||
;; This software falls under the GNU general public license version 3 or later. | ;; This software falls under the GNU general public license version 3 or later. | |||
;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE | ;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE | |||
;; in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>. | ;; in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>. | |||
;; | ;; | |||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |||
(texmacs-module (prog python-lang) | (texmacs-module (python-lang) | |||
(:use (prog default-lang))) | (:use (prog default-lang))) | |||
(tm-define (parser-feature lan key) | (tm-define (parser-feature lan key) | |||
(:require (and (== lan "python") (== key "keyword"))) | (:require (and (== lan "python") (== key "keyword"))) | |||
`(,(string->symbol key) | `(,(string->symbol key) | |||
(constant | (constant | |||
"Ellipsis" "False" "None" "NotImplemented" "True" "__debug__" "__import__" "abs" | "Ellipsis" "False" "None" "NotImplemented" "True" "__debug__" "__import__" "abs" | |||
"all" "any" "apply" "ascii" "basestring" "bin" "bool" "buffer" | "all" "any" "apply" "ascii" "basestring" "bin" "bool" "buffer" | |||
"bytearray" "bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile " | "bytearray" "bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile " | |||
"complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "execfile" | "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "execfile" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |