Lua can be a really cool HTML templating engine · riki's house
riki.house · 7,605 words · saved by 1 readers
It’s a pretty cool language. It is also one of my favourite programming languages, for which I made a case in a past blog post.
Have you ever used Lua? It’s a pretty cool language. It is also one of my favourite programming languages, for which I made a case in a past blog post . One of my favourite aspects of Lua’s design that I like to preach about is how it’s really tight and small, while also being genuinely really sweet to write. Today, I’d like to focus on its Lisp-like aspect: domain specific languages (DSLs)—specifically, we will use it to build a templating language for HTML. But first, let me set some background. What’s in a template engine? As a fellow blogger on the Internet maintaining their own blogging s
saved by
related reading
- A half-hour to learn Rustfasterthanli.me
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4.github.com
- The unreasonable effectiveness of HTML — examplesthariqs.github.io
- A Gentle Introduction to LLVM IR · mcyoungmcyoung.xyz
- Using HTML as a Compile Target — Yosh Wuyts — Blogblog.yoshuawuyts.com
- Learn Lua in Y Minuteslearnxinyminutes.com
- Full Lua Programming Crash Course - Beginner to Advancedyoutube.com
- Ampampcode.com
- Here’s how I use LLMs to help me write codesimonwillison.net
- Productizing Large Language Modelsblog.replit.com
- Re-implementing LangChain in 100 lines of codeblog.scottlogic.com
- Beautiful Racket: Make a language in one hour: stackerbeautifulracket.com