[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing scheme only programs

From: Ludovic Courtès
Subject: Re: Installing scheme only programs
Date: Fri, 11 Mar 2011 13:53:37 +0100
User-agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux)


Thien-Thi Nguyen <address@hidden> writes:

> () Diogo F. S. Ramos <address@hidden>
> () Thu, 10 Mar 2011 03:50:29 -0300 (BRT)
>    I recently learn a technique where, during 'make', one 'cat' all the
>    sources files together, forming a big, single executable script. Doing
>    so, there is no need to install the .scm files, because they are all
>    inside the same executable file.
> This is the technique used in RPX:
> It generalizes "compilation" from simple concatentation to include other
> program-specific transforms.  End result is two files to (un)install:
>  - $(bindir)/rpx
>  - $(infodir)/

But then doesn’t it prevent code reuse?

I don’t know to what extent this applies to RPX, but for instance, you
can’t just ‘(use-modules (rpx the-feature-you-want-to-use))’; you end up
doing ‘(use-modules (rpx))’ and potentially pulling more code than you
really want.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]