1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 20:30:28 +02:00
Commit graph

18 commits

Author SHA1 Message Date
Mikael Djurfeldt
93f26b7bcc * evalext.c, evalext.h (scm_self_evaluating_p): New function.
* psyntax.ss (self-evaluating?): Removed.  Guile now provides this
operator as a primitive procedure.
(build-data): Quote vectors (psyntax.ss requires this).
2003-01-20 10:12:39 +00:00
Mikael Djurfeldt
9889e923c6 * psyntax.ss (self-evaluating?): Allow procedures implanted in
source.  (Guile uses this internally.)
2003-01-19 17:47:01 +00:00
Mikael Djurfeldt
80f225df0e * psyntax.ss (build-data): Don't quote self-evaluating expressions
in output.  (We normally *would* like also these expressions to be
quoted, but until Guile's native macros and syncase cooperates
better, it is less destructive not to quote.)
(self-evaluating?): Removed null? (In Guile, the empty list is not
self-evaluating).
(sc-chi): Export chi as sc-chi.
(external-macro): New syntax type.

* psyntax.pp: Regenerated.

* compile-psyntax.scm: Set expansion-eval-closure.

* syncase.scm: Set expansion-eval-closure to
the-syncase-eval-closure during booting so that variables are
created in the correct module.
(syncase): Set expansion-eval-closure.
(define-syntax define-syntax-public eval-when fluid-let-syntax
identifier-syntax let-syntax letrec-syntax syntax syntax-case
syntax-rules with-syntax include): Removed definitions (these are
created from within psyntax.pp).
Enable expansion of Guile macros during a syntax-case
transformation.
2003-01-16 11:48:14 +00:00
Rob Browning
9970456903 * psyntax.pp: updated to reflect new syncase.scm. 2002-02-25 05:48:52 +00:00
Marius Vollmer
1f463efc1c (datum->syntax-object): Removed assertion in datum->syntax-object that
checked if the first argument, a syntax-object, is an identifier.
This was a unconvenient and unnecessary restriction.  Thanks to Dorai
Sitaram!
2002-01-14 20:41:30 +00:00
Marius Vollmer
872bd19470 * psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
* match.scm: Likewise.
* expect.scm: Likewise.
* psyntax.pp: Regenerated.
2001-05-19 01:31:33 +00:00
Mikael Djurfeldt
477c9802af Regenerated 2000-09-12 06:04:06 +00:00
Mikael Djurfeldt
2822e61232 Regenerated 2000-08-24 00:16:56 +00:00
Mikael Djurfeldt
402dd41f64 Regenerated 2000-08-13 20:27:39 +00:00
Mikael Djurfeldt
1fe16f927b Updated 2000-08-13 19:21:14 +00:00
Jim Blandy
a63812a2fe Talked to Stallman. Actually, the syntax-case copyright is no
problem.  Duh.
* Makefile.am (ice9_sources): Revert last change.
* syncase.scm, psyntax.pp, psyntax.ss: Added again.
* Makefile.in: Regeneretade.
1998-10-19 15:38:05 +00:00
Jim Blandy
9d1a28471c We can't include Kent Dybvig's syntax-case macro expander in the
core Guile distribution, because we don't have copyright
assignments for this code.  We can certainly distribute them as a
separate package, but Guile should be FSF code.
* syncase.scm, psyntax.pp, psyntax.ss: Removed.
* Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
psyntax.ss.
* Makefile.in: Regenerated.
* Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
* Makefile.in: Regenerated.
1998-10-19 13:43:50 +00:00
Mikael Djurfeldt
2c63000098 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
Should be used inside the (ice-9 syncase) module with (use-syntax
syncase) and with the current directory containing the psyntax.ss
source.
Added hack to transfer syntactic information from the builtin
variable `define' to the slib version if module (ice-9 slib) has
been loaded.
1997-09-10 20:09:31 +00:00
Mikael Djurfeldt
e9b7bb80d7 * psyntax.ss: Updated.
psyntax.pp: Bugfix: Previous version had some leading "t":s cut
off!
1997-09-03 19:32:26 +00:00
Mikael Djurfeldt
5fa781a092 * psyntax.pp: Removed leading blanks => 800K -> 100K. 1997-08-20 11:23:52 +00:00
Mikael Djurfeldt
4f9cefe3c3 Dybvig's version 1997-08-19 19:45:40 +00:00
Mikael Djurfeldt
ae11ddaef4 psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =. 1997-08-19 01:32:26 +00:00
Mikael Djurfeldt
230c435383 * syncase.scm: New file: Guile-adaption for syntax-case macros.
psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
1997-08-19 01:28:50 +00:00