1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-07 12:40:19 +02:00
guile/module/srfi
Andy Wingo b6b6f62548 syntax-source returns a vector
* libguile/syntax.c (HAS_SOURCE_WORD_FLAG): Remove; all syntax objects
now have a source word.
(sourcev_to_props, props_to_sourcev): Remove.
(scm_make_syntax): Require source to be a vector or #f.
(scm_syntax_source): Just return source object.
(scm_syntax_sourcev): Remove.
* libguile/syntax.h: Remove scm_syntax_sourcev.
* module/srfi/srfi-64.scm (syntax->source-properties):
* module/system/base/types.scm (cell->object):
* module/ice-9/boot-9.scm (case, current-source-location, current-filename)
(define-module, load): Adapt for syntax-source returning a vector.
* module/ice-9/psyntax-pp.scm: Regen.
* module/ice-9/psyntax.scm: Rename uses of syntax-sourcev to
syntax-source.
* module/system/syntax.scm (syntax-sourcev): Add deprecated shim.
(print-syntax): Use sourcev.
* module/system/vm/assembler.scm (intern-constant):
(link-data): Always write source word.
* test-suite/tests/reader.test ("read-syntax"): Update expectation.
2025-05-12 15:05:40 +02:00
..
srfi-4 New function srfi-4-vector-type-size in (srfi srfi-4 gnu) 2021-12-06 14:00:03 +01:00
srfi-9 doc: Fix typo in `set-record-type-printer!' doc. 2012-11-17 15:34:49 +01:00
srfi-42
srfi-67 fix srfi-67 compilation 2011-09-02 19:49:26 +02:00
srfi-171 Add SRFI-171 to guile 2020-03-25 22:44:27 +01:00
srfi-1.scm Drop libguile srfi-1 2024-07-30 19:39:32 -05:00
srfi-2.scm
srfi-4.scm New function srfi-4-vector-type-size in (srfi srfi-4 gnu) 2021-12-06 14:00:03 +01:00
srfi-6.scm String ports use UTF-8; ignore %default-port-encoding. 2013-08-07 01:22:22 -04:00
srfi-8.scm
srfi-9.scm Remove vestigial code from srfi-9 2024-03-17 21:40:58 +01:00
srfi-10.scm Deprecate passing a non-zero size to make-module 2019-09-27 22:57:38 +02:00
srfi-11.scm srfi-11: Do not expose variables to later clauses 2020-01-12 22:18:41 +01:00
srfi-13.scm
srfi-14.scm
srfi-16.scm Add srfi-16 and srfi-30 to %cond-expand-features. 2014-01-14 02:19:52 -05:00
srfi-17.scm
srfi-18.scm Move weak tables out to a module 2025-05-12 13:45:07 +02:00
srfi-19.scm srfi-19: Fix ~V converter in date->string. 2025-02-28 10:28:06 +01:00
srfi-26.scm
srfi-27.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-28.scm Implement SRFI 28: Basic Format Strings. 2014-12-02 11:49:05 -05:00
srfi-31.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-34.scm Re-implement `guard' 2020-01-10 21:42:26 +01:00
srfi-35.scm srfi-35: Fix expansion of 'condition' for compound conditions. 2022-10-01 18:04:16 +02:00
srfi-37.scm Fix error messages containing format strings 2024-05-06 11:51:53 +02:00
srfi-38.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-39.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-41.scm Add record type printer for srfi-41. 2013-04-07 12:44:31 -04:00
srfi-42.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-43.scm Fix typos throughout codebase. 2024-05-06 11:51:53 +02:00
srfi-45.scm Add record type printer for srfi-45. 2013-04-07 12:43:17 -04:00
srfi-60.scm Replace bit-count with bitvector-count 2020-04-12 22:17:22 +02:00
srfi-64.scm syntax-source returns a vector 2025-05-12 15:05:40 +02:00
srfi-67.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-69.scm Move weak tables out to a module 2025-05-12 13:45:07 +02:00
srfi-71.scm Make srfi-71 visible through 'cond-expand'. 2018-08-07 12:33:25 +02:00
srfi-88.scm Improve correctness and consistency of 'eval-when' usage. 2014-01-23 10:41:22 -05:00
srfi-98.scm
srfi-111.scm Fix bug in srfi-111 box printer 2025-01-16 15:47:03 +01:00
srfi-171.scm Add SRFI-171 to guile 2020-03-25 22:44:27 +01:00