1,150 karma · joined April 1, 2012
(defun x-find-color (rgba &key (x 0) (y 0)
(width default-width) (height default-height)
(test #'equal)
(snap-data (x-snapshot :x x :y y :width width :height height)))
...)
Also if not using asdf, the quickload form should be wrapped in an eval-when. It will fail If I Try to compile the file (C-c C-k) on a fresh session.This are nitpicks, the code is understandable and easy to read. Nice writeup and cool idea!
[0]: https://github.com/VitoVan/cl-dino/blob/master/cl-autogui.li... [1]: https://github.com/slburson/misc-extensions
[1]: http://cjs.from.so
P.D. Msimoni has written about fexprs (and a Lisp dialect with fexprs on JS, wat.js) if you want to read about them some more.
Check out Henry Baker's Comfy 65 Compiler[1] to see how far a little lisp changes an assembler language.
[1]: http://home.pipeline.com/~hbaker1/sigplannotices/sigcol04.pd...
A more mature similar open source implementation of the same idea.
P.D. It irks me that Rust slogan is 'zero cost' abstraction. There is definitely a cost. The memory model is more complex than C. One shouldn't try to hide the tradeoffs behind 'marketing' slogans.
Open is more than one form of software licensing, each license modified by the different idiosyncrasies and values of different people that develop software.
> Everything else is politics and philosophy
Open source IS politics as well. The origin of the term itself is a way to subvert Free Software