Live data from Hacker News

Flat HTML

github.com

31–40 of 48 posts

Re: Flat HTML

#32

What has the world come to if this mess is considered easier than writing some nested html tags? (Perhaps I'm not plugged into the SPA scene well enough to appreciate this project. I hope it is useful to some.) In fact, reading the examples made me check to see if the first commit to this project was today, April Fools...

Replugging bepis, another way to write 'flat' HTML using operators with a slightly different operator set: https://github.com/dosyago/bepis

For me I just wanted to stop writing all the extra syntax (like ` =` and closing tags) and use symbols my fingers were already reaching for. Just about conciseness, efficiency and enjoyment.

I really like the operator choice in this project!

Re: Flat HTML

#33
Bahah that was fun. Also someone should totally make a brainfuck html generator.

All tags could be in alphabetical order and you cycle through them in brainfuck. Pop in class names and id's and you're onto a winner!

Re: Flat HTML

#38
What's with everyone's obsession with treating html like assembly: "Only people with long white hair and beards, magic wands and capes know html... Like... Like Gandalf, bruh!"

General question, it's been my main criticism towards all the modern js "frameworks" like react, vue and whatnot. Seriously, what gives?

Re: Flat HTML

#39
post #22

Earlier quoted context omitted.

That is amazing! I hope you can share the toolchain that lets you convert from one to the other so seamlessly?

I will as soon as the indentation technology has been worked out, and the API stabilized and a documentation framework has been completed, targeting 4/1/21.

4th of Jan?

;)

Re: Flat HTML

#40

What has the world come to if this mess is considered easier than writing some nested html tags? (Perhaps I'm not plugged into the SPA scene well enough to appreciate this project. I hope it is useful to some.) In fact, reading the examples made me check to see if the first commit to this project was today, April Fools...

One advantage is security. The text after the equals sign in each string can't be misinterpreted as HTML syntax, so it's safe to build flat HTML using string concatenation.
Post reply on HN