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

17263 commits

Author SHA1 Message Date
Neil Jerram
1bee0e70ca * Fix docstring texinfo warnings. 2000-09-22 13:40:12 +00:00
Keisuke Nishida
19a84b86bb *** empty log message *** 2000-09-22 11:08:28 +00:00
Keisuke Nishida
89a6e8f7f3 * src/vm_system.c (call): Call return-hook before reinstating a
continuation.
(tail_call): Call return-hook before a proper tail call.
2000-09-22 11:08:17 +00:00
Keisuke Nishida
dfa8d14a25 *** empty log message *** 2000-09-20 21:13:26 +00:00
Keisuke Nishida
38870b4313 * src/vm_system.c (br_if_not_null): Set ac = SCM_BOOL_F if not null. 2000-09-20 21:13:12 +00:00
Keisuke Nishida
62edbc2330 *** empty log message *** 2000-09-20 21:08:25 +00:00
Keisuke Nishida
628ef8663e * src/vm_number.c (FUNC2): New macro.
(add2, sub2): Use FUNC2.
(remainder): New instruction.
2000-09-20 21:08:12 +00:00
Keisuke Nishida
17a2034883 * vm/bytecomp.scm (translate-ref): Combined translate-local-ref,
translate-external-ref, and translate-top-level-ref.
(translate-set): Combined translate-local-set,
translate-external-set, and translate-top-level-ref.
Set a name to the object.
(translate-and, translate-or): Bug fixed.
2000-09-20 21:07:49 +00:00
Keisuke Nishida
3cdfcd54eb * vm/shell.scm (vm-frame->call): Updated. 2000-09-20 21:07:12 +00:00
Keisuke Nishida
4fdec843ed * src/vm_system.c (name): New instruction.
(savet): Don't set name.
2000-09-20 21:06:51 +00:00
Keisuke Nishida
e6db4668ea * src/vm.c (scm_name_property): New variable.
(scm_name, scm_set_name_x): New procedures.
(scm_smob_print_with_name, init_name_property): New functions.
(print_program, scm_program_name): Removed.
(init_program_type, init_vm_type): Use scm_smob_print_with_name.
(scm_init_vm): Call init_name_property.
2000-09-20 21:06:30 +00:00
Marius Vollmer
f7b0a8d1c6 *** empty log message *** 2000-09-20 21:06:06 +00:00
Marius Vollmer
dd47565aeb * numbers.c (scm_istr2flo): Throw an `out of range' error when
exponent is too large instead of returning `#f'.  The rationale is
that in this case the string represents a valid number but we
can't deal with it.
2000-09-20 21:04:19 +00:00
Mikael Djurfeldt
216b559acd *** empty log message *** 2000-09-20 16:56:21 +00:00
Mikael Djurfeldt
82b3d7781f * boot-9.scm: Removed comment. (Thanks to Brad Knotwell.) 2000-09-20 16:50:18 +00:00
Keisuke Nishida
467ab77eee *** empty log message *** 2000-09-20 16:31:15 +00:00
Keisuke Nishida
8f486fc76a Removed #include "libguile/environments.h", sorry.. 2000-09-20 16:31:04 +00:00
Keisuke Nishida
e4dba4c7a8 *** empty log message *** 2000-09-20 16:28:12 +00:00
Keisuke Nishida
b2eae655be * libguile.h: #include "libguile/environments.h" and "libguile/properties.h". 2000-09-20 16:28:00 +00:00
Keisuke Nishida
a290fe7e0d *** empty log message *** 2000-09-20 09:29:31 +00:00
Keisuke Nishida
6b81b7ae00 * src/vm_scheme.c (cons): Bug fixed.
* src/vm_system.c (br_if_null): Set ac = SCM_BOOL_T if null.
2000-09-20 09:29:18 +00:00
Dirk Herrmann
0f8c9efa58 * Make sure that symbol properties initially form an empty list. 2000-09-20 09:27:06 +00:00
Dirk Herrmann
5a2a5407e8 * Added a comment suggesting to rename scm_handle_by_message.
* When compiling on gcc, always avoid the GCSE bug.
* Removed some redundant tests.
2000-09-19 10:56:57 +00:00
Marius Vollmer
e621f2b022 *** empty log message *** 2000-09-17 21:22:31 +00:00
Marius Vollmer
49dd8ff330 * configure.in: Check for curses, terminfo and termlib libraries
in addition to ncurses and termcap.
Check for `readline' in libreadline, not for `main'.
Thanks to Albert Chin!
2000-09-17 21:16:18 +00:00
Gary Houston
45605b53fb *** empty log message *** 2000-09-17 09:25:12 +00:00
Gary Houston
bdbfbbfb86 2000-09-17 Gary Houston <ghouston@arglist.com>
* configure.in, acconfig.h: remove the GCSE test: it doesn't seem
	to be reliable on all platforms.
2000-09-17 09:24:47 +00:00
Gary Houston
57b74422f6 *** empty log message *** 2000-09-14 22:43:48 +00:00
Michael Livshin
b1824fc459 *** empty log message *** 2000-09-12 18:18:39 +00:00
Mikael Djurfeldt
0282123991 *** empty log message *** 2000-09-12 17:01:10 +00:00
Mikael Djurfeldt
1e1384f0bc * symbols.c (duplicate_string): Don't try to copy the byte after
the string.  This might not be `\0' and might even not be
allocated memory.
2000-09-12 17:00:57 +00:00
Dirk Herrmann
8e93e199f8 * Redundant SCM_IMP test removed. 2000-09-12 12:50:13 +00:00
Dirk Herrmann
415052599e * Tests that rely on garbage collection: Be aware of conservative scanning. 2000-09-12 12:42:51 +00:00
Dirk Herrmann
28b06554ca * Unified ssymbols and msymbols to a single symbol type 'scm_tc7_symbol'.
* Added scm_string_hash and deprecated scm_strhash.
2000-09-12 12:30:36 +00:00
Dirk Herrmann
a5b265e3f9 * Eliminate use of low-level symbol property function. 2000-09-12 10:34:09 +00:00
Mikael Djurfeldt
477c9802af Regenerated 2000-09-12 06:04:06 +00:00
Mikael Djurfeldt
0eee446642 *** empty log message *** 2000-09-12 06:03:37 +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
a86869dc59 * oldprint.scm (print-table-add!): Ditto. 2000-09-12 05:45:48 +00:00
Mikael Djurfeldt
b68c1eed74 * calling.scm (excursion-function-syntax,
getter-and-setter-syntax,
delegating-getter-and-setter-syntax): Call gensym with string
argument.  (Thanks to Dale P. Smith.)
2000-09-12 05:45:37 +00:00
Mikael Djurfeldt
484cd65682 * boot-9.scm (gentemp): Moved to symbols.c. 2000-09-12 05:45:26 +00:00
Mikael Djurfeldt
302f229e58 *** empty log message *** 2000-09-12 05:44:34 +00:00
Mikael Djurfeldt
5382d876c8 * symbols.h (scm_gentemp): Declared. 2000-09-12 05:44:12 +00:00
Mikael Djurfeldt
e1313058e1 * symbols.c (scm_gensym): Reimplemented. Now only takes one
optional argument which should be a *string*.
(scm_gentemp): Reimplemented and moved from boot-9.scm.
2000-09-12 05:44:00 +00:00
Keisuke Nishida
1304f8b274 *** empty log message *** 2000-09-11 09:18:59 +00:00
Keisuke Nishida
a4908d56f4 * autogen.sh: Run aclocal with check where guile.m4 is installed. 2000-09-11 09:18:49 +00:00
Keisuke Nishida
307bd0a794 *** empty log message *** 2000-09-10 22:36:39 +00:00
Keisuke Nishida
2640369017 * src/vm_system.c (push_list): New instruction.
* src/vm_engine.c (VM_NAME): Don\'t validate VM and PROGRAM.
* src/vm.c (scm_vm_apply): New procedure.
(apply_program): New function.
(init_program_type): Set the apply function for the program type.

* src/vm.c (lookup_variable): Use scm_eval_closure_lookup.
2000-09-10 22:36:28 +00:00
Keisuke Nishida
5bcdfa2ea8 *** empty log message *** 2000-09-10 22:22:48 +00:00
Keisuke Nishida
fb43bf74e2 * modules.c: Use applicable smobs for eval closures instead of
compiled closures.  Include "libguile/smob.h".
(f_eval_closure): Removed.
(scm_eval_closure_tag): New variable.
(scm_eval_closure_lookup): Renamed from eval_closure.
This function now takes a smob instead of a compiled closure.
(scm_standard_eval_closure): Create a smob instead of a compiled
closure.
(scm_init_modules): Initialize the eval closure type as a smob.
* modules.h (SCM_EVAL_CLOSURE_P): New macro.
(scm_eval_closure_tag, scm_eval_closure_lookup): Declare.
* symbols.c: Include "libguile/smob.h".
(scm_sym2vcell): Call scm_eval_closure_lookup directly if THUNK
is an eval closure.
2000-09-10 22:22:36 +00:00