For the final exam, I’ve added a matrix API. The students are supposed to have implemented this, but we know that haven’t, so this way they can either use their version or mine.
Matrix API (Edit: The most up to date Matrix API can be found here):
For the final exam, I’ve added a matrix API. The students are supposed to have implemented this, but we know that haven’t, so this way they can either use their version or mine.
Matrix API (Edit: The most up to date Matrix API can be found here):
Previously character literals (of the form #\a
, #\space
, etc) were messing with automatic indentation and bracket matching (mostly, if you tried to do #\(
or #\)
), but now it’s fixed.
Update to version 1.340.13 if this has been a problem.
There have been two image bugs that have been bothering me for a while.
IndexOutOfBoundsException
. I’ve fixed most of those, but I finally found a new one dealing with strange negative array indices.read-image
. I haven’t been able to determine why (I should be able to deal with any image that Java’s JAI can read), but I finally tracked it down to some kinds of grayscale images. I was assume that they’d be of the type ARGB
rather than converting. Fixed now.All together, the image library should be a bit more stable now in the newest build: 1.329.19.
I’ve been putting off a new release for a while while I collect a number of minor bug fixes and enhancements, but I think it’s about time to actually release them. 1.327.1 is the new build.
First, a bug fix in leaf?
. It now does what it’s actually supposed to and return #t
if and only if the objust is a tree with both subtrees satisfying empty-tree?
.
Second, cpu-time
has been redefined to only count time spent on actual processing (and not on output / Java wrapper code) while the old functionality has been renamed to the function real-time
.
Small and simple, but it’s still worth a new version. 1.306.1.
A small list of bug fixes first:
draw-tree
to use ovals instead of rectangles to match the old version?
/
For a while now, we’ve been using Java Webstart to keep local copies of Wombat updated but I’ve been having issues keeping everything up to date. It doesn’t seem that I’m the only one either. So I’ve started writing my own update system, using a simple version file on the servers on campus that will automatically be fetched to verify that all of the files are up to date.
I’ve added a bunch of new procedures today, mostly to improve compatibility with Chez Scheme and the like. All together, I’ve added these functions:
cpu-time
- get a timestamp to use in timing function runtimeJust a few bug fixes this time:
First, bug fixes:
list
should be printed as a procedure (rather than a type)Also, I’ve rewritten the image code (especially read-
, write-
, and draw-image
) to make them significantly faster. They were already faster then the pure Scheme versions, but this should add at least a bit more. It will be particularly helpful later in the semester during some of the more image heavy assignments.