JLIB library = 600 lines of Jscheme code
Database library = 30 lines (to implement (dbquery STRING))
Shell Scripting lib = 70 lines

Jscheme + javadot + jdk1.4... makes it very easy to write such libraries.
e.g., Pattern matching is implemented in 4 lines using java.util.RegEx
(define (// pattern)
  (let ((p (Pattern.compile pattern)))
    (lambda (object)
      (.find (.matcher p (.toString object))))))
Similarly, file filtering is implemented in 6 lines using methods and takes a function argument for filtering.


back to top

set preferences

LL2, Saturday 9 November 2002, Tim Hickey/Ken Anderson