Windows Slate build in Visual Studio

Shaping shaping1 at bellsouth.net
Sat Jan 8 20:58:38 PST 2005


Thanks.  I got the REPL to work, but the editor is unforgiving.  There is no way 
to back up to a previous line and correct.

Why is False returned after image save?  Why is True returned after image start, 
but not the first time when 'Hi, there!' appears?

Shaping

----- Original Message ----- 
From: "Todd Fleming" <todd at flemingcnc.com>
To: "Slate project discussion" <slate at tunes.org>
Sent: Saturday, January 08, 2005 21:48
Subject: Re: Windows Slate build in Visual Studio


> Here's how I prepare Slate after generating a fresh VM and image:
>  C:\slate>slate little.image
>  Bootstrapping libraries...
>  Slate: Growing heap to 4818864 bytes.
>  Hi, there!
>  Slate 1> saveImageNamed: 'work.image'.
>  False
>  Slate 2> quit.
>
> After that is finished, the following brings up a REPL:
>  C:\slate>slate work.image
>  Slate: Growing heap to 5863104 bytes.
>  True
>  Slate 2>
>
> To make sure DLL support working, try this at the REPL:
>  [| l f |
>    l: (ExternalLibrary newNamed: 'User32').
>    f: (l functionNamed: 'MessageBoxA').
>    f argumentsFormat:
>    {
>      ExternalMethod ArgumentFormat Int.
>      ExternalMethod ArgumentFormat Bytes.
>      ExternalMethod ArgumentFormat Bytes.
>      ExternalMethod ArgumentFormat Int.
>    }.
>    f callFormat: ExternalMethod CallFormat Std.
>    (f applyTo: {0 'Hello from Slate!\0' 'My Dialog\0' 0}).
>  ] do.
>
>
> I haven't looked closely at smart-console, so I don't know what it adds, other 
> than command history. Fortunately the Windows console already provides that to 
> Slate.
>
> Todd
>
>
> Shaping wrote:
>
>>
>> ----- Original Message ----- From: "Todd Fleming" <todd at flemingcnc.com>
>> To: "Slate project discussion" <slate at tunes.org>
>> Sent: Saturday, January 08, 2005 13:29
>> Subject: Re: Windows Slate build in Visual Studio
>>
>> Thanks, Todd, but how then do I talk to the REPL?  Is the wvm.exe sufficient? 
>> What does the smart-console add?  It is a .dll, correct?  I'm assuming this 
>> extends the functionality of the VM (wvm.exe) somehow.
>>
>> Shaping
>
>
> 





More information about the Slate mailing list