GithubHelp home page GithubHelp logo

isabella232 / template-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from squarespace/template-engine

0.0 0.0 0.0 662 KB

TypeScript implementation of Squarespace template language

License: Apache License 2.0

JavaScript 0.67% HTML 24.58% Shell 0.13% TypeScript 74.62%

template-engine's Introduction

template-engine

This is a port of the Squarespace Java template-compiler project to TypeScript.

Build Status Coverage Status

Versioning

The following live branches exist:

  • 1.x - for ongoing releases using moment and moment-timezone as direct dependencies
  • master - 2.x and future releases using @phensley/cldr for international formatting

Rationale

The need for compilation of Squarespace templates in the browser has grown over time. The existing projects that enable browser compilation of Squarespace templates are incomplete, incompatible and have maintenance issues.

This project is a new implementation of the Squarespace template syntax with the following goals:

  • Provide a sound foundation for current and future development.
  • Meet frontend application performance criteria.
  • Support all current server-side functionality, including all plugins.
  • Full compatibility with server compiler.
  • Separate the parsing and execution phases to support repeated executions of a template efficiently.
  • Organized and modular codebase.
  • Follow same basic design as Java compiler.
  • High test coverage.

License

Apache 2.0

template-engine's People

Contributors

phensley avatar david-xiang-sqsp avatar zachgawlik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.