Hi,
Looks like 90 minute scheme to C compiler does not work with new gambit - all's well until code-gen. At code gen, it appears that extra round brackets are emitted when we use new gambit. I am managing with 4.0 for now - I've gone through the CPS conversion and closure conversion (the video helped a lot). I am now going through code generation.
Sharing it just in case its a trivial something I need to do to get it working with new gambit...
Regards, Kashyap
Afficher les réponses par date
The behavior of “display” was different for a few versions of Gambit, so you may need to adapt to that.
Brad
On Jan 19, 2017, at 9:59 PM, C K Kashyap ckkashyap@gmail.com wrote:
Hi,
Looks like 90 minute scheme to C compiler does not work with new gambit - all's well until code-gen. At code gen, it appears that extra round brackets are emitted when we use new gambit. I am managing with 4.0 for now - I've gone through the CPS conversion and closure conversion (the video helped a lot). I am now going through code generation.
Sharing it just in case its a trivial something I need to do to get it working with new gambit...
Regards, Kashyap _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
C K, exact code example please.
2017-01-20 10:59 GMT+08:00 C K Kashyap ckkashyap@gmail.com:
Hi,
Looks like 90 minute scheme to C compiler does not work with new gambit - all's well until code-gen. At code gen, it appears that extra round brackets are emitted when we use new gambit. I am managing with 4.0 for now
- I've gone through the CPS conversion and closure conversion (the video
helped a lot). I am now going through code generation.
Sharing it just in case its a trivial something I need to do to get it working with new gambit...
Regards, Kashyap
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Replace the last display by print, i.e. (display code) should be (print code). In older versions of Gambit display behaved like print, now it is like write but does not show doublequotes and escapes when printing strings (for compatibility with other Scheme systems).
Marc
On Jan 19, 2017, at 10:06 PM, Adam adam.mlmb@gmail.com wrote:
C K, exact code example please.
2017-01-20 10:59 GMT+08:00 C K Kashyap ckkashyap@gmail.com: Hi,
Looks like 90 minute scheme to C compiler does not work with new gambit - all's well until code-gen. At code gen, it appears that extra round brackets are emitted when we use new gambit. I am managing with 4.0 for now - I've gone through the CPS conversion and closure conversion (the video helped a lot). I am now going through code generation.
Sharing it just in case its a trivial something I need to do to get it working with new gambit...
Regards, Kashyap
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
super! Regards, Kashyap
On Thu, Jan 19, 2017 at 7:20 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
Replace the last display by print, i.e. (display code) should be (print code). In older versions of Gambit display behaved like print, now it is like write but does not show doublequotes and escapes when printing strings (for compatibility with other Scheme systems).
Marc
On Jan 19, 2017, at 10:06 PM, Adam adam.mlmb@gmail.com wrote:
C K, exact code example please.
2017-01-20 10:59 GMT+08:00 C K Kashyap ckkashyap@gmail.com: Hi,
Looks like 90 minute scheme to C compiler does not work with new gambit
- all's well until code-gen. At code gen, it appears that extra round
brackets are emitted when we use new gambit. I am managing with 4.0 for now
- I've gone through the CPS conversion and closure conversion (the video
helped a lot). I am now going through code generation.
Sharing it just in case its a trivial something I need to do to get it
working with new gambit...
Regards, Kashyap
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list