Search found 9 matches

by WeYu
Sun Feb 14, 2010 2:20 am
Forum: Common Lisp
Topic: include, kinda C style?
Replies: 8
Views: 7440

Re: include, kinda C style?

Faslpath implements this. Have a look, feedback welcome. It allows you to specify dependencies as a quoted list at the beginning of a file, like so: '("foo" "bar" :com.company.library-x) It means foo.lisp and bar.lisp need to be compiled (if necessary) and loaded before compiling...
by WeYu
Mon Nov 30, 2009 2:48 pm
Forum: Common Lisp
Topic: Autoproject adds ORM generation tool.
Replies: 0
Views: 4033

Autoproject adds ORM generation tool.

Autoproject has added ap-crud, a module that is able to automatically generate classes from a database schema. It is intended to make working with databases more pleasant. The generated classes aid in querying and manipulating the contents of the database by reducing the amount of sql one has to wri...
by WeYu
Sat Oct 24, 2009 2:45 pm
Forum: Common Lisp
Topic: Temporary package nicknames with ap-pkg
Replies: 0
Views: 4061

Temporary package nicknames with ap-pkg

Autoproject has added a module that supports temporary package renaming with (simple) conflict resolution. Should work on any implementation. Give it a go . From the readme: The function AUTOPROJECT.PKG:ALIAS provides a straightforward facility for renaming packages temporarily as if they were local...
by WeYu
Tue Aug 04, 2009 8:49 am
Forum: Common Lisp
Topic: Simple makefile generation for asdf systems
Replies: 2
Views: 6489

Re: Simple makefile generation for asdf systems

Update: a shellscript called "autoasdf" was added to the package.

The script can be used to build asdf systems in a number of ways without having to generate makefiles. The option to generate makefiles is still present though.
by WeYu
Sun Aug 02, 2009 2:17 am
Forum: Common Lisp
Topic: Simple makefile generation for asdf systems
Replies: 2
Views: 6489

Simple makefile generation for asdf systems

Autoproject is a small utility that will generate a simple makefile from asdf system definitions. The makefile can be used to compile a system and create cores. Intermediate cores are used to make recompilation faster.

Get it here: http://code.google.com/p/autoproject/
by WeYu
Sat Apr 11, 2009 1:13 am
Forum: Common Lisp
Topic: Faslpath - a build tool for CL
Replies: 0
Views: 4180

Faslpath - a build tool for CL

From the homepage: Faslpath is a build tool for Common Lisp that does not require separate build files. Instead, it relies on naming conventions to resolve dependencies between files. It is intended to simplify deployment of lisp packages. It will let you build your software without .asd files. Addi...
by WeYu
Thu Sep 04, 2008 4:11 am
Forum: Common Lisp
Topic: How to split project into multiple files
Replies: 6
Views: 15715

Re: How to split project into multiple files

It is a good practice to create pathnames using MERGE-PATHNAMES and friends. Creating pathname strings and hoping they'd work is not advisable. Right, the load-relative function should probably look something like this: (defun load-relative (filename) (load (compile-file (merge-pathnames filename *...
by WeYu
Thu Aug 28, 2008 4:05 am
Forum: Common Lisp
Topic: How to split project into multiple files
Replies: 6
Views: 15715

Re: How to split project into multiple files

I'm trying to write my first lisp program and I've got a problem how to split it into multiple files. I can't figure out how to make CL automatically compile and load a few files. If I create file1.lisp with: (load "file2.lisp") won't look for file2 in the same directory as file1. If you ...
by WeYu
Sun Aug 10, 2008 1:54 pm
Forum: Common Lisp
Topic: Printable CLOS objects..?
Replies: 5
Views: 11724

Re: Printable CLOS objects..?

However, something that I like about structs is that they can easily be printed in a way that the reader can read them back in. This makes it easy to do simple archival of objects in plain text files. I've noticed recently that CLOS objects do not seem to be printable in the same way (they print wi...