| ▲ | A Forth-inspired language for writing websites(robida.net) | ||||||||||||||||||||||||||||
| 73 points by speckx 5 hours ago | 9 comments | |||||||||||||||||||||||||||||
| ▲ | Someone 36 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||
> Something like this: > : h1 ( s -- ) "<h1>" emit . "</h1>" emit ; > "Hello, World!" h1 So, what’s the difference between . and emit? It seems both take a string and output it to the HTML of the page. If so I don’t see why that couldn’t be
We also have:
where, I think, the idea is to always have the two strings consistent with each other. If so, why require the blog writer to do that conversion? | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | jng 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
LLM-based coding is enabling so much! The crazy weekend project now can have compilation to native code and web assembly, allow server-side or client-side rendering, manage multiple types of persistence, include adaptive compression, and do all of this without breaking a sweat. It's scary but I love it. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | WorldMaker 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> I like how weird it is. I might use it for my site, who knows? If there's a place to use a weird and fun language it is certainly one's own personal blog. Sounds like a great opportunity, I think you should do it. | |||||||||||||||||||||||||||||
| ▲ | hvs 4 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
HN Hug of Death: https://web.archive.org/web/20260522134016/https://robida.ne... | |||||||||||||||||||||||||||||