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

1088 commits

Author SHA1 Message Date
Marius Vollmer
99a34d6e6a (try-load-module): Bracket calls to try-module-linked
and try-module-dynamic-link with `begin-deprecated'.
(split-c-module-name, convert-c-registered-modules,
registered-modules, register-modules, warn-autoload-deprecation,
init-dynamic-module, dynamic-maybe-call, dynamic-maybe-link,
find-and-link-dynamic-module, try-using-libtool-name,
try-using-sharlib-name, link-dynamic-module, try-module-linked,
try-module-dynamic-link): Deprecated.  Activate deprecation
message.
2001-06-03 01:02:53 +00:00
Marius Vollmer
b0c16cd922 *** empty log message *** 2001-06-02 18:35:28 +00:00
Marius Vollmer
c0017a49a5 (psyntax.pp): Make it dependent on psyntax.ss and
fix command so that it works.
2001-06-02 18:34:22 +00:00
Marius Vollmer
9540368e79 (module-ensure-variable!): New.
(module-export!): Use it to ensure that there is a variable to
export.  Previously, we would always create a new variable, copy
the value over, and export the new variable.  This confused
syncase since it keys important properties on variables.
2001-06-02 18:33:25 +00:00
Marius Vollmer
aef9dd6536 (apropos-fold, submodules, apropos): Be careful not
to access unbound variables.
2001-06-02 18:32:03 +00:00
Marius Vollmer
63b62b733d *** empty log message *** 2001-06-01 20:15:49 +00:00
Marius Vollmer
532cf805db (resolve-interface): Expect keyword arguments instead of a `spec'.
(compile-interface-spec, compile-define-module-args): New.
(define-module): Use compile-define-module-args to construct
argument for process-define-module.
(use-modules, use-syntax): Use compile-interface-spec to construct
arguments for process-use-modules.
(process-define-module): Expect keywords in argument list.
2001-06-01 20:15:10 +00:00
Marius Vollmer
05c64f524e *** empty log message *** 2001-06-01 14:01:44 +00:00
Marius Vollmer
615bfe7277 (top-repl): Revert part of the 2001-05-19 change.
When defining the guile-user module, do not use any modules.  Add
them to guile-user when `top-repl' is called.
2001-06-01 14:01:27 +00:00
Marius Vollmer
f4e0611e99 *** empty log message *** 2001-05-25 13:22:14 +00:00
Marius Vollmer
21a10205ed (generic-write): Return the `unspecified' value. 2001-05-25 13:20:41 +00:00
Marius Vollmer
9f79272ab3 (cond-expand): Define using
`procedure->memoizing-macro' to get at the lexical environment.
Use `env-module' instead of `current-module' to get the right
module.
2001-05-25 13:18:52 +00:00
Marius Vollmer
0120801d39 *** empty log message *** 2001-05-25 00:19:52 +00:00
Marius Vollmer
b337528fb5 * Makefile.am (ice9_sources): Added "pretty-print.scm".
* pretty-print.scm: New file, copied from SLIB.
* format.scm: Autoload `pretty-print'.
2001-05-25 00:15:32 +00:00
Martin Grabmüller
b9b8f9da60 * boot-9.scm (%cond-expand-table): New hash table mapping modules
to feature lists.
	(cond-expand): Use feature information associated with modules.

	* boot-9.scm (use-srfis): Do not extend the srfi-0 feature list.
	(cond-expand-provide): New procedure.
2001-05-23 05:08:17 +00:00
Marius Vollmer
a6219f222c *** empty log message *** 2001-05-22 22:47:02 +00:00
Marius Vollmer
25afac9812 (define-module): Return the new module. (process-define-module): Use
`spec' instead of `module-name' when getting the syntax transformer.
2001-05-22 22:45:13 +00:00
Marius Vollmer
bab34d2a6f *** empty log message *** 2001-05-21 13:22:44 +00:00
Marius Vollmer
eee58958bb (use-syntax): Do not set scm:eval-transformer when
deprecated features have been removed.  Thanks to Dale P. Smith!
2001-05-21 13:19:40 +00:00
Marius Vollmer
311b6a3cb1 *** empty log message *** 2001-05-20 23:42:00 +00:00
Marius Vollmer
33485be9b6 (#\&): Use `issue-deprecation-warning' instead of
`display'.
2001-05-20 23:37:42 +00:00
Marius Vollmer
e4e1ea73f3 *** empty log message *** 2001-05-19 01:32:02 +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
Marius Vollmer
d866f4455b (process-define-module): Do not call
set-current-module.
(define-module): Do it here, in the expansion.
(top-repl): Do not define '(guile-user)' module and conditionally
load `(ice-9 threads)' and/or `(ice-9 regex)' here.  Do it on
top-level as the last thing in boot-9.scm instead.
(%load-path): Use `list' instead of `cons' to create a single
element list when adding "." to it.
(process-define-module, process-use-modules, module-export!): Add
dummy definitions prior to booting the mdule system.
2001-05-19 01:30:02 +00:00
Marius Vollmer
43fd440257 Call `%init-rdelim-builtins'. 2001-05-19 00:28:06 +00:00
Marius Vollmer
a0c32266ce Call `%init-rw-builtins'. 2001-05-19 00:25:04 +00:00
Thien-Thi Nguyen
d28690d78a *** empty log message *** 2001-05-18 17:30:58 +00:00
Thien-Thi Nguyen
f8a502cb72 (resolve-interface, use-srfis): Small cleanup; nfc.
(process-define-module): Internal proc `unrecognized'
now accepts arg; update callers.
Reverse order of interfaces added to module to be
consistent with that specified in `define-module' form.
2001-05-18 17:28:03 +00:00
Thien-Thi Nguyen
3125fbe050 *** empty log message *** 2001-05-18 17:12:37 +00:00
Thien-Thi Nguyen
1de3b33b0b (help-usage): Mention support for "(help 'NAME)". 2001-05-18 17:10:42 +00:00
Thien-Thi Nguyen
d58f1edfad *** empty log message *** 2001-05-18 17:07:48 +00:00
Thien-Thi Nguyen
de25f281fd (help): Use provided?' instead of feature?'.
Factor "TYPE not found for X" output into internal proc.
Support `(quote SYMBOL)'; call `search-documentation-files'.
(help-doc): If initial search fails, try using
`search-documentation-files'.
(apropos-fold-accessible, apropos-fold-all): Use `identity'
instead of `(lambda (x) x)'.  "An identity edit", ha ha.
2001-05-18 17:05:06 +00:00
Thien-Thi Nguyen
adcbdb1687 *** empty log message *** 2001-05-18 16:34:25 +00:00
Thien-Thi Nguyen
115d80dc97 Fix documentation for Guile Documentation Format Version 2:
Mention required terminating newlines.

(find-documentation): Delete.
(search-documentation-files): New proc, exported.
(object-documentation): Use `search-documentation-files'.
2001-05-18 16:30:59 +00:00
Martin Grabmüller
f41be016f6 * boot-9.scm (cond-expand-features): Made the feature list public,
so it can be manipulated by `use-srfis'.
	(use-srfis): New procedure.
2001-05-15 20:20:51 +00:00
Thien-Thi Nguyen
7dfc3d0f56 *** empty log message *** 2001-05-15 19:38:57 +00:00
Thien-Thi Nguyen
b622dec753 (resolve-interface): Signal error now also if used module's
public interface is not available.
No longer call `beautify-user-module!'.
Signal error now also if selected binding not found.
2001-05-15 19:33:43 +00:00
Marius Vollmer
f3f9dcbc5d *** empty log message *** 2001-05-15 15:00:31 +00:00
Marius Vollmer
296ff5e78b Merged from mvo-vcell-cleanup-1-branch. 2001-05-15 14:59:42 +00:00
Marius Vollmer
11bbab474a *** empty log message *** 2001-05-15 00:54:23 +00:00
Marius Vollmer
5f89fb1313 (error-catching-repl): Call the E
("eval'er") procedure via call-with-values and call the P
("printer") for each produced value.  Thanks to Matthias Köppe!
2001-05-15 00:51:06 +00:00
Martin Grabmüller
1d00af09c7 * boot-9.scm (cond-expand): Reduce feature list to built-in
features.
2001-05-14 19:09:50 +00:00
Dirk Herrmann
5cd06d5eaa * Deprecated some definitions.
* Minor fixes.
2001-05-14 16:38:08 +00:00
Martin Grabmüller
7f24bc58dc * boot-9.scm: Added `cond-expand' (SRFI-0) for portable feature
checking.
2001-05-11 05:41:03 +00:00
Thien-Thi Nguyen
7787297b59 *** empty log message *** 2001-05-10 22:03:48 +00:00
Thien-Thi Nguyen
fb1b76f432 (resolve-module): Abstraction maintenance: Use
`module-public-interface'.
(resolve-module): Extend to handle selection and renaming in spec.
Arg is now `spec' which can be a simple module name (list of symbols)
or a interface spec.
(symbol-prefix-proc): New proc.
(process-define-module): Use "define-module" in error messages
instead of "defmodule".  Factor error into internal proc.
Rewrite `use-module' and `use-syntax' handlers.
Replace some single-arm `if-not' constructs w/ `or'.
(process-use-modules): Arg is now `module-interface-specs',
which is passed through to `resolve-interface' as before; nfc.
(named-module-use!, top-repl): Abstraction maintenance: Use `provided?'.
2001-05-10 22:00:22 +00:00
Thien-Thi Nguyen
7874f3d000 *** empty log message *** 2001-05-06 10:05:35 +00:00
Thien-Thi Nguyen
64705682dd Update copyright.
Surround commentary w/ standard markers; nfc.
2001-05-06 09:40:32 +00:00
Thien-Thi Nguyen
2b1621ac77 Update copyright.
Fix commentary typo; nfc.
2001-05-06 09:26:16 +00:00
Rob Browning
677cd590ad * psyntax.ss: make sure emacs knows it's scheme code. 2001-05-06 03:29:52 +00:00