Question About the Variable Allocator

2012-06-03 Thread Noah Lavine
Hello, I've always been puzzled about part of the variable allocator. In module/language/tree-il/analyze.scm, we deal with allocations, which are hash tables that say where in the stack each local variable goes. The maps are two level, symbol - {lambda - location}. The reason given is that

Re: %default-port-conversion-strategy and string ports

2012-06-03 Thread Daniel Krueger
Hey, I don't want to comment on what guile should choose to do in the future but just wanted to say which interface would be clear to me. In the first place I agree that ports should be seperated and not mixed textual/binary (mind, I know it may be that this can't be just changed that easily in

RTL Question

2012-06-03 Thread Noah Lavine
Hello, I've been playing around with the wip-rtl branch, and I have an error I don't understand. Why does this give me a bad instruction error: (use-modules (system vm rtl)) (define prog (assemble-rtl-program 2 '((assert-nargs-ee/locals 1 1) (mov 0 1 (prog 3) ? On a related note, I've been

Re: Question About the Variable Allocator

2012-06-03 Thread Andy Wingo
Hi Noah, On Sun 03 Jun 2012 16:20, Noah Lavine noah.b.lav...@gmail.com writes: I've always been puzzled about part of the variable allocator. In module/language/tree-il/analyze.scm, we deal with allocations, which are hash tables that say where in the stack each local variable goes. The maps

Re: RTL Question

2012-06-03 Thread Andy Wingo
On Sun 03 Jun 2012 16:58, Noah Lavine noah.b.lav...@gmail.com writes: I've been playing around with the wip-rtl branch, and I have an error I don't understand. Why does this give me a bad instruction error: (use-modules (system vm rtl)) (define prog (assemble-rtl-program 2

wip-rtl status

2012-06-03 Thread Andy Wingo
Hi, A brief status update on wip-rtl. If this means nothing to you, just skip this mail; at some point in the future there will be more information. I started to look at static constant allocation. In order to do so I needed an object format that could link together different sections with

Separate textual/binary ports vs. mixed ports

2012-06-03 Thread Ludovic Courtès
Hi, Daniel Krueger keen...@googlemail.com skribis: In the first place I agree that ports should be seperated and not mixed textual/binary Why? (I understand how this would work in terms of APIs co., I’m just unsure what the rationale is.) Thanks, Ludo’.