Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for CodeKitLang, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size CodeKitLang-0.4.tar.gz (11.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page