This is awesome. Thanks!<br><br><div class="gmail_quote">On Mon, Mar 2, 2009 at 10:07 PM, Eduardo Cavazos <span dir="ltr"><<a href="mailto:wayo.cavazos@gmail.com">wayo.cavazos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
lowly coder wrote:<br>
<br>
>>>   so my current dev environment is xmonad + emacs + gambit; this is about to<br>
>>> become xmonad + jedi + gambit; but I'd prefer to have my window manager be<br>
>>> running on gambit too<br>
>>><br>
>>>   so ... is there anyone else out there also interested in this? we can<br>
>>> probably start out with something like scwm or sawmill and hack it to run on<br>
>>> gambit ... or if you're really good with x11, we can even start with some<br>
>>> thing leaner<br>
<br>
Eduardo Cavazos wrote:<br>
<br>
> Er... I don't wanna mislead anyone so let me clarify.<br>
><br>
> I took a closer look at the code in 'dwm.c'. A straight port using<br>
> R5RS+xlib would probably take longer than a weekend. :-)<br>
><br>
> In order to do it in a weekend (Hmmm.... call it wm48? :-)) you'd need<br>
> some facilities in Scheme (perhaps some macros, an object system, or<br>
> both) to conveniently express alot of the terse idioms of C.<br>
<br>
OK. I like to put my hack where my mouth is so, behold, Cons WM :<br>
<br>
     <a href="http://proteus.freeshell.org/cons-wm-2009-03-02.png" target="_blank">http://proteus.freeshell.org/cons-wm-2009-03-02.png</a><br>
<br>
Not much to look at eh? :-)<br>
<br>
The source:<br>
<br>
     <a href="http://proteus.freeshell.org/_cons-wm-a.scm" target="_blank">http://proteus.freeshell.org/_cons-wm-a.scm</a><br>
<br>
It's running in Ypsilon. The code is loosely modeled on DWM. Currently<br>
clocking in at 370 lines. Lot's of low hanging fruit... Currently a fun<br>
proof of concept. It shows that with the right abstractions, you can<br>
port an Xlib program like dwm to Scheme and not have the code blow up<br>
too much.<br>
<br>
"cons wm" because it's simple like a cons cell. ;-)<br>
<br>
Ed<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br>