lisp-random /

Filename Size Date modified Message
17 B
git ignore
67 B
Ignore additional FASL extension.
3.5 KB
fix verbiage
6.0 KB
word normalization for portuguese
5.7 KB
CPUEmu assembler and simulator.
1.5 KB
Update license
1.9 KB
move illogical-pathnames to its own sys
512 B
A little implementation of AMB.
912 B
Clarify wording.
879 B
1.3 KB
Clarify docs a little bit.
1.3 KB
binary tree
9.3 KB
Conditionally compile CLISP-specific code.
1.9 KB
add type declaration to ONES
610 B
random BIT-VECTOR code.
8.3 KB
Add known SBCL optimization to INVERSE-MASK.
2.0 KB
Remove obsolete functions BLOOM-FILTER-LENGTH and BLOOM-FILTER-INSERT. Fix
7.2 KB
Allow generation of FUNCALL. Define DEFINE-RK-ITERATOR.
4.4 KB
Calkin-Wilf trees, Stern's diatomic sequence, and all that,
3.2 KB
15.3 KB
Fix and document Circus Seven puzzle.
1.4 KB
Added the start to some class checking stuff.
485 B
add optimizations
3.2 KB
add simple test for compiler-rules.lisp
6.5 KB
minor changes to completion... it has moved to CL-STRING-COMPLETE
2.2 KB
"Continue anyway." -> "Return NIL." for coroutine exhaustion.
1.3 KB
Define Nth order CAR/CDR.
2.9 KB
Remove dependence on qtility.
12.6 KB
add note about grammar generation dependence
466 B
* define DEFINE-CONSTANT earlier
5.1 KB
* define DEFINE-CONSTANT earlier
984 B
return the symbol being defined.
2.8 KB
update copyright
433 B
general destructuring mechanism
1.6 KB
make a proper dfa structure
909 B
discrete distribution computations
1.6 KB
do-all macro
819 B
7.3 KB
Add some patterns.
5.3 KB
3.3 KB
deprecate dynamic collector
2.2 KB
typo, '<tag' --> '<tag>'
10.5 KB
Add some info about strategy to the top of ENUMERATE-GRAMMAR.
567 B
Eulerian number puzzle.
2.8 KB
fix bug in COUNT-FACTOR
1.8 KB
some minor cleanup to the simple fft
2.3 KB
Fibonacci numbers
1.1 KB
fixed point combinator stuff
408 B
slim down
1.3 KB
more documentation
1.6 KB
start to forth
3.4 KB
Add todo
885 B
added syntactic abstractions
2.0 KB
added simple gcd tests
5.3 KB
Obsolete generators.
7.6 KB
add floating point traps, and add reader conditionals
5.3 KB
line endings
5.4 KB
j`ey's C++ generation
791 B
let formatter for hash tables return NIL
2.3 KB
Add an option to clear the cache.
1.2 KB
Simplify lisp hist function
2.9 KB
added start to a FLOAT PRINTER
11.6 KB
move illogical-pathnames to its own sys
5.4 KB
15.5 KB
Take out DX decl. Make slots have type FUNCTION. Add (THE FUNCTION ..)
4.3 KB
add todo
10.1 KB
improve style: cond -> typecase
807 B
kasadkad 2 fact
4.9 KB
subsequence code
12.7 KB
2.4 KB
Add note about generalizing LET-ALIST.
3.4 KB
Lift "static" variables out of closure.
6.4 KB
Add unary negation.
4.7 KB
2.3 KB
deprecate locative.lisp
4.8 KB
remove var in comments
3.0 KB
lowercase l
993 B
initial MAKE-API functions. Vastly incomplete.
1.1 KB
Add naive mandelbrot code in CL.
1.3 KB
memory efficient implementation of MAP-PRODUCT
2.7 KB
* Add a print function
3.8 KB
Markov chains.
3.1 KB
Change comment about my contributions
2.0 KB
use *STANDARD-OUTPUT* instead of a new stream variable
1.7 KB
make type decl more specific
8.8 KB
Optimize unchecked calls into &KEY-less calls.
1.2 KB
Constructing natural numbers out of sets.
3.6 KB
Fix the sigmoids: they were backwards.
163 B
add a file with misc notes
9.3 KB
quick n dirty number game solver
36.5 KB
WITH-MODULAR-ARITHMETIC for optimized constant modulus arithmeitc
1.2 KB
convert rational numbers to binary
1.5 KB
4.0 KB
3.4 KB
1.7 KB
1.2 KB
Baroque implementation of PARTITIONS.
1.4 KB
people in a circle problem
715 B
removed unnecessary line
1.2 KB
remove chan name
1.9 KB
move policy-cond into a state of obsolescence
8.3 KB
Add some notes about algebraic numbers and resultants.
1.4 KB
Add fusion code.
13.2 KB
improvements and added tests
3.7 KB
fix typo
2.8 KB
many clean ups and optimizations
7.6 KB
return the size of the visited state space as well in COUNT-SOLUTIONS
1.9 KB
random-grouping exercise
994 B
normalize results
1.7 KB
ascii art
3.5 KB
Fix type check for TOLERANCE.
1.9 KB
fix field size for ext-rdrand-format
6.6 KB
Bisecting array mapping function.
8.2 KB
Add a TODO, rename file
2.3 KB
Added restart code from blog post.
3.6 KB
Minimal implementation of Runge-Kutta.
2.0 KB
added a little messy are pee enn calculator prompt
6.7 KB
sincos for sbcl
2.8 KB
start to basic sequence matching algorithms
2.1 KB
added a curve drawer based on furnaceboi's
250 B
ski combinator calculus
10.0 KB
added a little continued fraction dealio
5.7 KB
Initial awful version of the game SNAKE using CL-CHARMS.
2.0 KB
5.5 KB
First go at a state machine implementation.
2.7 KB
11.6 KB
Allow bit reversal of vectors of length < 4.
3.8 KB
names and add'l decl
5.9 KB
2.7 KB
Implement SYMBOL-MACROLET-1 more correctly using MACROEXPAND-DAMMIT
1.4 KB
5.9 KB
867 B
random chars
1.5 KB
finish comment
1.7 KB
Remove tests, and all but the fastest Thue-Morse computation.
546 B
triangle print
3.5 KB
Change TSORT to be destructive. Add TSORT-COPY for non-destructive variant.
1.3 KB
added a little messy are pee enn calculator prompt
983 B
Add pjb's version
425 B
Fix filename in header
5.4 KB
Add package declaration.
Dear Onlookers,

This directory contains a bunch of (mostly) self-contained snippets of
Lisp code that I've have written. Many of them are simply experiments,
especially Lisp language experiments. Others are demonstrations.

Some of the files here have grown to be their own library. Examples

    * defdata.lisp -> CL-ALGEBRAIC-DATA-TYPE

      A library for algebraic data types in Lisp.

    * illogical-pathnames.lisp -> ILLOGICAL-PATHNAMES

      A library for dealing with a somewhat more logical version of
      logical pathnames.

    * interface.lisp -> INTERFACE

      A library for creating (programmatic) interfaces.

    * locative.lisp -> CL-LOCATIVES

      A library for manipulating (a form of) locatives, reminiscent of
      the Lisp Machine.

    * symbolic-function.lisp -> SYMBOLIC-FUNCTION

      A library for handling so-called "symbolic functions".

    * young.lisp -> CL-YOUNG-TABLEAUX

      A library for manipulating Young tableaux.

Not all code in this directory is complete or functional. Some files
were the start to an idea, and then were never finished. Other things
are long-term works-in-progress.

There are some sub-directories. In general, they are not very
organizationally meaningful to this repository as a whole. However,
there are two exceptions.

    1. The sub-directory "miscellaneous_exercises" contains
       interview-style questions or puzzles that I've done.

    2. The sub-directory "graphics" contains graphical programs I've
       sometimes shown during talks or demonstrations. They mostly
       make use of LispWorks' CAPI graphics system. As such, they are
       wholly dependent on having a LispWorks license.

Feel free to inspect or use the code. It is licensed under the BSD
3-clause license. Please see the LICENSE file. If you do find
something useful or interesting, do drop me a line.

Have fun,

Robert Smith