Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: module system #8

Draft
wants to merge 16 commits into
base: trunk
Choose a base branch
from
Draft

feat: module system #8

wants to merge 16 commits into from

Conversation

Dich0tomy
Copy link
Owner

This PR adds a module system, which is a convenient way to define consistent and compatible modules.

@Dich0tomy Dich0tomy force-pushed the feat/module-system branch 3 times, most recently from 9b850dd to df8fb81 Compare August 1, 2024 21:33
@Dich0tomy Dich0tomy force-pushed the feat/module-system branch from 88e97bc to 0645e3f Compare August 7, 2024 21:33
This library is supposed to be used within tests as it provides general
non-generic information and utilities, like project root and such.
We don't want to format files inside testfiles.
This library deals with evaluating and validating the configuration
based on the module spec and runtime value.

It also exposes a function for evaluating docs, which is not implemented yet.
This allows for mapping subsequent arrays into their inside values.

e.g.
```lua
iter.map(
  {
    { { foo = 1} }
  },
  1,
  'foo'
) ==  { 1 }
```
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.

1 participant