Re: Cello Shots (cont'd)

From: a (abc_at_def.gh)
Date: 02/20/04


Date: Fri, 20 Feb 2004 03:28:57 GMT

I can't speak for Kenny's code but that's certainly the way it works for my
code. Under Win32 it is worthwhile in new or exploratory code to keep window
handles (HWND's) and so forth in special variables or arrays, hashes,
structures, CLOS class instances, symbol properties or whatever so long as
they are accessible via symbols from the REPL. I create the window from the
REPL and have all the HWND's accessible. I can call send-message,
create-window, move-window, show-window or any other Win32 API and have
access to all the parameters I need. There is a good feeling of power to
have that line-at-a-time, interactive programming style accessible from the
REPL and to watch the windows system respond with every API call.

Once the code is working, I rewrite as appropriate to use fewer special
variables except where they are needed or handy.

"André Thieme" <this.address.is.good.until.2004.apr.17@justmail.de> wrote in
message news:c13pre$n8v$1@ulric.tng.de...
> Kenny Tilton wrote:
>
> > Now as soon as I port a textedit widget I can make it into a repl. :)
>
> I think I begin to realize what "The whole language always available"
> means (http://www.paulgraham.com/diff.html).
> So Kenny, if you would have a textedit widget and include a repl, could
> you then change the application (creating a second text-field somewhere
> in the window) while it is running?
>
>
> Regards,
> André
> --
> "If Java is your hammer, every problem looks like a thumb"



Relevant Pages

  • Re: dynamicness (dinamicity?) of lisp and its practical side [was: Cello Shots (contd)]
    ... or in a text window and then ... database and eventually spits out some HTML via Apache to the browser user. ... - One or more editor windows into the application's Lisp code. ... In the REPL window, note the logging of the web request, and the ...
    (comp.lang.lisp)
  • Re: help with thunk implementation for armV4
    ... Win32 does not really provide window objects, ... and the machine code in the thunk leaves the stack ... kept on the stack or heap - the core message handler is inherited by ...
    (microsoft.public.windowsce.app.development)
  • Splitter window in Win32
    ... I am a newbie to win32. ... The approach I am following to create this splitter window is, ... Very often I am getting stucked into lot many exceptions like "Access ...
    (microsoft.public.win32.programmer.ui)
  • Hosting .Net controls in Win32 application
    ... new modules in .NET WinForms and dock them as child windows in the old Win32 ... Child window relationship ... but I have strange feeling about going around .NET's message loop ... ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Can windowform surface be drawn by native window functions? (Win32 or MFC)
    ... in fact I did try some drawing on the .NET ... window using the traditional Win32 functions and it does work. ... I am writing a .NET app that uses DLL libraries in native C++. ...
    (microsoft.public.dotnet.framework.windowsforms)