Skip to content

Generalization of the "settings" concept #143

@lizmat

Description

@lizmat

I've started renaming files in the rakudo repo to use the new .rakumod extension. Apart from the modules living in lib, it struck me that the files that make up the setting (in src/core.c|d|e) don't really need to have an extension at all, as they are just concatenated into a single "script" if you will, to build the setting of a language version.

So I was thinking: maybe these files shouldn't have any extension at all, or one different from .rakumod. And that maybe the associated core_sources file, should live inside the directory containing the setting file, give that a special extension (e.g. .rakusetting) and generalize the building of a setting to just look for a file with that extension in a directory, use the list of files in there to concatenate, and build a setting file from that.

It's all a bit vague, I agree. But it feels to me that we should take this renaming opportunity to look further into how the setting mechanism can be used.

Metadata

Metadata

Assignees

Labels

rakudoBig changes to Rakudo

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions