Discussion:
[gambit-list] cond-expand for separating compiled and interpreted code
Alex Queiroz
2018-05-25 08:16:30 UTC
Permalink
Hi all,

Is there a `cond-expand` feature only available when compiling with
`gsc`, or vice-versa, when interpreting with `gsi`?

Cheers,
--
-alex
http://unendli.ch/
Bill Six
2018-05-28 13:26:59 UTC
Permalink
Not sure if this applies, but

https://mercure.iro.umontreal.ca/pipermail/gambit-list/2012-April/005917.html

http://billsix.github.io/bug#_at_compile_time
Post by Alex Queiroz
Hi all,
Is there a `cond-expand` feature only available when compiling with
`gsc`, or vice-versa, when interpreting with `gsi`?
Cheers,
--
-alex
http://unendli.ch/
_______________________________________________
Gambit-list mailing list
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Sven Hartrumpf
2018-05-28 13:38:41 UTC
Permalink
Hi Alex.
Post by Alex Queiroz
Is there a `cond-expand` feature only available when compiling with
`gsc`, or vice-versa, when interpreting with `gsi`?
I found the definition of generate-cond-expand-features
in lib/_nonstd.scm .
There does not seem to be cond-expand feature identifier that
you can use.
Maybe it makes sense to introduce

gambit-gsc (or gambit-compiler)

and

gambit-gsi (or gambit-interpreter) ?

Ciao
Sven

Loading...