Skip to content

feat: inline modules#2715

Draft
corvusrabus wants to merge 1 commit intocasey:masterfrom
corvusrabus:inline_modules
Draft

feat: inline modules#2715
corvusrabus wants to merge 1 commit intocasey:masterfrom
corvusrabus:inline_modules

Conversation

@corvusrabus
Copy link
Copy Markdown
Contributor

Draft for non-nested inline modules according to the syntax mainly agreed upon in #2442.

Syntax:

# foo is an inline module!
foo::
  hello:
    @echo "Hello from inside the inline foo module"

Contributes to #2252.

I think there's still a couple of open questions that need to be clarified before something like this PR can be merged

  • Should the entire module code depending on filepaths be refactored to accommodate for inline modules that don't directly correspond to a file.
  • what should module_directory and module_directory do when used inside an inline module? Should probably just fail?
  • Probably more

@musjj
Copy link
Copy Markdown

musjj commented Feb 18, 2026

Hey, are you still working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants