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
  • HTPL Compiler by Andrea Roveroni
  • Try some examples - or you're looking for Htpl-CLI?

Was this helpful?

HTPL Compiler

NextWhat is HTPL and why it exists

Last updated 4 years ago

Was this helpful?

HTPL Compiler by Andrea Roveroni

- or you're looking for ?

It's known that HTML is not a programming language. In fact it stands for Hyper Text Markup Language.

No one could make a program in HTML.

UNTIL NOW

Welcome to the HTPLcompiler, a compiler that lets you program in HTML.

Ladies and gentleman, we're I'm proud to present you the HTPL, or Hyper Text Programming Language.

The compiler checks for all elements inside a defined element (which is <HTPL>) in body, and creates a <script> element containing JS code.

Try some examples
Htpl-CLI