package main templ navbar() { The h programming language - Docs - Playground - FAQ } templ footer() {

From Within

} templ homePage() {

A simple, fast, open-source, complete and safe language for developing modern software for the web


Example Program

h

Outputs:

h

Fast Compilation

h probably compiles hundreds of characters of source per second. I didn't really test how fast it is, but when I was testing it the speed was fast enough that I didn't care to profile it.


Safety

h is completely memory safe with no garbage collector or heap allocations. It does not allow memory leaks to happen, nor do any programs in h have the possibility to allocate memory.


Zero* Dependencies

h generates WebAssembly, so every binary produced by the compiler is completely dependency free save a single system call: h.h. This allows for modern, future-proof code that will work on all platforms.


Simple

h has a simple grammar that gzips to 117 bytes. Creating a runtime environment for h is so trivial just about anyone can do it.


Platform Support

h supports the following platforms:


International Out of the Box

h supports multiple written and spoken languages with true contextual awareness. It not only supports the Latin h as input, it also accepts the Lojbanic ' as well. This allows for full 100% internationalization into Lojban should your project needs require it.


Testimonials

Not convinced? Take the word of people we probably didn't pay for their opinion.


Open-Source

The h compiler and default runtime are open-source free software sent out into the Public Domain. You can use h for any purpose at all with no limitations or restrictions.


} templ docsPage() {

Coming soon...


} templ faqPage() {

What are the instructions of h?

h supports the following instructions:

All valid h instructions must be separated by a space (\0x20 or the spacebar on your computer). No other forms of whitespace are permitted. Any other characters will render your program gentoldra.

How do I install and use h?

With any computer running Go 1.11 or higher:

go get -u -v within.website/x/cmd/hlang
Usage is simple:
{ usage }

What version is h?

Version 1.0.1, this will hopefully be the only release.

What is the h koan?

And Jesus said unto the theologians, "Who do you say that I am?"

They replied: "You are the eschatological manifestation of the ground of our being, the kerygma of which we find the ultimate meaning in our interpersonal relationships."

And Jesus said "...What?"

Some time passed and one of them spoke "h".

Jesus was enlightened.

Why?

That's a good question. The following blogposts may help you understand this more:

Who wrote h?

Within

} templ playgroundPage() {

Unfortunately, Javascript is required to use this page, sorry.

Program

Output

AST

Execution time (nanoseconds):

}