summaryrefslogtreecommitdiff
path: root/src/xyz/euandreh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests/heredoc.scm: Add test for (enable-syntax) macroEuAndreh2022-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Test both compiled and non-compiled variants of the test in order to stress the scenarios of *when* the read-macro is set. Also change the (eval-when ...) case used: - "compile": for when the code is being compiled only, and before its execution; - "eval": for the the code is being evaluated only, during its execution. Also from the Guile manual (via 'info (guile)Loading'): Changing ‘current-reader’ is typically useful to introduce local syntactic changes, such that code following the ‘fluid-set!’ call is read using the newly installed reader. The ‘current-reader’ change should take place at evaluation time when the code is evaluated, or at compilation time when the code is compiled: (eval-when (compile eval) (fluid-set! current-reader my-own-reader)) The ‘eval-when’ form above ensures that the ‘current-reader’ change occurs at the right time.
* src/xyz/euandreh/heredoc.scm: Add (enable-syntax) macroEuAndreh2022-05-171-1/+6
|
* src/xyz/euandreh/heredoc.scm: Rename (heredoc-reader ...) to (reader ...)EuAndreh2022-05-171-1/+1
|
* Update references to src/heredoc.scmEuAndreh2022-05-171-1/+1
|
* git mv src/heredoc.scm src/xyz/euandreh/EuAndreh2022-05-171-0/+97