Keisuke Nishida
4b482259c3
Indirect threaded. Performance is the same as before. Wow\!
2000-09-27 23:29:45 +00:00
Keisuke Nishida
04666c260c
* src/vm.c: SCM_CHARS -> SCM_SYMBOL_CHARS.
2000-09-22 17:38:36 +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
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
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
d608d68d7b
Create external frames dynamically.
2000-08-22 19:02:22 +00:00
Keisuke Nishida
a98cef7e6c
Initial revision
2000-08-22 15:54:19 +00:00