any testing of guile with clang on linux?

2016-10-20 Thread Jack Howarth
  Since the OS X 10.9 release which introduced thread-local storage
support in clang on darwin. two failures have occurred on darwin in
the guile 2.0.x test suite

FAIL: srfi-18.test: thread-terminate!: termination destroys non-started thread
FAIL: srfi-18.test: thread-terminate!: termination destroys started thread

Has anyone tried building guile 2.0.x on linux with a recent clang
release and confirmed clean test suite results? If not, could someone
with a recent clang on linux try building guile 2.0.13 and run make
check to confirm those failures aren't present? Thanks in advance.
 Jack



JIT compilation with callbacks into Scheme

2016-10-20 Thread Jan Wedekind

Hi,
  I managed to implement JIT compilation of method calls into the Guile 
interpreter (AIscm 0.8.2 [1]):


(use-modules (oop goops) (aiscm sequence) (aiscm obj) (aiscm jit))
(<< 1 (* 10 (seq  1 2 4 8)))
;#>:
;(1024 1048576 1099511627776 1208925819614629174706176)

  Types can also be composed using Scheme objects:

(use-modules (oop goops) (aiscm sequence) (aiscm obj) (aiscm complex) 
(aiscm jit))
(* (seq (complex ) 1+2i 3+4i) 5)
;#>>:
;(5.0+10.0i 15.0+20.0i)

  In the same way native types can be composed:

(use-modules (oop goops) (aiscm sequence) (aiscm rgb) (aiscm int) (aiscm 
jit))
(make (multiarray (rgb (integer 8 unsigned)) 2) #:shape '(3 2))
;#:
;(((rgb 160 85 191) (rgb 10 0 0) (rgb 0 0 0))
; ((rgb 0 0 0) (rgb 0 0 0) (rgb 0 0 0)))

Let me know if you have any suggestions or comments.

Regards
Jan

[1] http://wedesoft.github.io/aiscm/