Skip to main content

Attribute language template compiler

Project description

Overview

Chameleon is a generic byte-code compiler for attribute template languages; it supports macros, includes, interpolation and internationalization.

The chameleon.core package implements a language parser API, the byte-code compiler itself and abstract template classes. It should only be used directly when implementing a language dialect.

Development

If you want to use the code directly from trunk (recommended only for development and testing usage), provide chameleon.core==dev as your dependency.

svn://svn.zope.org/repos/main/Sandbox/malthe/chameleon.core#egg=chameleon.core-dev

Want to contribute? Join #repoze on Freenode IRC.

Changelog

1.0b2 (released 11/10/2008)

  • Added support for translating dynamic body text (used in interpolation expressions). [malthe]

  • Added support for macros prebound to keyword arguments. [malthe]

1.0b1 (released 2/10/2008)

  • Fixed bugs related to temporary variables with loops and conditions. [malthe]

  • Set default value for auto-reload based on the CHAMELEON_DEBUG environment variable check. [malthe]

1.0a4 (released 9/29/2008)

  • Added method to generate unscoped temporary variables. [malthe]

  • Make lxml a hard dependency for now until the lxml-less logic is stable. [wichert]

1.0a3 (released 9/26/2008)

  • TemplateLoader now checks a default_parser class attribute if no parser is specified. [wichert]

1.0a2 (released 9/26/2008)

  • Added support for dynamic skip condition. [malthe]

  • Fixed bug where an AttributeError would be raised when using the file cache. [malthe]

1.0a1 (released 9/24/2008)

  • First release.

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

chameleon.core-1.0b2.tar.gz (51.6 kB view details)

Uploaded Source

File details

Details for the file chameleon.core-1.0b2.tar.gz.

File metadata

File hashes

Hashes for chameleon.core-1.0b2.tar.gz
Algorithm Hash digest
SHA256 39f4c919211106c3766d04fb61be9a4961c95a937457d5e25717efa0fc9df3c2
MD5 94cab31bd1124a7564b98ccf8f0db366
BLAKE2b-256 9a94f8b78da881766e1c62fb42fd07456760fc52739b125e3f847c7376789bf7

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