| 1 | #title Programming Projects |
| 2 | |
| 3 | All of my current, and some not so current, projects are browsable via |
| 4 | [[http://unknownlamer.org/darcsweb/browse][my darcsweb]]. You might want to take a look at my [[Lisp][Lisp related projects]] |
| 5 | page. I have a few things available on [[http://git,hcoop.net][HCoop's gitweb]] prefixed with |
| 6 | =clinton/=. |
| 7 | |
| 8 | * Common Lisp |
| 9 | |
| 10 | ** UnCommon Web Related |
| 11 | |
| 12 | *** [[darcsweb::golgonooza][Golgonooza]] |
| 13 | |
| 14 | <verse> |
| 15 | Fourfold the Sons of Los in their divisions: and fourfold. |
| 16 | The great City of Golgonooza: fourfold toward the north |
| 17 | And toward the south fourfold, & fourfold toward the east & west |
| 18 | Each within other toward the four points: that toward |
| 19 | Eden. and that toward the World of Generation. |
| 20 | And that toward Beulah. and that toward Ulro; |
| 21 | Ulro is the space of the terrible starry wheels of Albions sons: |
| 22 | But that toward Eden is walled up. till time of renovation: |
| 23 | Yet it is perfect in its building. ornaments & perfection. |
| 24 | </verse> |
| 25 | |
| 26 | Golgonooza is a set of utility components for [[http://common-lisp.net/projects/ucw/repos/ucw-core/][ucw-core]]. As of December |
| 27 | 2008 it is nearing a releasable state and is in use on |
| 28 | [[http://bees-kneesfilms.com][one production site online]] (darcsweb::beesknees for source). |
| 29 | |
| 30 | *** [[darcsweb::ucw-forms][ucw-forms]] |
| 31 | |
| 32 | ucw-forms is a slightly enhanced and de-javascripted version of the |
| 33 | forms library from ucw_ajax updated for use with ucw-core. |
| 34 | |
| 35 | *** [[darcsweb::ucw-core_clinton][ucw-core branch]] |
| 36 | |
| 37 | I maintain a personal branch of ucw-core with various work in progress |
| 38 | patches that are intended to go upstream. My primary task is filling |
| 39 | in the ucw-standard library which was removed in the ucw-core fork. |
| 40 | |
| 41 | ** [[darcsweb::trivial-timers][Trivial-Timers]] |
| 42 | |
| 43 | [[http://retes.hu/~mega/git/?p=clon.git;a=summary][Clon]] is a nice library for scheduling tasks within a Lisp image, but |
| 44 | it used the SBCL timer extension. I wanted to run something using Clon |
| 45 | on [[http://trac.clozure.com/openmcl][Clozure CL]] and so I looked at the SBCL source and found that, after |
| 46 | a bit of fairly straightforward editing, it was possible to write a |
| 47 | portable version for any compiler supporting [[http://common-lisp.net/project/bordeaux-threads/][Bordeaux Threads]]. The |
| 48 | SBCL timers internally use =sb-unix:setittimer=; Rather than using |
| 49 | [[http://common-lisp.net/project/osicat/][Osicat]] to emulate this I chose to rework the scheduling loop to run in |
| 50 | a dedicated thread that sleeps on a condition variable with a |
| 51 | timeout. This seems *cleaner* to me than using POSIX lib calls, but |
| 52 | requires a threaded Lisp. |
| 53 | |
| 54 | [[http://releases.unknownlamer.org/trivial-timers/][Releases are available]] with the usual [[darcsweb::trivial-timers][darcs repo]]. Currently there is a |
| 55 | native SBCL implementation and a portable implementation relying upon |
| 56 | [[http://common-lisp.net/project/bordeaux-threads/][Bordeaux Threads]]. Patches to export other Lisp implementations' timer |
| 57 | interface are welcome. |
| 58 | |
| 59 | * Scheme |
| 60 | |
| 61 | ** [[darcsweb::guile-xosd2][Guile XOSD2]] |
| 62 | |
| 63 | A simple SWIG based wrapper for [[http://www.ignavus.net/software.html][libxosd2]]. I forked this from |
| 64 | [[https://gna.org/projects/guile-xosd][guile-xosd]] after the maintainer did not respond to an email with a |
| 65 | small patch to make the interface nicer. Guile-XOSD2 requires SWIG |
| 66 | 1.3.x and has been tested against the VM branch of Guile. I renamed |
| 67 | most of the functions to have properly Scheme names. |
| 68 | |
| 69 | * Standard ML |
| 70 | |
| 71 | ** [[http://wiki.hcoop.net/DomTool][Domtool]] |
| 72 | |
| 73 | Originally authored by [[http://www.schizomaniac.net/][Adam Chlipala]], as of late 2010 I have been |
| 74 | tasked with keeping it up to date for [[http://hcoop.net][HCoop]]. |
| 75 | |
| 76 | * Old Projects |
| 77 | |
| 78 | I used to work on some programs in terrible languages like =C++= when I |
| 79 | was a poor misguided youth. I still attempt to respond to bug reports |
| 80 | and patches for any that are still in use (*Bobot++* appears to be the |
| 81 | only one), but they are otherwise not being worked upon. |
| 82 | |
| 83 | ** [[../code/bobot.html][Bobot++]] |
| 84 | |
| 85 | A fancy little IRC bot that is extensible with Scheme. If you can |
| 86 | figure out the scripting interface (which is [[../code/bobotpp-manual.html#SEC35][partially documented]]) it |
| 87 | is fairly powerful. =dsmith= from =#guile= has a nicely featured bot |
| 88 | written on top of Bobot++; if I find time I shall attempt to post the |
| 89 | source. |
| 90 | |
| 91 | There is now a [[darcsweb::bobot%2B%2B][darcs repo]] available with a few minor changes. I am |
| 92 | sporadically working to make the internals of the bot fully threadsafe |
| 93 | so that multithreaded Scheme extensions don't run into issues. I may |
| 94 | potentially clean up the Scheme interface as well (as it was clearly |
| 95 | not designed by a Schemer and I was not so well versed in proper style |
| 96 | in 2002 when I did most of my work on Bobot++). |
| 97 | |
| 98 | ** [[../code/guile-web.html][Guile-Web]] |
| 99 | |
| 100 | A perhaps still useful library of web related utilities for |
| 101 | [[http://www.gnu.org/software/guile/guile.html][Guile Scheme]]. Be warned that the serializer is inefficient, consy, and |
| 102 | hacky as Hell, but the [[../code/guile-web-manual.html#SEC6][XHTML generation library]] might be useful. |