Arithmetic evaluator for Guile

2010-03-20 Thread No Itisnt
Here's a little expression evaluator for Guile 1.9 using the new bytecode compiler. It does arithmetic, exponentiation, modulos, and equality tests. See the tests at the bottom for example expressions. This is probably the most dense Scheme program I've written and I would really appreciate a criti

Re: Need help to understand a macro

2010-03-20 Thread szgyg
Josef Wolf wrote: I am trying to understand the defstruct macro from the "teach yourself scheme in fixnum days" tutorial, which can be found in chapter 9 at http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-11.html#node_chap_9 My first question is of a more generic type. For a better u