Sam Steingold wrote:
> you did not mention the licensing terms.
> (note that since your module relies on CLISP internals, your only option
> is GNU GPL2).
All right, I choose GPL2.
> there are some small rough edges.
> e.g., the whole error_message business that you copied from bdb is
> completely out of place here: bdb uses callbacks and gdbm, apparently
> does not.
> gdbm.xml is obviously missing.
Ok, I'll revise the error handling code and create gdbm.xml.
I've a question abount error-handling in C-module.
Usually I wrote the following code:
;; 1. define error
(define-condition my-error (simple-error) (...))
;; 2. use error
(defun my-proc (x)
(if (pred x)
(error (make-condition 'my-error :param x ...)))) ;; *
;; 3. handle error
(my-proc (c) ...))
Could I use that style in C-module?
I think that it works, but I'm not confident correct.
Are there better way?
> if you want us to include your module with the official clisp
> distribution, I will put it under the cvs on SF and give your write
> access to the tree.
Yes, I want to contribute this module.