| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Previously "@libdir@" would typically expand to "${exec_prefix}/…",
which wouldn't have the intended effect.
* modules/Makefile.am (python): New target.
(CLEANFILES): New variable.
* modules/configure.ac: Remove 'AC_CONFIG_FILES' for 'python'.
* modules/python.in: Use @datadir@ instead of @prefix@/share.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
|
|
|
|
|
|
|
|
| |
This is a partial revert of commit
4197555e6f7fa732bb5bf605c850972bdd84ad29.
This problem was reported by Ludovic Courtès.
* modules/language/python/module/re/compile.scm (multiline, dotall):
Fix unexpected compilation error by not using "unless".
|
|
|
|
|
| |
* modules/Makefile.am (nodist_bin_SCRIPTS): New variable.
* modules/python.in: Set '%load-path' and '%load-compiled-path'.
|
|
|
|
|
| |
* modules/language/python/module/re/compile.scm (startine, dotall,
multiline, f-s, get-ch): Use "zero?" and "unless".
|
|
|
|
|
|
|
| |
* modules/tests/completion.scm: New file.
* modules/build-aux/test-driver.scm: New file.
* modules/Makefile.am: Add them.
* .gitignore: Ignore test logs.
|
|
|
|
| |
* modules/language/python/persist.scm: Fix indentation.
|
|
|
|
| |
* modules/language/python/list.scm (scm-list): Remove.
|
|
|
|
|
| |
* modules/language/python/list.scm (py-all): Use "unless".
(py-any): Use "when".
|
|
|
|
|
| |
* modules/language/python/eval.scm (aif): Remove macro.
(eval0, compile, exec0): Simplify.
|
|
|
|
| |
* modules/language/python/eval.scm (local-compile): Simplify.
|
|
|
|
| |
* modules/language/python/eval.scm (local-eval): Simplify.
|
|
|
|
|
| |
* modules/language/python/compile.scm (gw-persson): Use "and" instead
of "if".
|
|
|
|
|
|
|
|
|
|
| |
* modules/language/python/compile.scm (with-exit): Use "unless" and
"zero?".
(use): Use "unless" instead of single-armed "(if (not ...) ...)".
(set-doc): Same.
(setwrap): Use "match-lambda".
(gentable): Use "when".
(export-all): Flip "if".
|
|
|
|
|
|
|
| |
This module has been replaced with (parser stis-parser lang
python3-parser).
* modules/language/python/parser.scm: Remove file.
|
|
|
|
|
| |
* modules/language/python/compile.scm (clear-warning-data, with-warn,
with-warn-data, get-warns): Remove.
|
|
|
|
|
| |
* modules/language/python/compile.scm: Use const instead of lambda
expressions.
|
|
|
|
|
| |
* modules/language/python/compile.scm (aif): Remove macro.
(get-addings): Implement without aif; simplify.
|
|
|
|
| |
* modules/language/python/compile.scm (get-doc): Simplify.
|
|
|
|
| |
* modules/language/python/compile.scm (fast-ref): Simplify.
|
|
|
|
|
| |
* modules/language/python/compile.scm (get-exported-symbols): Simplify
and add docstring.
|
|
|
|
|
| |
* modules/language/python/spec.scm (trace): Write to "python-log.txt"
instead of "log.txt".
|
|
|
|
|
|
|
|
| |
* modules/language/python/spec.scm (dolog): Rename this variable...
(*python-debug*): ...to this.
(pr): Rename this procedure...
(trace): ...to this.
(logging-compile): Adjust.
|
|
|
|
|
|
|
|
|
|
| |
* modules/language/python/spec.scm (c): Rename this...
(logging-compile): ...to this procedure.
(cc): Rename this...
(read-or-compile): ...to this procedure.
(e): Rename this...
(python-eval): ...to this procedure.
(python-reader-wrap): Use new names.
|
|
|
|
|
| |
* modules/language/python/spec.scm (ignore-errors): Add procedure.
(int, in): Use it.
|
|
|
|
| |
* modules/language/python/spec.scm: Use "const" instead of "lambda".
|
|
|
|
|
|
|
|
| |
* modules/language/python/completer.scm (aif): Remove macro.
(complete-fkn): Simplify, comment, and add docstring; rename...
(complete-python): ...to this.
(reg): Rename this variable...
(dotted-words-regexp): ...to this.
|
|
|
|
|
|
|
|
| |
* modules/language/python/bytes.scm (replace): Use string-null?.
* modules/language/python/completer.scm (complete-fkn): Likewise.
* modules/language/python/module/io.scm (StringIO): Likewise.
* modules/language/python/spec.scm (cc): Likewise.
* modules/language/python/string.scm (py-replace): Likewise.
|
|
|
|
|
|
| |
* modules/python.in: New file.
* modules/configure.ac: Configure it.
* .gitignore: Hide generated file.
|
|
|
|
| |
* .gitignore: New file.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|