Aire-One
896c7f2f04
To allow `extract_section_functions` to populate `other_node`, we need to use the `module_name` and migrate the function name scrap method to use the actually displayed text instead of playing with the node `name` attribute. Because of this change, we also need to update `extract_section_variables`. Not a big deal. BTW, we resolved an issue where `string` variable can wrongly be detected as `enum`. |
||
---|---|---|
.vscode | ||
.woodpecker | ||
rockspecs | ||
spec | ||
src/awesomewm.d.tl | ||
types | ||
.busted | ||
.editorconfig | ||
.gitignore | ||
.luacheckrc | ||
README.MD | ||
debug.lua | ||
justfile | ||
set_paths.lua | ||
set_paths.tl | ||
stylua.toml | ||
tlconfig.lua |
README.MD
AwesomeWM.d.tl
A project to generate Teal types definitions for the Awesome WM based on the API documentation.
Dependencies
Project dependencies
- Lua5.4
- Luarocks
- Just (optional, you can check the commands in the
justfile
and manually run them)
Note that additional dependencies are installed as rocks with Luarocks.
Development dependencies
- Luacheck
- Stylua
- Busted-tl (https://gitea.aireone.xyz/Aire-One/busted-tl)
Run the project
# Install rocks
just install
# Run the main script
just run
Custom settings for the project can be changed in the src/awesomewm.d.tl/properties.lua
file.