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.11.tar.gz (174.2 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.11-py3-none-any.whl (860.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kll-0.5.7.11.tar.gz
Algorithm Hash digest
SHA256 392fd44829c00e67d12de0117004e7808501a7a6a4676b7d695a6229a224ee06
MD5 da4df5f099048a102185df7008c8413e
BLAKE2b-256 8792beb841eb0700f40c7c81dc831f50ca24c29b56613fcdcca52df29f7fb252

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kll-0.5.7.11-py3-none-any.whl
Algorithm Hash digest
SHA256 cb36cb15d0863dc0e526ad59a52f25516d4ecdaef1f7f7308e18169d6ae6f5fc
MD5 1c8e0bdb661349a3aea2710cef740568
BLAKE2b-256 9f3a02916819839be07dd734da63b58b0510b3da14c3e4511bdf2888f8359310

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