chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1384: Simplify resolution of include/extend/types/in


From: Chicken Trac
Subject: [Chicken-janitors] #1384: Simplify resolution of include/extend/types/inline/extension files
Date: Wed, 05 Jul 2017 09:47:45 -0000

#1384: Simplify resolution of include/extend/types/inline/extension files
-------------------------------+--------------------------------
 Reporter:  evhan              |                 Owner:
     Type:  enhancement        |                Status:  new
 Priority:  not urgent at all  |             Milestone:  someday
Component:  compiler           |               Version:  5.0
 Keywords:                     |  Estimated difficulty:
-------------------------------+--------------------------------
 There are currently a bunch of different implementations of "file
 resolution", many of which amount to the same thing and some of which seem
 to be (mis|ab)used in certain places. It would be good to audit these and
 simplify things where possible.

 At a glance, {{{load-identifier-database}}} and {{{load-types-file}}} both
 have their own logic for locating files; {{{##sys#find-extension}}} is
 similar to these in that it searches the working directory and the
 repository, but also considers "setup-mode" (speaking of which, is this
 still necessary with the new egg system?) and the include path when
 looking for import libraries; and then there's {{{##sys#resolve-include-
 filename}}}, which is being used for include, extend, and inline files.
 This one is pretty complex and has a somewhat confusing signature. It
 would also be worth investigating whether {{{##sys#canonicalize-extension-
 path}}} is really necessary wherever it appears.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1384>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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