[Openmcl-devel] bit string matching
raffaelcavallaro at mac.com
Wed Jan 5 05:46:48 PST 2011
On Jan 5, 2011, at 8:38 AM, Lonnie Cumberland wrote:
> I just came across a couple of implementations, but could not seem to
> get them to run on Clozure ccl.
The code you posted is in the *language* clojure (note the j) a lispy language that runs on the java virtual machine. Clojure (j) is a completely different language than common lisp, not merely another implementation of common lisp.
Clozure Common lisp (note the z) is an implementation of the language common lisp.
This is why the code you posted won't run as is on clozure common lisp. You could translate it/port it, but that would require being familiar with both languages, common lisp and clojure. The algorithm you're looking for is simple enough that you'd be better off just implementing it directly in common lisp - assuming you want to use common lisp, not a lisp-like language that runs on the jvm.
raffaelcavallaro at me.com
More information about the Openmcl-devel