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