[gambit-list] Universal backend progress

Ben ben at srctxt.com
Mon Apr 6 13:37:50 EDT 2020


Hi

> The universal backend is sufficiently feature-full to compile the gsi interpreter and builtin modules and support the module system and dynamically loading compiled modules:

Wow thats great, I very much looked forward to this!

The js target runs fine on my machine, the python target not:

% gsi/gsi-python lib/ _test/test

gsi/gsi-python lib/ _test/test
Traceback (most recent call last):
  File "gsi/gsi-python", line 983046, in <module>
    g_module_register([[g_make_interned_symbol("_gambit")],[],g_null_obj,1,g_bb1___gambit_23_,False])
  File "gsi/gsi-python", line 744, in g_module_register
    g_trampoline(g_module_table[0][4])
  File "gsi/gsi-python", line 549, in g_trampoline
    pc = pc()
  File "gsi/gsi-python", line 832658, in g_bb79__23__23_default_2d_path_2d_expand
    return g_bb80__23__23_default_2d_path_2d_expand()
  File "gsi/gsi-python", line 832628, in g_bb80__23__23_default_2d_path_2d_expand
    return g_stack[g_sp+1]()
  File "gsi/gsi-python", line 825016, in g_bb3__23__23_file_2d_info_2d_aux
    return g_bb6__23__23_file_2d_info_2d_aux()
  File "gsi/gsi-python", line 825041, in g_bb6__23__23_file_2d_info_2d_aux
    return g_bb1__23__23_os_2d_file_2d_info()
  File "gsi/gsi-python", line 49501, in g_bb1__23__23_os_2d_file_2d_info
    g_r1 = g_file_info(g_r1, g_scm2host(g_r2), g_scm2host(g_r3))
  File "gsi/gsi-python", line 9445, in g_file_info
    fi.slots[ 3] = g_host2scm(st.st_ino)
  File "gsi/gsi-python", line 443, in g_host2scm
    raise Exception("host2scm error")
Exception: host2scm error

python -V
Python 2.7.16

python3 -V
Python 3.7.7

sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.15.4





More information about the Gambit-list mailing list