Hi folks, Here's another patch for chicken-5. It makes "(include ...)" search for files relative to the including file. Relative includes are given the lowest search priority, i.e. they are only used when the included file isn't found in the CWD or any of the directories specified with the "-include-path" option.
I considered two alternative approaches when implementing this feature. One was to leave the current behaviour of `include` alone and instead add a new `include-relative` form (similarly to how we have both `load` and `load-relative`), and the other was to make the relative inclusion behaviour toggleable with a parameter. Both seemed like unnecessary knobs to me. Cheers, Evan _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
