HTPL Compiler
  • HTPL Compiler
  • Introduction
  • Github repository
  • What is HTPL and why it exists
  • Getting started
  • Syntax
    • Variable declaration
    • Returning values
    • Operations between values
    • Value assignment
    • If then else branches
    • Comparison and logical operators
    • Function declaration and invocation
    • While loop
    • Inputs and outputs
    • Comments
  • Other
    • HTPLCompiler interface - Browser
    • Error handling
Powered by GitBook
On this page

Was this helpful?

  1. Syntax

Comments

All elements that are not children of the <HTPL> tag will be ignored. If you want to add comment to your code, you can use the traditional HTML comment <!--comment--> or assign the class HTPL-ignore to the element. This makes the compiler to skip the element and all his children:

<!--This cite tag and all his children will be ignored-->
<cite class="HTPL-ignore">
    <b id="+">
        <p>Foo now has values: </p>
        <p id="foo"></p>
    </b>
</cite>
PreviousInputs and outputsNextHTPLCompiler interface - Browser

Last updated 4 years ago

Was this helpful?