[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1806: Finding missing dependencies
From: |
Chicken Trac |
Subject: |
Re: #1806: Finding missing dependencies |
Date: |
Wed, 29 Jun 2022 09:50:32 -0000 |
#1806: Finding missing dependencies
---------------------------------------+---------------------
Reporter: Idiomdrottning | Owner: (none)
Type: enhancement | Status: closed
Priority: minor | Milestone: someday
Component: compiler | Version: 5.3.0
Resolution: wontfix | Keywords:
Estimated difficulty: |
---------------------------------------+---------------------
Changes (by sjamaan):
* status: new => closed
* resolution: => wontfix
Comment:
One problem with that is that the toplevel can be extended with `eval` or
`load`, so the procedure could be left undefined and then defined by (say)
loading a configuration file.
Another problem is that you can link multiple "compilation units"
together. So with a.scm containing the import and b.scm containing the
rest of the code, you could compile them separately and link them together
after which it will work.
Modules, on the other hand, have to be fully resolved.
With csc you can always use the `-m` switch to wrap your code in a module,
even if the code itself doesn't have a module.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1806#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.