rongarret/ergolib
View on GitHub ↗ ★ 150 Common Lisp
A library designed to make programming in Common Lisp easier
22 mentions on Hacker News by 2 people: 0 stories, 22 comments · first 2015-02-19 · latest 2023-08-06
20082026
-
…called BINDING-BLOCK that eliminates many (though not all) of the parens in common code idioms: https://github.com/rongarret/ergolib/blob/master/core/bindin... It's also helpful in preventing code from crawling off the right side of the…
comment by lisper · 2023-08-06 · in Lisp in Space -
I believe the OP's ergolib provides an example. From https://github.com/rongarret/ergolib/blob/master/core/bindin... , the examples show code like: ;;; (bb ;;; x 1 ;;; :db (y z) (foo) ;;; :mv (a b c) (bar) ;;; (do-something) ;;; :with…
comment by eliben · 2023-01-28 · in Lisping at JPL Revisited -
…collect (dotimes (i 100) (if (primep i) (collect i))) to get a list of primes under 100. See https://github.com/rongarret/ergolib for an implementation of WITH-COLLECTOR and lots of other constructs that are IMHO the Right Way to write…
comment by lisper · 2022-10-12 · in Eliminating FORMAT from Lisp (2003) -
…get updated, but I also use an ORM [1] that automatically updates my database tables too. [1] https://github.com/rongarret/ergolib/blob/master/layer1/sql....
comment by lisper · 2022-04-22 · in Common Lisp Resources -
…(mcond (< a b) -1 (> a b) 1 0) The definition of MCOND is four lines of code and can be found here: https://github.com/rongarret/ergolib/blob/master/core/ergoba...
comment by lisper · 2019-05-06 · in Clear is better than clever [pdf] -
…and DEFINE-MACRO, along with documentation (and a whole bunch of other stuff) can be found here: https://github.com/rongarret/ergolib Specifically: https://github.com/rongarret/ergolib/blob/master/core/ergocl...
comment by lisper · 2019-04-21 · in A Cosmac1802 Emulator in 300 Lines of Common Lisp -
…exactly what it is. The modern descendant of this code, with documentation, can be found here: https://github.com/rongarret/ergolib though the CLOS wrapper is essentially unchanged from 1993.
comment by lisper · 2019-04-21 · in A Cosmac1802 Emulator in 300 Lines of Common Lisp -
…and carry on despite the fact that it makes no sense. That's why I'm doing things like this: https://github.com/rongarret/ergolib
comment by lisper · 2018-07-09 · in Why not program right? -
I'll see what I can do, but in the meantime: https://github.com/rongarret/ergolib In particular: https://github.com/rongarret/ergolib/tree/master/web The heavy lifting is all done by Hunchentoot: http://weitz.de/hunchentoot/
comment by lisper · 2017-10-13 · in ChrysaLisp – A 64-bit Lisp OS with GUI -
…Also, if you really don't like parens, you can get rid of a lot of them using macros. See e.g.: https://github.com/rongarret/ergolib and in particular the binding-block (BB) construct. > 2 - Lisp doesn't look like or work like what I'm…
comment by lisper · 2017-05-02 · in Not Lisp again (2009) -
If you use this library you can simply ignore most of the things on that page: https://github.com/rongarret/ergolib
comment by lisper · 2017-05-02 · in Simplified Common Lisp reference -
…don't have to futz with emacs and slime. Also, this library smooths over some of CL's rough edges: https://github.com/rongarret/ergolib
comment by lisper · 2017-03-29 · in How to write Common Lisp in 2017 – an initiation manual -
…Also, a shameless plug: I'm still coding in and writing about Lisp. Some currently active projects: https://github.com/rongarret/ergolib https://github.com/rongarret/BWFP https://github.com/rongarret/tweetnacl/blob/master/tweetnacl... And…
comment by lisper · 2017-02-12 · in Lisping at JPL (2002) -
That's why I'm using a library ( https://github.com/rongarret/ergolib ) to smooth over some of Common Lisp's rough edges. The goal of the book, what I hope will make it unique, is to teach all of the basics without having to get too hung…
comment by lisper · 2016-12-16 · in The Idea of Lisp -
…small tweaks to an implementation.) FWIW, here's my take on bringing CL into the 21st century: https://github.com/rongarret/ergolib and the beginning of an associated book: https://github.com/rongarret/BWFP > is there something inherent in…
comment by lisper · 2016-10-26 · in Technical Issues of Separation in Lisp Function Cells and Value Cells (1988) -
…infix) |NIL| ? infix(x=1.23+4.56) 5.79 ? sin(x*x+1) 0.03341171 ? The code for this is here: https://github.com/rongarret/ergolib
comment by lisper · 2016-07-19 · in Graal and Truffle could accelerate programming language design -
…have been able to do even better. In fact, here it is in four lines of Common Lisp (using Ergolib - https://github.com/rongarret/ergolib ): (defun histogram (path) (bb l (split (file-contents path) t :test (fn (a b) (whitespacep b))) l…
comment by lisper · 2015-08-19 · in More shell, less egg (2011) -
https://github.com/rongarret/ergolib
comment by lisper · 2015-06-18 · in The Tragedy of the Common Lisp, Or, Why Large Languages Explode -
…This is one of the reasons Common Lisp continues to thrive. [UPDATE]: You can find my code here: https://github.com/rongarret/ergolib Also, I forgot to mention another language-shrinker included in that library: REF. REF is a universal…
comment by lisper · 2015-06-18 · in The Tragedy of the Common Lisp, Or, Why Large Languages Explode -
Another effort along the same lines: https://github.com/rongarret/ergolib
comment by lisper · 2015-02-19 · in CL21: An experimental project redesigning Common Lisp