Earlier quoted context omitted.
have a look at river, theyre currently working on something like this!
https://github.com/riverwm/river#future-plans
Plwm – An X11 window manager written in Prolog
71–77 of 77 posts
Re: Plwm – An X11 window manager written in Prolog
#72Does someone know a tutorial or something which explains how to get from "tutorial Prolog" to "real project Prolog", because that's not look anything like tutorial Prolog. Prolog seems interesting, but any time I tried to do anything more than toy examples on my own, I got infinite recursion, unsolvable problems.
This is one of the best resources for “real” Prolog: https://www.metalevel.at/prolog His YouTube videos are also incredibly good.
Re: Plwm – An X11 window manager written in Prolog
#73Earlier quoted context omitted.
I'm curious how you figure a language whose central verbs and nouns are logic "isn't math".
Many people, when they say math, mean continuous math. At work, my colleagues are almost entirely statisticians and actuaries, and I sometimes joke that my only math course at university was Calculus 1. I have of course done lots more math, but it’s all CS type stuff like logic and discrete structures like graphs and trees which is a very different world from continuous stuff.
Re: Plwm – An X11 window manager written in Prolog
#74Re: Plwm – An X11 window manager written in Prolog
#75Time to do one in Scheme, I guess.
Done a while ago: https://en.wikipedia.org/wiki/Scwm There was also "GWM", based on its own lisp dialect, "WOOL", which was around from at least the early 90s. On the more popular side, you had sawfish (using an elisp-alike, IIRC) and stumpwm (Common Lisp).
Re: Plwm – An X11 window manager written in Prolog
#76Earlier quoted context omitted.
First time I ever get the chance to see object postcript/forth, thank you
Thank you for checking it out! It was fun to write and run. But we couldn't talk Sun into letting us ship it for some reason! ;) Here's some more context and opinions about ICCCM (I39L), TkWM, OWM, xinit, and piewm: https://www.donhopkins.com/home/catalog/unix-haters/x-window... Here's a much better example of NeWS object oriented PostScript user interface code, written as a developer demo with lots of comments, and…
Re: Plwm – An X11 window manager written in Prolog
#77Earlier quoted context omitted.
I'm not the most knowledgeable, but a protocol talks to another process through a specific format. I personally think its more powerful than writing a new process to replace and existing. My favorite example is an X11 windows manager implementing in about 18 lines of python. Obviously there's dependencies to talk to the X server, but the power of a protocol comes from any program written in any la gage communicate wi…
> My favorite example is an X11 windows manager implementing in about 18 lines of python. Uh, do you happen to know where to find that project? Sounds pretty comprehensible for most people as an example.
https://github.com/mackstann/tinywm
I've run it once a long time ago and worked perfectly fine for me.