chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Chicken module and application project source structure


From: David Christensen
Subject: [Chicken-users] Chicken module and application project source structure
Date: Mon, 23 Sep 2019 18:53:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

chicken-users:

For a noob first project, I would like to write a command-line utility in Chicken Scheme:

  Usage: update [options] [src] dst

  Copy file src to file dst if contents are different.
  Read STDIN if src is '-' or if src is omitted.

  Options:
  --create      Create dst if it does not exist (default)
  --nocreate    Exit with error if dst does not exist


I would like to put the functionality into a library source file and put the command-line interface into a program source file that includes or uses the library.


Is there an convention for Chicken project source directory and file structure?


What about toolchain conventions? (E.g. Makefile?)


Is there anything analogous to Perl's h2xs, module-starter, ExtUtils::MakeMaker, Module::Build, etc?


David



reply via email to

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