summaryrefslogtreecommitdiff
path: root/modules/language/*.scm
Commit message (Collapse)AuthorAgeFilesLines
* module: Don't use "unless".Ricardo Wurmus2019-06-180-0/+0
| | | | | | | | | | 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-050-0/+0
| | | | | * 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-040-0/+0
| | | | * modules/language/python/persist.scm: Fix indentation.
* list: Remove scm-list.Ricardo Wurmus2019-06-040-0/+0
| | | | * modules/language/python/list.scm (scm-list): Remove.
* list: py-all, p-any: Use "when" and "unless".Ricardo Wurmus2019-06-040-0/+0
| | | | | * modules/language/python/list.scm (py-all): Use "unless". (py-any): Use "when".
* eval: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | | * modules/language/python/eval.scm (aif): Remove macro. (eval0, compile, exec0): Simplify.
* eval: local-compile: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | * modules/language/python/eval.scm (local-compile): Simplify.
* eval: local-eval: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | * modules/language/python/eval.scm (local-eval): Simplify.
* compile: gw-persson: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | | * modules/language/python/compile.scm (gw-persson): Use "and" instead of "if".
* compile: Simplify expressions.Ricardo Wurmus2019-06-040-0/+0
| | | | | | | | | | * 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-040-0/+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-040-0/+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-040-0/+0
| | | | | * modules/language/python/compile.scm: Use const instead of lambda expressions.
* compile: get-addings: Implement without aif.Ricardo Wurmus2019-06-040-0/+0
| | | | | * modules/language/python/compile.scm (aif): Remove macro. (get-addings): Implement without aif; simplify.
* compile: get-doc: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | * modules/language/python/compile.scm (get-doc): Simplify.
* compile: fast-ref: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | * modules/language/python/compile.scm (fast-ref): Simplify.
* compile: get-exported-symbols: Simplify.Ricardo Wurmus2019-06-040-0/+0
| | | | | * modules/language/python/compile.scm (get-exported-symbols): Simplify and add docstring.
* spec: Log to python-log.txt.Ricardo Wurmus2019-06-040-0/+0
| | | | | * modules/language/python/spec.scm (trace): Write to "python-log.txt" instead of "log.txt".
* spec: Rename dolog and pr.Ricardo Wurmus2019-06-040-0/+0
| | | | | | | | * 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-040-0/+0
| | | | | | | | | | * 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-040-0/+0
| | | | | * modules/language/python/spec.scm (ignore-errors): Add procedure. (int, in): Use it.
* modules: spec: Simplify.Ricardo Wurmus2019-06-030-0/+0
| | | | * modules/language/python/spec.scm: Use "const" instead of "lambda".
* modules: completer: Simplify.Ricardo Wurmus2019-06-030-0/+0
| | | | | | | | * 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-031-1/+1
| | | | | | | | * 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-130-0/+0
|
* remove define in expression contextStefan Israelsson Tampe2019-03-130-0/+0
|
* remove warnings, reorderingStefan Israelsson Tampe2019-03-130-0/+0
|
* sielence warningsStefan Israelsson Tampe2019-03-130-0/+0
|
* remove warnings, fix wrong compilation orderStefan Israelsson Tampe2019-03-130-0/+0
|
* remove old stuffStefan Israelsson Tampe2019-03-121-71/+0
|
* avoid circular dependencyStefan Israelsson Tampe2019-03-120-0/+0
|
* cleanupStefan Israelsson Tampe2019-03-120-0/+0
|
* guilemodStefan Israelsson Tampe2019-01-080-0/+0
|
* use guile-persist instead of guile-logStefan Israelsson Tampe2018-12-170-0/+0
|
* another try of guile-modStefan Israelsson Tampe2018-12-130-0/+0
|
* fix bug in guile-modStefan Israelsson Tampe2018-12-130-0/+0
|
* fix misscompilation of while loopsStefan Israelsson Tampe2018-12-110-0/+0
|
* better guilemodStefan Israelsson Tampe2018-12-060-0/+0
|
* guilemodStefan Israelsson Tampe2018-12-060-0/+0
|
* Merge branch 'master' of gitlab.com:python-on-guile/python-on-guileStefan Israelsson Tampe2018-12-050-0/+0
|\
| * guilemodStefan Israelsson Tampe2018-11-090-0/+0
| |
* | module statement compilatoin bugfixStefan Israelsson Tampe2018-12-051-1/+0
|/
* cleanupStefan Israelsson Tampe2018-11-066-0/+1696
|
* python repo installStefan Israelsson Tampe2018-11-0638-13020/+0
|
* 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-121-2/+94
|
* xml dom etreeStefan Israelsson Tampe2018-09-123-5/+14
|
* sax framework in xmlStefan Israelsson Tampe2018-09-110-0/+0
|
* final hhtp codeStefan Israelsson Tampe2018-09-112-6/+29
|