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

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to