summaryrefslogtreecommitdiff
path: root/modules/language/python
Commit message (Collapse)AuthorAgeFilesLines
* module: Don't use "unless".Ricardo Wurmus2019-06-181-2/+2
| | | | | | | | | | 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".
* module: Use "zero?" and "unless".Ricardo Wurmus2019-06-051-6/+6
| | | | | * modules/language/python/module/re/compile.scm (startine, dotall, multiline, f-s, get-ch): Use "zero?" and "unless".
* persist: Fix indentation throughout.Ricardo Wurmus2019-06-041-53/+53
| | | | * modules/language/python/persist.scm: Fix indentation.
* list: Remove scm-list.Ricardo Wurmus2019-06-041-2/+0
| | | | * modules/language/python/list.scm (scm-list): Remove.
* list: py-all, p-any: Use "when" and "unless".Ricardo Wurmus2019-06-041-4/+2
| | | | | * modules/language/python/list.scm (py-all): Use "unless". (py-any): Use "when".
* eval: Simplify.Ricardo Wurmus2019-06-041-14/+8
| | | | | * modules/language/python/eval.scm (aif): Remove macro. (eval0, compile, exec0): Simplify.
* eval: local-compile: Simplify.Ricardo Wurmus2019-06-041-11/+11
| | | | * modules/language/python/eval.scm (local-compile): Simplify.
* eval: local-eval: Simplify.Ricardo Wurmus2019-06-041-6/+6
| | | | * modules/language/python/eval.scm (local-eval): Simplify.
* compile: gw-persson: Simplify.Ricardo Wurmus2019-06-041-4/+3
| | | | | * modules/language/python/compile.scm (gw-persson): Use "and" instead of "if".
* compile: Simplify expressions.Ricardo Wurmus2019-06-041-14/+14
| | | | | | | | | | * 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".
* parser: Remove unused module.Ricardo Wurmus2019-06-041-849/+0
| | | | | | | This module has been replaced with (parser stis-parser lang python3-parser). * modules/language/python/parser.scm: Remove file.
* compile: Remove unused macros.Ricardo Wurmus2019-06-041-19/+0
| | | | | * modules/language/python/compile.scm (clear-warning-data, with-warn, with-warn-data, get-warns): Remove.
* compile: Use const for clarity.Ricardo Wurmus2019-06-041-5/+4
| | | | | * modules/language/python/compile.scm: Use const instead of lambda expressions.
* compile: get-addings: Implement without aif.Ricardo Wurmus2019-06-041-14/+14
| | | | | * modules/language/python/compile.scm (aif): Remove macro. (get-addings): Implement without aif; simplify.
* compile: get-doc: Simplify.Ricardo Wurmus2019-06-041-3/+1
| | | | * modules/language/python/compile.scm (get-doc): Simplify.
* compile: fast-ref: Simplify.Ricardo Wurmus2019-06-041-3/+1
| | | | * modules/language/python/compile.scm (fast-ref): Simplify.
* compile: get-exported-symbols: Simplify.Ricardo Wurmus2019-06-041-11/+10
| | | | | * modules/language/python/compile.scm (get-exported-symbols): Simplify and add docstring.
* spec: Log to python-log.txt.Ricardo Wurmus2019-06-041-1/+1
| | | | | * modules/language/python/spec.scm (trace): Write to "python-log.txt" instead of "log.txt".
* spec: Rename dolog and pr.Ricardo Wurmus2019-06-041-5/+5
| | | | | | | | * modules/language/python/spec.scm (dolog): Rename this variable... (*python-debug*): ...to this. (pr): Rename this procedure... (trace): ...to this. (logging-compile): Adjust.
* spec: Rename procedures.Ricardo Wurmus2019-06-041-9/+18
| | | | | | | | | | * 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.
* spec: Add ignore-errors helper.Ricardo Wurmus2019-06-041-13/+13
| | | | | * modules/language/python/spec.scm (ignore-errors): Add procedure. (int, in): Use it.
* modules: spec: Simplify.Ricardo Wurmus2019-06-031-7/+5
| | | | * modules/language/python/spec.scm: Use "const" instead of "lambda".
* modules: completer: Simplify.Ricardo Wurmus2019-06-032-39/+39
| | | | | | | | * 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: Use string-null? instead of (equal? "" ...).Ricardo Wurmus2019-06-035-5/+7
| | | | | | | | * 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.
* final touchStefan Israelsson Tampe2019-03-132-3/+3
|
* remove define in expression contextStefan Israelsson Tampe2019-03-131-4/+5
|
* remove warnings, reorderingStefan Israelsson Tampe2019-03-139-26/+29
|
* sielence warningsStefan Israelsson Tampe2019-03-132-4/+4
|
* Makefile issuesStefan Israelsson Tampe2019-03-131-0/+0
|
* remove warnings, fix wrong compilation orderStefan Israelsson Tampe2019-03-132-4/+7
|
* remove old stuffStefan Israelsson Tampe2019-03-123-442/+0
|
* avoid circular dependencyStefan Israelsson Tampe2019-03-122-4/+17
|
* cleanupStefan Israelsson Tampe2019-03-1235-10783/+0
|
* cleanup of repo files and not clober the compile pathStefan Israelsson Tampe2019-03-1264-0/+0
|
* guilemodStefan Israelsson Tampe2019-01-081-1/+1
|
* use guile-persist instead of guile-logStefan Israelsson Tampe2018-12-173-7/+7
|
* another try of guile-modStefan Israelsson Tampe2018-12-131-16/+40
|
* fix bug in guile-modStefan Israelsson Tampe2018-12-131-35/+16
|
* fix misscompilation of while loopsStefan Israelsson Tampe2018-12-113-123/+165
|
* better guilemodStefan Israelsson Tampe2018-12-066-82/+30
|
* guilemodStefan Israelsson Tampe2018-12-061-4/+10
|
* Merge branch 'master' of gitlab.com:python-on-guile/python-on-guileStefan Israelsson Tampe2018-12-051-2/+4
|\
| * guilemodStefan Israelsson Tampe2018-11-091-2/+4
| |
* | module statement compilatoin bugfixStefan Israelsson Tampe2018-12-055-15/+24
|/
* cleanupStefan Israelsson Tampe2018-11-0628-2637/+0
|
* python repo installStefan Israelsson Tampe2018-11-06161-3/+15335
|
* xxxStefan Israelsson Tampe2018-09-151-1/+2
|
* imporved relative importsStefan Israelsson Tampe2018-09-121-3/+3
|
* relative references in importStefan Israelsson Tampe2018-09-121-6/+11
|
* relative references in importStefan Israelsson Tampe2018-09-122-3/+95
|