[Ecls-list] Works!

Juan Jose Garcia Ripoll lisp at arrakis.es
Thu Oct 20 09:38:24 UTC 2005


On Thu, 2005-10-20 at 16:37 +0200, Goffioul Michael wrote:
> I provided a high-level function "make-build" to start the compilation easily.
> The function pseudo-declaration is:
> 
> 	(defun make-build (system-name &key (type :fasl) (:monolithic t)) ...)
> 
> Possible values for the type argument are all values supported by the type
> argument of compile-file-pathname or c::builder.
> Please comment, ... and have fun.

I already tested  it with the first package I had at hand and it really
works great. Only missing is to remove the associated object files.

Juanjo

----

~/src/lisp$ cd cl-ppcre-1.2.11/
~/src/lisp/cl-ppcre-1.2.11$ ecl
ECL (Embeddable Common-Lisp) 0.9g
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
	ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> (require 'asdf)
;;; Loading #P"/home/jlr/lib/ecl/asdf.fas"
[...]
("ASDF")
> (load "cl-ppcre.asd")
;;; Loading "cl-ppcre.asd"
"cl-ppcre.asd"
> (use-package "ASDF")
T
> (make-build :cl-ppcre :type :fasl)
;;; Loading #P"/home/jlr/lib/ecl/cmp.fas"
;;; Loading #P"/home/jlr/lib/ecl/sysfun.lsp"
;;; Loading "/home/jlr/src/lisp/cl-ppcre-1.2.11/packages.lisp"
;;; Loading "/home/jlr/src/lisp/cl-ppcre-1.2.11/specials.lisp"
[...]
> (load "cl-ppcre.fas")
;;; Loading "cl-ppcre.fas"
[...]
"cl-ppcre.fas"
> (load "ppcre-tests")
;;; Loading #P"ppcre-tests.lisp"
#P"ppcre-tests.lisp"
> (cl-ppcre-test:test)
..........
..........
..........
..........
..........
..........
......
 662 ("a" =~ /((a)*)*/):
   \2: expected NIL but got "a"
....
.........
 790 ("babc" =~ /^(b*|ba){1,2}bc/):
   \1: expected "" but got "ba"
.
..........
..........
..........
..........
..........
..........
...
1439 ("dbaacb" =~ /(?<!(c|d))[ab]/):
   \1: expected NIL but got "d"
.......
..........
..

The errors are expected, as mentioned in the CL-PPCRE documentation





More information about the ecl-devel mailing list