From clynbech at common-lisp.net Fri May 14 21:17:59 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 17:17:59 -0400 Subject: [cparse-cvs] CVS update: cparse/README Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv11648 Modified Files: README Log Message: Date: Fri May 14 17:17:59 2004 Author: clynbech Index: cparse/README diff -u cparse/README:1.1.1.1 cparse/README:1.2 --- cparse/README:1.1.1.1 Mon Mar 18 03:04:59 2002 +++ cparse/README Fri May 14 17:17:59 2004 @@ -1,8 +1,15 @@ cparse is a Common Lisp package for parsing the subset of ANSI C that is likely to be in header files. It understands variable and function declarations arrays, structures, enums, and constant expressions. It -also includes cmu-alien.lisp, which uses cparse to construct foreign -function definitions for CMUCL's alien facility. +also includes three usages of cparse to construct foreign +function definitions for different alien facilities: + - cmu-alien.lisp FFI for CMUCL + - acl-alien.lisp FFI for Allegro CL + - uffi-alien.lisp FFI for the portable UFFI library +All three are included for historical completeness. The CMUCL solution +was what cparse was originally written to handle. The ACL solution was +later written by Christian Lynbech. Both are no longer supported, all +effort will be used on the UFFI solution. CPARSE @@ -67,5 +74,5 @@ REPORTING BUGS -Send bugs to moore at bricoworks.com. It's most helpful if you can send +Send bugs to cparse-devel at common-lisp.net. It's most helpful if you can send C files that have been preprocessed. From clynbech at common-lisp.net Fri May 14 21:19:42 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 17:19:42 -0400 Subject: [cparse-cvs] CVS update: cparse/cmu-alien.lisp Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv27024 Modified Files: cmu-alien.lisp Log Message: fixed missing arguments for condition 'alien-not-implemented'. changed use of 'char' into 'cl:schar'. Date: Fri May 14 17:19:42 2004 Author: clynbech Index: cparse/cmu-alien.lisp diff -u cparse/cmu-alien.lisp:1.1.1.1 cparse/cmu-alien.lisp:1.2 --- cparse/cmu-alien.lisp:1.1.1.1 Mon Mar 18 03:04:59 2002 +++ cparse/cmu-alien.lisp Fri May 14 17:19:42 2004 @@ -52,7 +52,8 @@ (intern (c-name-to-lisp-name csym) package)) ) -(define-condition alien-not-implemented (cparse-error)) +(define-condition alien-not-implemented (cparse-error) + (format-string &rest format-args)) (defvar *struct-tags*) @@ -78,7 +79,7 @@ (dolist (file files) (format cpp-file-stream "#include \"~A\"~%" - (if (eql (char file 0) #\/) + (if (eql (cl:schar file 0) #\/) file (concatenate 'string default-dir file)))) (close cpp-file-stream)) From clynbech at common-lisp.net Fri May 14 21:20:59 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 17:20:59 -0400 Subject: [cparse-cvs] CVS update: cparse/.cvsignore Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv2904 Added Files: .cvsignore Log Message: Date: Fri May 14 17:20:59 2004 Author: clynbech From clynbech at common-lisp.net Fri May 14 21:44:22 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 17:44:22 -0400 Subject: [cparse-cvs] CVS update: cparse/cmu-alien.lisp Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv4808 Modified Files: cmu-alien.lisp Log Message: Date: Fri May 14 17:44:22 2004 Author: clynbech Index: cparse/cmu-alien.lisp diff -u cparse/cmu-alien.lisp:1.2 cparse/cmu-alien.lisp:1.3 --- cparse/cmu-alien.lisp:1.2 Fri May 14 17:19:42 2004 +++ cparse/cmu-alien.lisp Fri May 14 17:44:22 2004 @@ -2,6 +2,8 @@ ;;; Copyright (c) 2001 Timothy Moore ;;; All rights reserved. ;;; +;;; Modified 2004 by Christian Lynbech +;;; ;;; Redistribution and use in source and binary forms, with or without ;;; modification, are permitted provided that the following conditions ;;; are met: From clynbech at common-lisp.net Fri May 14 22:04:34 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 18:04:34 -0400 Subject: [cparse-cvs] CVS update: cparse/ChangeLog Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv12834 Modified Files: ChangeLog Log Message: *** empty log message *** Date: Fri May 14 18:04:34 2004 Author: clynbech Index: cparse/ChangeLog diff -u cparse/ChangeLog:1.1.1.1 cparse/ChangeLog:1.2 --- cparse/ChangeLog:1.1.1.1 Tue Mar 19 13:08:01 2002 +++ cparse/ChangeLog Fri May 14 18:04:34 2004 @@ -1,3 +1,8 @@ +2004-05-14 Christian Lynbech + + * cmu-alien.lisp (alien-not-implemented): Added formal parameters. + (make-alien-defs): Changed `char' to `cl:schar'. + 2002-03-19 Tim Moore * cparse.lisp (%peek-character): No optional defaults in From clynbech at common-lisp.net Fri May 14 22:06:24 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 18:06:24 -0400 Subject: [cparse-cvs] CVS update: cparse/ChangeLog Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv20745 Modified Files: ChangeLog Log Message: Date: Fri May 14 18:06:24 2004 Author: clynbech Index: cparse/ChangeLog diff -u cparse/ChangeLog:1.2 cparse/ChangeLog:1.3 --- cparse/ChangeLog:1.2 Fri May 14 18:04:34 2004 +++ cparse/ChangeLog Fri May 14 18:06:24 2004 @@ -1,3 +1,7 @@ +2004-05-15 Christian Lynbech + + * acl-alien.lisp: New file. + 2004-05-14 Christian Lynbech * cmu-alien.lisp (alien-not-implemented): Added formal parameters. From clynbech at common-lisp.net Fri May 14 22:06:45 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 18:06:45 -0400 Subject: [cparse-cvs] CVS update: cparse/acl-alien.lisp Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv20942 Added Files: acl-alien.lisp Log Message: Date: Fri May 14 18:06:45 2004 Author: clynbech From clynbech at common-lisp.net Fri May 14 22:10:30 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 18:10:30 -0400 Subject: [cparse-cvs] CVS update: cparse/cparse-package.lisp Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv17665 Removed Files: cparse-package.lisp Log Message: Date: Fri May 14 18:10:30 2004 Author: clynbech From clynbech at common-lisp.net Fri May 14 22:11:15 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 18:11:15 -0400 Subject: [cparse-cvs] CVS update: cparse/package.lisp Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv21352 Added Files: package.lisp Log Message: Date: Fri May 14 18:11:15 2004 Author: clynbech From clynbech at common-lisp.net Fri May 14 22:11:53 2004 From: clynbech at common-lisp.net (Christian Lynbech) Date: Fri, 14 May 2004 18:11:53 -0400 Subject: [cparse-cvs] CVS update: cparse/system.lisp Message-ID: Update of /project/cparse/cvsroot/cparse In directory common-lisp.net:/tmp/cvs-serv23262 Added Files: system.lisp Log Message: Date: Fri May 14 18:11:53 2004 Author: clynbech