Re:Pattern Matching and Tail Recursion in Emacs Lisp
by Archelaos on Friday November 25, 2022 @07:14AM
(#33741683)
I would like to give Common Lisp a try. What setup/frameworks are best for a beginner targeting Win10 GUI apps (ideally self-contained in a single exe) that need to access a MariaDB server over the Internet?
[ Parent
| on HN ]
Re:Pattern Matching and Tail Recursion in Emacs Lisp
by mark_l_watson on Friday November 25, 2022 @10:01AM
(#33742961)
I don’t use Windows, but LispWorks is well supported on Windows, macOS, and Linux. I bought the macOS version and pay the yearly maintenance fee. It has a good portable GUI library called CAPI and creates small standalone executables.
LispWorks is expensive so try the free version for a long time to make sure it is right for you.
For macOS and Linux, the open source SBCL is excellent and there are libraries to use TK or web apps as GUI interfaces.
Re:Pattern Matching and Tail Recursion in Emacs Lisp
by dwringer on Friday November 25, 2022 @11:34AM
(#33744028)
I'll second that Tk works well with SBCL in such an environment without much hassle (although a web app GUI is a great route), the libraries may not all be up to date with the latest features but it's relatively straightforward to implement them looking at the source code as a template. With CFFI one can get into the windows API pretty readily as well, so the sky's pretty much the limit.
As far as being self-contained it's at least easy enough to get everything within a single project directory, and if you don't rely on tcl or something external like that then one should be able to load pretty much everything into the image and save it as an .exe.
Re:Pattern Matching and Tail Recursion in Emacs Lisp
by tmtvl on Friday November 25, 2022 @11:51AM
(#33744248)
Probably LTK and CLSQL. Accessing a MySQL (well, MariaDB is a drop-in replacement) DB over the internet is no different from accessing it locally.
If you don't like Tk, there's a few alternatives like IUP or Qtools.
Of course if you'd prefer you could grab Armed Bear, use Java libraries, and export a JAR. In that case you can use Swing and JDBC.