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

33 commits

Author SHA1 Message Date
Keisuke Nishida
04666c260c * src/vm.c: SCM_CHARS -> SCM_SYMBOL_CHARS. 2000-09-22 17:38:36 +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
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
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
4405d598ef *** empty log message *** 2000-09-04 01:47:25 +00:00
Keisuke Nishida
e6d41cdd75 * src/vm_system.c (tail_call): Use SCM_TICK at the beginning. 2000-09-04 01:47:10 +00:00
Keisuke Nishida
af8978be74 *** empty log message *** 2000-09-02 07:00:02 +00:00
Keisuke Nishida
382693febf * src/vm_engine.c (VM_NAME): Renamed the variable an\' to nargs\'.
Removed the variables `a2\' and `a3\'.
* src/vm_engine.h (VM_SETUP_ARGS2, VM_SETUP_ARGS3): Setup local
variables.
(VM_SETUP_ARGS4): Removed.
* src/vm_system.c, src/vm_scheme.c, src/vm_number.c: Updated.
2000-09-02 06:59:13 +00:00
Keisuke Nishida
12f9da005e *** empty log message *** 2000-08-25 02:31:43 +00:00
Keisuke Nishida
9df03fd0c1 * src/vm.c (lookup_variable): New function.
(scm_make_bytecode): Call lookup_variable for top-level variables.
* src/vm_engine.h (VM_VARIABLE_REF, VM_VARIABLE_SET): New macros.
* src/vm_system.c (TOPLEVEL_VAR, TOPLEVEL_VAR_SET): Removed.
Use VM_VARIABLE_REF and VM_VARIABLE_SET instead.
2000-08-25 02:31:26 +00:00
Keisuke Nishida
db7880185f *** empty log message *** 2000-08-22 19:03:57 +00:00
Keisuke Nishida
d545b41973 Use frame-external-link. 2000-08-22 19:03:32 +00:00
Keisuke Nishida
d608d68d7b Create external frames dynamically. 2000-08-22 19:02:22 +00:00
Keisuke Nishida
dbb74d8137 (compile-file): Output "(use-modules (vm vm))". 2000-08-22 18:44:19 +00:00
Keisuke Nishida
b1637a1ebd (make-code): Check argument types.
(make-code:and, make-code:or): Pass env to make-code.
2000-08-22 18:27:31 +00:00
Keisuke Nishida
e54350691e (translate-and, translate-or): Don't branch on the last expression. 2000-08-22 18:25:36 +00:00
Keisuke Nishida
fd329e8725 types.scm (env-variable-address): Reverted the last change. 2000-08-22 17:39:49 +00:00
Keisuke Nishida
307cdcf0d0 Add guile-compile. 2000-08-22 16:02:45 +00:00
Keisuke Nishida
08d4430d38 Initial import. 2000-08-22 16:01:18 +00:00
Keisuke Nishida
a98cef7e6c Initial revision 2000-08-22 15:54:19 +00:00