guile-user
[Top][All Lists]
Advanced

[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)

Hello,

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:
>
>   http://www.gnuvola.org/software/rpx/
>
> It generalizes "compilation" from simple concatentation to include other
> program-specific transforms.  End result is two files to (un)install:
>
>  - $(bindir)/rpx
>  - $(infodir)/rpx.info

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.

Thanks,
Ludo’.




reply via email to

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