Re: progress with native code generation in guile
Hi Stefan! This sounds fun! Similarly, there’s the old Guile-Lightning, which could achieve something similar, albeit in an abstract ISA and not entirely in Scheme. Might be worth a look. Thanks, Ludo’.
progress with native code generation in guile
Hi, On linux, x86-64 I can now write, (use-modules (native aschm)) (define b (asm (inst mov rbx 10) ;rbx = 1000,000,000 loop: (inst cmp rbx 0) (inst jmp #:eq out:) (inst dec rbx) (inst jmp loop:) out: