This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: getop-gnu-style.scm


Hi!

>>>>> Russ McManus writes:

 RM> One caveat; the routines in this source file don't properly
 RM> implement complete getopt_long functionality.  I think that's why
 RM> I didn't call it that to begin with.  The big thing that is
 RM> missing is support for single letter options.  I would add this
 RM> code if someone requested it.

In GUSH, I'm reimplementing the GNU Argp functions in Scheme (see your
favorite glibc-2.1 reference manual, or Hurd sources).

Once we have argp, it makes sense to implement both getopt-long and
getopt in terms of it.

BTW, my convention has been to use the (gnu ...) packages as Scheme
equivalents of C header files on a GNU system.  So (gnu argp) contains
the stuff that would be in <argp.h>, (gnu errno) does <errno.h>, etc.

-- 
 Gordon Matzigkeit <gord@fig.org> //\ I'm a FIG (http://www.fig.org/)
    Lovers of freedom, unite!     \// I use GNU (http://www.gnu.org/)

Copyright (C) 1998 FIG.org; the creator offers you this gift and wants it
to remain free.  See http://www.fig.org/freedom.html for details.
  This work may be copied, modified and distributed under the GNU General
  Public License (GPL).  See http://www.gnu.org/copyleft/gpl.html.