1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
guile/module/language/tree-il
Mark H Weaver 458ae248ab psyntax: Generate identifiers in a deterministic fashion.
Fixes <http://bugs.gnu.org/20272>.

* module/ice-9/boot-9.scm (module-generate-unique-id!)
(module-gensym): New procedures.
(module): Add 'next-unique-id' field.
(the-root-module): Inherit 'next-unique-id' value from early stub.
(make-module, make-autoload-interface): Adjust calls to
module-constructor.
* module/ice-9/psyntax.scm (gen-label, new-mark): Generate unique
identifiers from the module name and the per-module unique-id.
(build-lexical-var, generate-temporaries): Use
'module-gensym' instead of 'gensym'.
* module/ice-9/psyntax-pp.scm: Regenerate.
* module/language/tree-il/fix-letrec.scm (fix-letrec!): Use
'module-gensym' instead of 'gensym'.
* module/system/base/syntax.scm (define-record): Likewise.
(transform-record): Likewise.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-12-30 21:58:44 +01:00
..
analyze.scm Handle ~p in 'format' warnings. 2014-08-26 23:41:33 +02:00
canonicalize.scm allow case-lambda expressions with no clauses 2013-03-09 11:16:31 +01:00
compile-glil.scm Fix foreign slot initialization and access 2014-04-27 11:02:35 +02:00
cse.scm CSE visits prompt body in values context 2016-06-24 18:53:58 +02:00
debug.scm allow case-lambda expressions with no clauses 2013-03-09 11:16:31 +01:00
effects.scm Fix bug that exposed `list' invocations to CSE 2016-06-24 19:03:36 +02:00
fix-letrec.scm psyntax: Generate identifiers in a deterministic fashion. 2016-12-30 21:58:44 +01:00
inline.scm separate peval and a new canonicalization pass into their own modules 2011-09-28 19:39:39 +02:00
optimize.scm enable cse 2012-04-23 21:52:24 +02:00
peval.scm Fix bug compiling fixpoint combinator 2016-07-16 12:05:21 +02:00
primitives.scm Compile numerical comparisons with more than 2 arguments to VM code. 2014-02-01 01:19:16 -05:00
spec.scm Add 'for-humans?' flag to <language> specifications. 2013-01-27 10:16:40 -05:00