Skip to main content

CodeKit Language Compiler, Python implementation

Project description

A CodeKit Language compiler based on Python.

There is the Reference implementation written by Objective-C.

Install

From PyPI:

pip install CodeKitLang

From source:

python setup.py install

Running Compiler

Run pykitlangc or python -m codekitlang.command:

usage: pykitlangc [-h] [-f DIR] [--missing-file-behavior BEHAVIOR]
                  [--missing-variable-behavior BEHAVIOR]
                  SRC DEST

CodeKit Language Compiler.

positional arguments:
  SRC                   input file
  DEST                  output file

optional arguments:
  -h, --help            show this help message and exit
  -f DIR, --framework-paths DIR
                        path for lookup include file (allow multiple defs)
  --missing-file-behavior BEHAVIOR
                        one of ignore, logonly, exception (default: logonly)
  --missing-variable-behavior BEHAVIOR
                        one of ignore, logonly, exception (default: ignore)

Running Tests

From the top level directory run python setup.py test or run py.test.

TODO

Under features are planed, but not implement yet.

  • Directory recursive compile.

  • Watchdog integration.

  • Encoding Detection.

  • Python3 support.

License

CodeKitLang is offered under BSD License.

Change History

0.4 - 2015-03-09

  • Fix loading variable before normal html comment (by huubbouma)

0.3 - 2014-07-19

  • User friendly error messages.

  • Detect cyclic inclusion.

  • Handle options for files are not found.

  • Handle options for variables are not found.

0.2 - 2014-02-25

  • Fixes Unicode Error on non-ASCII content.

  • Update Documents.

0.1.3 - 2013-09-15

  • Not Changed.

  • Fixes typo in copying and MANIFEST

0.1.2 - 2013-09-01

  • Not Changed.

  • Fixes typo in classifiers.

0.1.1 - 2013-09-01

  • Not Changed.

  • Remove beta classifier.

0.1 - 2013-09-01

  • Initial release.

  • Add command pykitlangc.

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

CodeKitLang-0.4.tar.gz (11.5 kB view details)

Uploaded Source

File details

Details for the file CodeKitLang-0.4.tar.gz.

File metadata

  • Download URL: CodeKitLang-0.4.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CodeKitLang-0.4.tar.gz
Algorithm Hash digest
SHA256 af72dfaca688fd55901c1cad35aebb73193d29c7b7c219666d51697a5e44362a
MD5 59b664887a416e277b841d182c677634
BLAKE2b-256 f263736e80bf8d46016252cbd5dc3ea0221b6e16a6da328fda9edb45a26b9f98

See more details on using hashes here.

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