Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dynamic partial names #941

Merged
merged 4 commits into from
Jan 19, 2015
Merged

Add support for dynamic partial names #941

merged 4 commits into from
Jan 19, 2015

Commits on Jan 18, 2015

  1. Add support for dynamic partial names

    Uses the subexpression syntax to allow for dynamic partial lookups. Ex:
    
    ```
    {{> (helper) }}
    ```
    
    Fixes #933
    kpdecker committed Jan 18, 2015
    Configuration menu
    Copy the full SHA
    cb51b82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d567d9c View commit details
    Browse the repository at this point in the history
  3. Update for proposed SubExpression dependency break

    Avoids parsing against SubExpressions and instead inlines the content that a subexpression otherwise would have. This can still be based via duck typing so should not add much overhead to the compiler.
    kpdecker committed Jan 18, 2015
    Configuration menu
    Copy the full SHA
    999da73 View commit details
    Browse the repository at this point in the history
  4. Avoid direct references to sexpr in statements

    This allows us to avoid creating unnecessary AST nodes and avoids things like isHelper.
    
    Side effect of these changes is that @DaTa functions can now have data parameters passed to them.
    kpdecker committed Jan 18, 2015
    Configuration menu
    Copy the full SHA
    884bf15 View commit details
    Browse the repository at this point in the history