sketch
ccl
Our great sponsors
sketch | ccl | |
---|---|---|
12 | 18 | |
1,368 | 814 | |
- | 2.0% | |
8.5 | 7.3 | |
4 days ago | 5 days ago | |
Common Lisp | Common Lisp | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sketch
-
Seeking a lisp post on graphics
This is a cool library for that stuff as well: https://github.com/vydd/sketch
-
Creativity
- You can also doodle in Lisp just like you can doodle with a pencil: https://github.com/vydd/sketch
-
Framework for creative coding in Lisp?
There's Sketch.
-
basic graphics library
I think sketch is exactly what you’re looking for.
-
Installing Sketch on Windows
Has anyone been able to install Sketch on Windows?
-
SBCL: New in Version 2.2.1
Thank you. I'm sorry I was harsh, but I just spent a frustratingly long time getting Sketch to work on Windows, but I did it. MSYS2 to compile a missing lib was the missing piece that did it. I'm frustrated, but not giving up.
https://github.com/vydd/sketch
-
Tell HN: My experience with Common Lisp as beginner
I'm posting my experience hoping someone will tell me I'm doing it wrong and tell me a better way. I'm aware that I could use Racket or Clojure but I really wanted to try Common Lisp as a historically important language.
2 days ago I posted a link that looked really interesting as a fun way to learn Common Lisp. See https://news.ycombinator.com/item?id=29856110 or Sketch https://github.com/vydd/sketch
Turns out it was previously posted and got good feedback so I decided to try it. I use Windows. There were several Common Lisp installations to choose from. I choose Clozure because it appeared to be developed by Mac users, so I thought it might to have features I liked.
Clozure installation on Windows was fine. However, I ran into problems installing sketch because I had to build Simple Direct Media components https://www.libsdl.org/ and it wasn't clear ahead of time which ones. I didn't have MinGW, MSYS2 or Cygwin setup so instead I rooted around until I found SDL2.dll and libtiff.dll. Unfortunately, I couldn't find libffi.dll so had to build it. I installed MSYS2 but failed. Cygwin same thing. This is my fault as I never learned how to do this.
I installed Steel Bank Common Lisp without problem hoping it might have what Sketch needs but it doesn't
I gave up on Windows proper and installed WSL2 because I'm on a developers preview of Windows 11 and had read that it does graphics now. I installed Ubuntu 20 into it, but couldn't get it to work.
I switched to my VMWare installation of Ubuntu 20 and failed there too, but I suspected there might be a conflict, so I installed a fresh copy of Ubuntu 20 in a new virtual machine.
It worked! Very nice. I can do graphics with Common Lisp.
I prefer not using VMWare so I am currently learning the difference between MSYS2, MinGW, Cygwin, and GnuMake32. I expect to have a Windows version working by the end of the day. I wondering if I should do a Docker image or maybe there is something better now? Last time I used Docker it seemed more difficult than it need to be.
// These are the steps I took to make it work on Ubuntu. I don't use Linux that often so I'm sure there is a better way like combining some of these commands
// Install dev tools
- sketch - A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
- Sketch is a Common Lisp environment for the creation of electronic art
ccl
-
Don't Invent XML Languages (2006)
There's plenty of history of s-expression formats for documentation. One example is: https://github.com/Clozure/ccl/tree/master/doc/manual
But, also, there's plenty of uses of XML that are not "artcles and books". For example, Maven's pom.xml and log4j2.xml.
-
The IDEs we had 30 years ago and we lost
The descendant of CCL runs on modern Intel Macs. (It also runs on Linux and Windows but without the IDE.) The modern IDE is quite a bit different from the original. In particular, it no longer has the interface builder. But it's still pretty good. It is now called Clozure Common Lisp (so the acronym is still CCL) and you can find it here:
https://ccl.clozure.com/
If you want to run the original that is a bit of a challenge, but still possible. The original was never ported directly to OS X so you have to run it either on old hardware or an emulator running some version of the original MacOS, or on an older Mac running Rosetta 1. In the latter case you will want to look for something called RMCL. Also be aware that Coral Common Lisp was renamed Macintosh Common Lisp (i.e. MCL) before it became Clozure Common Lisp (CCL again).
This looks like it might be a promising place to start:
https://github.com/binghe/mcl
If you need more help try this mailing list:
https://lists.clozure.com/mailman/listinfo/openmcl-devel
- The Saga of the Closure Compiler, and Why TypeScript Won
-
Clozure CL 1.12.2
Download: https://github.com/Clozure/ccl/releases/tag/v1.12.2
-
plain-common-lisp: a lightweight framework created to make it easier for software developers to develop and distribute Common Lisp applications on Microsoft Windows
I was not aware that UIOP provided that function. plain-common-lisp used to be implemented with Clozure CL but eventually moved to SBCL due to the lack of maintenance of CCL. But now there is a hard dependency on SBCL.
- Clozure Common Lisp Wiki
-
Consuming HTTP endpoint using Common Lisp
I have decided it is time to have some fun and use Common Lisp to create algorithm representation that deals with parallel execution. For this I decided to use Clozure common lisp, put basic Qucklisp there and load some libraries to do this.
-
The Origins of Lisp
Lisp must be read outside->in to understand what it is saying. Given (foo (a) (b c)), if you don't know what foo is and just start reading (b c), which is inside, hoping that later you can work out what is foo, you could be going down a blind alley. foo could be a macro or special operator which entirely controls what (b c) means.
To understand what is calculated in Lisp, given that you understand what the syntax means, the evaluation is inside->out.
That's no different from math. In any languages that have math-like nested expressions with bracketing, you have inside-out evaluation.
The alternative are catenative languages and such, which have never been mainstream.
There are assembly languages which go line by line.
Imperative languages with statements and expressions tend to have small expressions where evaluation is followed inside-out; the rest of the control flow is just top down, with some forward and backward skips.
Lisp has all of the above in it. Lisp can be assembly language. For instance, in thsi source file from Clozure Common Lisp:
https://github.com/Clozure/ccl/blob/master/level-0/ARM/arm-h...
(defarmlapfunction fast-mod-3 ((number arg_x) (divisor arg_y) (recip arg_z))
- Corman Lisp development environment for MS Windows
What are some alternatives?
drakma - HTTP client written in Common Lisp
sbcl - Mirror of Steel Bank Common Lisp (SBCL)'s official repository
trivial-gamekit - Simple framework for making 2D games
lisp-interface-library - LIL: abstract interfaces and supporting concrete data-structures in Common Lisp
usocket - Universal socket library for Common Lisp
data-lens - Functional utilities for Common Lisp
cl-collider - A SuperCollider client for CommonLisp
plain-common-lisp - A trivial way to get a native Common Lisp environment on Windows
abcl - Armed Bear Common Lisp <git+https://github.com/armedbear/abcl/> <--> <svn+https://abcl.org/svn> Bridge
land-of-lisp-using-hunchentoot - Convert code for "Dice of Doom" from Barski's "Land of Lisp" to use Hunchentoot web server.
clog-plotly - CLOG Plugin for Plotly.js
sketch - AI code-writing assistant that understands data content