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.7.3.tar.gz (163.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kll-0.5.7.3-py3-none-any.whl (803.4 kB view details)

Uploaded Python 3

File details

Details for the file kll-0.5.7.3.tar.gz.

File metadata

  • Download URL: kll-0.5.7.3.tar.gz
  • Upload date:
  • Size: 163.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.20.1

File hashes

Hashes for kll-0.5.7.3.tar.gz
Algorithm Hash digest
SHA256 726720d8e60e6bf5b70b7fd2044086d0a6d1345216a54423909139ab8ea9c9cc
MD5 752a2693d5fbe5f44629da77fe2e4825
BLAKE2b-256 f9497573eb4bc638331322bb9120f37a5ace48dadee84fdc166803467dcd036a

See more details on using hashes here.

File details

Details for the file kll-0.5.7.3-py3-none-any.whl.

File metadata

  • Download URL: kll-0.5.7.3-py3-none-any.whl
  • Upload date:
  • Size: 803.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.20.1

File hashes

Hashes for kll-0.5.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 99bd64a684da6f7c8057bd5cb6c9420dd4807da5b8e31aaef98b8269032c16e7
MD5 d1ffc4cb0318b7a1626154ee76781495
BLAKE2b-256 36463e8bc08d149c5a81996717c9afbb13a5c03f9ee758457dbdeb414c7e9772

See more details on using hashes here.

Supported by

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