Hello.

The stalin.scm source file, from the stalin egg, starts with

   #+(not csi)
   (include "QobiScheme")
   (include "architectures.scm")

According to the manual,

   #+FEATURE EXPR

is the conditional expansion, a non-standard read syntax, and it is
equivalent to

   (cond-expand (FEATURE EXPR) (else))

Therefore the code above should be equivalent to

   (cond-expand
    ((not csi) (include "QobiScheme"))
    (else))

   (include "architectures.scm")

Is that right?

If so, maybe stalin.scm should not be implemented this way.

For what I understand, stalin is not supposed to be run from the Chicken
interpreter. So the conditional expand shoud avoid compiling the whole
file, no only the first include form.

Any comments?

José Romildo


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to