[gambit-list] Gambit compiling from Source
Marc Feeley
feeley at iro.umontreal.ca
Sat Dec 19 23:28:05 EST 2009
These things are defined in lib/_repl.scm . Look for this definition:
(define prompt "> ")
and also the procedure definition ##repl-debug-main .
Are you sure you are not doing your users a disservice by hiding the fact that they are using the Gambit interpreter? Also, the ">" prompt is fairly universal and users may find it annoying (for instance most tutorials use the ">" to indicate the prompt).
Marc
On 2009-12-19, at 6:44 PM, Nikhil Barthwal wrote:
> Hi!
>
> I am integrating Scheme with my other tool-chain and I need to make some
> changes to it to make it consistent.
>
> 1. I observed that Gambit starts with some colouring (bold while on blue
> background) and the text we type is also bold in colour. I want to
> disable all test colouring so that everything appears simple regular test.
>
> 2. I want to prompt to change from ">" to " * ".
>
> 3. Insead of the Gambit v4_5.3 message, I would prefer it just says
> "Scheme".
>
> I downloaded the gambc-v4_5_3-devel.tgz file and I was trying to go
> through the source code but I could not figure out where these
> formatting were define. Can someone tell me how I can make the above
> changes or at the very least, where in source code can I do the
> modifications?
>
> Thanks in advance,
>
> Nikhil
>
>
>
> vasil wrote:
>> Hi!
>>
>> Last versions of Gambit are stable.
>>
>> follow next instructions (for Linux):
>>
>> get source code here:
>> http://www.iro.umontreal.ca/~gambit/download/gambit/v4.5/source/gambc-v4_5_3.tgz
>>
>> unpack it:
>> tar -xzf gambc-v4_5_3.tgz
>>
>> configure it:
>>
>> if you have fast computer with lots of memory (i need more than 6 Gig on
>> my 64 bit desktop to compile gambit with this options):
>>
>> ./configure --enable-gcc-opts --enable-single-host
>>
>> otherwise:
>>
>> ./configure --enable-gcc-opts
>>
>> make all sources:
>>
>> make
>>
>> and install:
>>
>> sudo make install
>>
>>
>> and you'll get two main programs installed: gsi and gsc.
>> gsi - interpreter and gsc is compiler scheme-to-c and c-to-obj via gcc.
>>
>>
>> Use gsi to learn basic features of scheme.
>>
>>
>> I may recommend next books to read:
>> 1. SICP
>> http://mitpress.mit.edu/sicp/full-text/book/book.html
>> 2. Concepts, Techniques, and Models of Computer Programming
>> www.ulb.ac.be/di/rwuyts/INFO020_2003/vanRoyHaridi2003-book.pdf
>> 3 Concrete Abstractions
>> http://gustavus.edu/+max/concrete-abstractions.html
>> 4. How to design programs
>> http://www.htdp.org/2003-09-26/Book/
>>
>>
>>
>> Vasil
>>
>>
>> Nikhil Barthwal wrote:
>>
>>> Hi,
>>>
>>> I am new to Gambit as well as new to Scheme programming. I would like to
>>> download and use a Stable version of scheme. Also, I want to compile from
>>> source rather than use the binary distribution.
>>>
>>> Can someone tell me which file I need to download? I see bunch of files
>>> in the site. Which version is the stable version? And further whats the
>>> difference between gambc-v#_#_#-devel.tgz & gambc-v#_#_#.tgz and which one
>>> should I download?
>>>
>>> Thanks,
>>>
>>> Nikhil
>>>
>>>
>>>
>>> _______________________________________________
>>> Gambit-list mailing list
>>> Gambit-list at iro.umontreal.ca
>>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>>
>>>
>>
>>
>>
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
More information about the Gambit-list
mailing list