I am hoping to re-familiarize myself with Scheme and I've begun by doing some reading and downloading a copy of Gambit Scheme. When Gambit starts up it displays an example of Scheme code which includes the following line:
\ for (int i=1;i<=3; i++) pp(i);
The semantics is clear but I don't recognize this as Scheme syntax and I couldn't find a reference to anything resembling this in the Scheme reference manual. Could some kind person tell me what this is and where it is described?
Afficher les réponses par date
Hello Fuchs. I am starting to make a beginners guide to Scheme / Gambit. Would you have any questions please feel free to ask away. That would help me remember what the most confusing things are from the start! :)
Best regards, Tomas Möre
2013/12/5 Fuchs Ira ihf@bit.net
I am hoping to re-familiarize myself with Scheme and I've begun by doing some reading and downloading a copy of Gambit Scheme. When Gambit starts up it displays an example of Scheme code which includes the following line:
\ for (int i=1;i<=3; i++) pp(i);
The semantics is clear but I don't recognize this as Scheme syntax and I couldn't find a reference to anything resembling this in the Scheme reference manual. Could some kind person tell me what this is and where it is described? _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Gambit supports both prefix and infix syntax. I believe what you're looking at is an example of the infix syntax. If you're goal is to learn scheme, I would recommend focusing on the prefix syntax. By default, Gambit should treat files with scm extension as using tranditional/prefix scheme syntax. Also, the REPL gsi should by default work with traditional/prefix syntax.
I hope this helps.
On Wed, Dec 18, 2013 at 12:22 PM, Tomas Möre tomas.o.more@gmail.com wrote:
Hello Fuchs. I am starting to make a beginners guide to Scheme / Gambit. Would you have any questions please feel free to ask away. That would help me remember what the most confusing things are from the start! :)
Best regards, Tomas Möre
2013/12/5 Fuchs Ira ihf@bit.net
I am hoping to re-familiarize myself with Scheme and I've begun by doing some reading and downloading a copy of Gambit Scheme. When Gambit starts up it displays an example of Scheme code which includes the following line:
\ for (int i=1;i<=3; i++) pp(i);
The semantics is clear but I don't recognize this as Scheme syntax and I couldn't find a reference to anything resembling this in the Scheme reference manual. Could some kind person tell me what this is and where it is described? _______________________________________________ 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