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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for CodeKitLang-0.3.tar.gz
Algorithm Hash digest
SHA256 4fc464fcec87e26922cac7b802b2af4543a05ba1413057dd4b9370507d742195
MD5 3dc856aff2868484733cbd5899fd13b5
BLAKE2b-256 140a47e376f04f70113dc51b6345e635a1a4839fa7654b47bfde9baeb445f8d6

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