summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Correctly substitute directory names in 'python' executable.HEADmasterLudovic Courtès2019-06-253-2/+12
| | | | | | | | | | | | 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>
* 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".
* Install 'python' executable.Ludovic Courtès2019-06-132-0/+9
| | | | | * modules/Makefile.am (nodist_bin_SCRIPTS): New variable. * modules/python.in: Set '%load-path' and '%load-compiled-path'.
* 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".
* tests: Add completion test.Ricardo Wurmus2019-06-043-6/+243
| | | | | | | * modules/tests/completion.scm: New file. * modules/build-aux/test-driver.scm: New file. * modules/Makefile.am: Add them. * .gitignore: Ignore test logs.
* 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.
* Add simple Python executable.Ricardo Wurmus2019-06-012-0/+30
| | | | | | * modules/python.in: New file. * modules/configure.ac: Configure it. * .gitignore: Hide generated file.
* ccash musingsStefan Israelsson Tampe2019-03-141-1/+1
|
* 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-1311-29/+38
|
* sielence warningsStefan Israelsson Tampe2019-03-132-4/+4
|
* reordering ...Stefan Israelsson Tampe2019-03-131-1/+1
|
* reordering compilation orderStefan Israelsson Tampe2019-03-131-4/+4
|
* Makefile issuesStefan Israelsson Tampe2019-03-133-23/+23
|
* remove warnings, fix wrong compilation orderStefan Israelsson Tampe2019-03-133-10/+12
|
* remove old stuffStefan Israelsson Tampe2019-03-124-443/+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-1266-2/+1
|
* wrong guile load dir directory in compilationStefan Israelsson Tampe2019-03-121-2/+2
|
* guilemodStefan Israelsson Tampe2019-01-081-1/+1
|
* make can now compilepy files, added more source files to the make compileStefan Israelsson Tampe2018-12-182-4/+78
|
* use guile-persist instead of guile-logStefan Israelsson Tampe2018-12-174-8/+8
|
* 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
|