No description
| click_driver | ||
| include/click | ||
| libclick | ||
| tests | ||
| .clang-format | ||
| .clangd | ||
| .gitignore | ||
| meson.build | ||
| README.md | ||
click
Language frontend for C-like languages, with heavy focus on correctness and simplicity
Goals:
- easy to modify
- easy to extend to other languages
- easy to use for writing tooling
- "correct"
- fast enough for most use cases
Building
meson setup build/ --prefix /usr
# ^^^^^^^^^^^^^
# only required when you want to install too
#
# you can also add --buildtype release OR --buildtype debugoptimized
meson compile -C build/
# installs /usr/include/click/*, /usr/lib/libclick.a, and /usr/bin/click
meson install -C build
Development
- Use
clang-format(>= 21!!) - If the result of the auto-formatter looks bad, don't disable formatting, but instead refactor your code.
- Commit messages abide by the Conventional Commits style for the most part;
however, we add extra types on top:
docs,style: documentation and formatting changes, respectivelyperf: performance improvementstest: add or improve testsrefactor: rename, move, or deprecate stuffchore: remove long deprecated functions, change build system, and relatedmisc: anything else