chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] [PATCH 0/4] Some symbol and module-related patches


From: Evan Hanson
Subject: [Chicken-hackers] [PATCH 0/4] Some symbol and module-related patches
Date: Sat, 13 May 2017 19:55:44 +1200

Hi folks,

Here are a few patches that deal with symbols and namespaces.

The first changes the way explicitly-namespaced symbols are handled
(that is, symbols with a module name directly included, like "foo#bar"),
making them behave essentially like qualified symbols as far as variable
resolution is concerned. This allows them to be used across module
boundaries, granting us more freedom to organise things in the way that
makes most sense within core. Please see the commit message for full
details.

By way of example, the second uses this capability to refactor some
internal helper procedures in extras.scm that are also used in
srfi-4.scm. Again, the commit message has a full explanation. This isn't
a super important change, but it does slightly improve some error
messages, and it provides an example of the effect of the previous
patch. Please note that you will need to use a chicken (or a
boot-chicken) that includes the first commit in order to build this
second one.

The third and fourth patches aren't really related to the first two, but
they're both straightforward changes, so I've included them here.

Let me know if you have any questions.

Cheers,

Evan



reply via email to

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