Skip to main content

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.

Release files for CodeKitLang 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CodeKitLang 0.4
File Size Uploaded
CodeKitLang-0.4.tar.gz 11.5 kB Details

Release files / CodeKitLang-0.4.tar.gz

Download URL CodeKitLang-0.4.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
af72dfaca688fd55901c1cad35aebb73193d29c7b7c219666d51697a5e44362a
BLAKE2b-256 checksum
How to use checksums
f263736e80bf8d46016252cbd5dc3ea0221b6e16a6da328fda9edb45a26b9f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file

0.3

1 release file

0.2

1 release file

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page