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

8995 commits

Author SHA1 Message Date
Marius Vollmer
8b31d75b34 (scm_compile_shell_switches): Use scm_c_read_string for the "-e"
option instead of scm_str2symbol.  This allows things like (@ ...) to
be specified for the entry point.
2003-11-17 00:22:18 +00:00
Marius Vollmer
c62a38765d (scm_lreadr): detect EOF after backslash, and interpret \xNN
hexadecimal sequences.  From Paul Jarc, thanks!
2003-11-16 21:01:57 +00:00
Marius Vollmer
59e8c5a3e9 *** empty log message *** 2003-11-16 20:55:04 +00:00
Dirk Herrmann
37f5dfe533 * boot-9.scm: Started comment about module system workings. 2003-11-16 13:54:26 +00:00
Dirk Herrmann
461bffb131 * eval.c (scm_m_letstar): Create memoized code in place to
minimize consing.
2003-11-16 13:32:02 +00:00
Dirk Herrmann
6f81708ae0 * eval.c (s_splicing): Commented and reformulated.
(lookup_global_symbol, lookup_symbol): New static functions.

	(s_test, s_bindings, s_duplicate_bindings, s_variable): Removed.

	(try_macro_lookup, literal_p): Use lookup_symbol instead of
	creating a temporary pair for scm_lookupcar.

	(scm_unmemocar, unmemocar): Renamed scm_unmemocar to unmemocar,
	created deprecated wrapper function scm_unmemocar.

	(SCM_VALIDATE_NON_EMPTY_COMBINATION, scm_sym_else,
	scm_sym_unquote, scm_sym_uq_splicing, scm_sym_enter_frame,
	scm_sym_apply_frame, scm_sym_exit_frame, scm_sym_trace, f_apply,
	undefineds, sym_three_question_marks): Moved around without
	modifications.

	* eval.c, eval.h (scm_macroexp, scm_unmemocar): Deprecated.
2003-11-16 10:47:45 +00:00
Dirk Herrmann
910b512506 * eval.c (try_macro_lookup, expand_user_macros, is_system_macro_p,
m_expand_body, scm_m_expand_body): Grouped together with m_body.
	No further modifications.
2003-11-15 12:43:00 +00:00
Dirk Herrmann
c86c440b17 * libguile/eval.c (s_mixed_body_forms): New static identifier.
(canonicalize_define, scm_m_define): The check for a bad
	expression is performed in canonicalize_define now.

	(try_macro_lookup, expand_user_macros, is_system_macro_p): New
	static helper functions for m_expand_body.

	(m_expand_body): Use ASSERT_SYNTAX to signal syntax errors.  Only
	expand user defined macros.  Fixed handling of the definition/
	expression boundary.  Fixed handling of definitions grouped with
	'begin.  Use canonicalize_define to expand definitions.

	* test-suite/tests/syntax.test: Tests that check for the correct
	handling of internal defines with begin work now.
2003-11-15 12:27:54 +00:00
Dirk Herrmann
c3d948015a * tests/syntax.test: Fixed test that checks for the correct
handling of macros in the context of internal defines.
2003-11-15 11:51:17 +00:00
Kevin Ryde
c4a56a692d *** empty log message *** 2003-11-14 21:36:18 +00:00
Kevin Ryde
2a71634743 Use (test-suite lib), for the benefit of standalone execution. 2003-11-14 21:34:21 +00:00
Kevin Ryde
08134d1d76 *** empty log message *** 2003-11-14 21:27:36 +00:00
Kevin Ryde
1028fcb2cf (Cross building Guile): Describe GUILE_FOR_BUILD rather than
--with-guile-for-build.
2003-11-14 21:27:11 +00:00
Kevin Ryde
8868e47232 *** empty log message *** 2003-11-14 20:53:57 +00:00
Kevin Ryde
6deea00ef3 (Random): Add *random-state* variable, put note at
the top of the node about it being the default, rather than just in
the description of random.
2003-11-14 20:53:22 +00:00
Kevin Ryde
89f69c5252 (--with-guile-for-build): Remove this option, it's not normal style for --with.
(GUILE_FOR_BUILD): Use AC_ARG_VAR.
2003-11-14 20:51:22 +00:00
Marius Vollmer
96e0538252 (Manual Layout): Wrap POSIX, API, and SLIB in @acronym. Change from
paragraph format (somewhat clumsy-looking on paper, at least) to
@table format, with headers @strong.  Made example modules complete
sentences.  From Stephen Compall, thanks!
2003-11-13 20:46:48 +00:00
Marius Vollmer
5df36eac84 *** empty log message *** 2003-11-13 19:41:12 +00:00
Marius Vollmer
94e38a653a (SCM_SMOB, SCM_GLOBAL_SMOB, SCM_SMOB_MARK, SCM_GLOBAL_SMOB_MARK,
SCM_SMOB_FREE, SCM_GLOBAL_SMOB_FREE, SCM_SMOB_PRINT,
SCM_GLOBAL_SMOB_PRINT, SCM_SMOB_EQUALP, SCM_GLOBAL_SMOB_EQUALP,
SCM_SMOB_APPLY, SCM_GLOBAL_SMOB_APPLY): New macros from Paul Jarc.
Thanks!
2003-11-13 19:40:29 +00:00
Marius Vollmer
dd6f4cff17 *** empty log message *** 2003-11-13 18:45:12 +00:00
Marius Vollmer
b8d889443e (scm_get_stack_base): Provide a definition that return NULL when the
machine type is unknown.  Previously, gc_os_dep.c would refuse to
compile.
2003-11-13 18:44:29 +00:00
Marius Vollmer
3890131acd *** empty log message *** 2003-11-13 18:23:06 +00:00
Marius Vollmer
fbff94c9c3 (scm_get_stack_base): Provide a definition that return NULL when the
machine type is unknown.  Previously, gc_os_dep.c would refuse to
compile.
2003-11-13 18:19:02 +00:00
Neil Jerram
eeac938c7c Addition to .cvsignore. 2003-11-11 23:47:56 +00:00
Neil Jerram
e707c78b4b Lots of ongoing development. 2003-11-11 23:40:38 +00:00
Neil Jerram
d995da7f2a Changes to build and install files in emacs subdir. 2003-11-11 23:34:01 +00:00
Neil Jerram
32ac6ed12f Moved all gds files here; plus ongoing work on them. 2003-11-11 23:30:06 +00:00
Neil Jerram
30d90280a4 ui- to gds- change; debug-on-error fix. 2003-11-11 23:27:22 +00:00
Neil Jerram
3273abd221 Removed ui-client.scm and ui-server.scm (not in emacs/gds-*.scm). 2003-11-11 23:21:39 +00:00
Neil Jerram
61bb5df48c Pass trap type to debug-stack flags. 2003-11-11 23:17:06 +00:00
Neil Jerram
9529c681ed Big comment added. 2003-11-11 23:12:48 +00:00
Neil Jerram
651f2c7854 Avoid duplicate binding warnings from (lang elisp) modules. 2003-11-11 23:09:23 +00:00
Dirk Herrmann
560434b369 * tests/optargs.test: Wrap tests in module (test-suite
test-<file-name without .test>).  Rewrite test to be R5RS
	conforming.

	* tests/syntax.test: Added test to check correct handling of
	internal defines.
2003-11-09 19:07:41 +00:00
Dirk Herrmann
430b840193 * eval.c (scm_m_body, m_body, scm_m_lambda, memoize_named_let,
scm_m_let, scm_m_letrec, m_expand_body): Renamed static function
	scm_m_body to m_body.
2003-11-09 08:47:19 +00:00
Dirk Herrmann
328dc9a3ef * eval.c, eval.h (scm_m_expand_body, m_expand_body): Deprecated
public use of scm_m_expand_body in eval.h.  In eval.c, renamed
	scm_m_expand_body to m_expand_body and made it static.  Added
	deprecated wrapper scm_m_expand_body.

	(scm_eval_body, SCM_CEVAL, SCM_APPLY): Use m_expand_body instead
	of scm_m_expand_body.
2003-11-09 08:10:58 +00:00
Kevin Ryde
8cd1f2452e *** empty log message *** 2003-11-08 22:21:34 +00:00
Kevin Ryde
c3b5e1988c (scm_dynamic_unlink): Need scm_list_1 on error message
argument.  Reported by Mike Gran.
2003-11-08 22:20:54 +00:00
Kevin Ryde
c2337a6178 *** empty log message *** 2003-11-08 22:19:24 +00:00
Kevin Ryde
4d3526d096 Add a copyright year. 2003-11-08 22:18:33 +00:00
Kevin Ryde
9e37591017 (scm_dynamic_unlink): Need scm_list_1 on error message
argument.  Reported by Mike Gran.
2003-11-08 22:18:01 +00:00
Kevin Ryde
60e25dc4cd * srfi-modules.texi (SRFI-1 Filtering and Partitioning): Move filter
and filter! ...
	* scheme-compound.texi (List Modification): ... to here, now that
	they're implemented in the core.
2003-11-08 22:15:07 +00:00
Kevin Ryde
385dbc8b9c (Pretty Printing): Add new keyword options, break example to avoid long line. 2003-11-08 22:07:50 +00:00
Kevin Ryde
a95da9fa74 *** empty log message *** 2003-11-08 20:33:54 +00:00
Kevin Ryde
b31e7af567 (Random): In random, use @code for *random-state*.
Reported by Stephen Compall.
2003-11-08 20:33:18 +00:00
Kevin Ryde
a07b5c18cb *** empty log message *** 2003-11-08 20:29:24 +00:00
Kevin Ryde
f4de8d110e (Random): In random, use @code for *random-state*.
Reported by Stephen Compall.
2003-11-08 20:27:41 +00:00
Dirk Herrmann
ced8edb0f9 * libguile/eval.c (s_missing_body_expression): New static identifier.
(s_body): Removed.

	(scm_m_expand_body): Fixed core dump when passing a body with
	defines, but without expressions (see additions to syntax.test).
	Use ASSERT_SYNTAX to signal syntax errors.

	* test-suite/tests/syntax.test (exception:missing-body-expr): New.

	Renamed section 'define' to 'top-level define' and added a new
	section 'internal define' with some tests.
2003-11-08 08:11:14 +00:00
Kevin Ryde
a5fda890f5 *** empty log message *** 2003-11-03 00:55:47 +00:00
Kevin Ryde
e1bc8c34d3 * misc-modules.texi (File Tree Walk): New chapter.
* guile.texi: Add it.
2003-11-03 00:53:08 +00:00
Kevin Ryde
6da1534c0b * misc-modules.texi (File Tree Walk): New chapter. 2003-11-03 00:52:32 +00:00