r/ProgrammingLanguages • u/t_ewert • Jun 13 '26
Blog post Language Design of a new template language
https://pinc-official.leaflet.pub/3mo3nsla6z22uI have been working on a new template language in my free time. Its trying to solve some problems I have with other template languages which are outlined in the post.
Its not released / ready yet, but I am looking for some feedback :)
17
Upvotes
View all comments
Show parent comment
2
u/t_ewert Jun 14 '26
For complex logic / data transformation I agree 100%. But in my experience there are still a lot of small data transformation tasks that fit more in the template language itself.
In the end I think it comes down to personal taste of the developer and the task at hand 😄
I also think the slot could be replaced by something better. And yes, functions are really great 😄
I am curious how you would imagine the function calls as a slot replacement look like. Would you mind giving an example? 🙂