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

10 commits

Author SHA1 Message Date
Mikael Djurfeldt
86b96c166b * psyntax.ss: Added FSF copyright notice. Added a notice of
changes in order to comply with paragraph 2a of the GPL.
2001-03-08 18:05:39 +00:00
Mikael Djurfeldt
2a6ba08d36 * psyntax.ss (build-lexical-var): Use gentemp instead of gensym;
Convert first argument to a string.
2000-09-12 06:03:22 +00:00
Mikael Djurfeldt
fde75b7c8e * psyntax.ss (set!): Added generalized set! support to core syntax
form set!.
2000-08-24 00:16:17 +00:00
Mikael Djurfeldt
eaa6f703ea * psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
`(interaction-environment)' as second arg to `eval'.  This is
completely equivalent with the state before the change to eval of
2000-08-11, but we should extend psyntax.ss to be module aware.
(Thanks to Ian Bicking.)
2000-08-13 19:21:04 +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
7a0ff2f807 * * boot-9.scm (primitive-macro?): New procedure.
* slib.scm: Added hack which transfers syntactic information from
	the builtin variable `define' to the slib version if module (ice-9
	syncase) has been loaded.  This is necessary to get correct
	expansion inside the slib module.

	* psyntax.ss (build-let, build-named-let): New output
	constructors.
	(build-lexical-var): Seed gensym with symbolic name.
	(self-evaluating?): Add keywords among self-evaluating types.
	(let): New core form.
	(if): Removed from core language.
	(or, and, let, cond): Removed syntactic definitions.
	(sc-expand3): New procedure: Expander which takes optional mode
	and eval-syntactic-expanders-when arguments.

	* 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:07:04 +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
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