Skip to main content

KLL Compiler

Project description

kll - keyboard layout language

https://travis-ci.org/kiibohd/kll

Visit our IRC channel

Visit our Discord Channel

If you're trying to compile keyboard firmware, you want THIS

KLL Compiler

Most current version of the KLL Spec.

Uses funcparserlib

Dependencies

Dependencies can be installed manually, or by using a pipenv.

pipenv install
pipenv run kll/kll --version

or

pip install layouts

Usage

General Usage

kll <kll files>

Kiibohd Controller Usage

kll <misc kll files> --config <config/capability kll files> --base <basemap kll files) --default <default layer kll files> --partial <partial layer 1 kll files> --partial <partial layer 2 kll files>

See kll --help for the most up to date documentation

Unit Tests

Unit tests can be found in the tests directory. They are run by Travis-CI, but can be useful when testing your own changes.

Remember to add new tests when adding new features/changes.

Code Organization

  • kll/common - Main portion of KLL compiler.
  • kll/emitters - Various output formats of the KLL compiler.
  • kll/examples - Example kll files, often used for test cases.
  • kll/extern - External libraries, copied into git repo for convenience.
  • kll/layouts - Layout kll files used for various keyboards and tests.
  • kll/templates - Templates used by emitters when generating output.
  • tests - Unit tests for the KLL compiler.

Patches/Features/Backends

Completely welcome :D

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kll-0.5.5.4.tar.gz (142.2 kB view hashes)

Uploaded Source

Built Distribution

kll-0.5.5.4-py3-none-any.whl (659.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page