cd /news/ai-tools/show-hn-nola-a-typescript-superset-w… · home topics ai-tools article
[ARTICLE · art-126038] src=nola.sh ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Show HN: Nola – a TypeScript superset where LLM inference is a language feature

A developer released Nola, a TypeScript superset that makes LLM inference a native language feature, built around three concepts: 'infer' to define the LLM inference context, 'Intent' to encapsulate data and instructions sent to the LLM, and 'ask' to resolve the Intent into a typed result. Nola currently supports two Intent operations — extracting data and calling a native TypeScript function — with more planned, and documentation is available at nola.sh/docs. The project was posted to Hacker News, where it had 1 point and 0 comments.

read1 min views1 publishedSep 10, 2026

Hi HN, in a world where 100% of code is written by AI (phew, sometimes even 200%), there might still be a small percentage of us who want to write code in a more efficient way, especially when it comes to LLM interaction. I honestly tired converting my existing TS types into JsonSchemas or wrapping a function into tool object with all this bells and whistles around arguments.

And I started experimenting with an idea - how can make LLM integration feels native? How can an LLM become part of the language / compiler, instead of being just one more external API that we have to integrate through yet another SDK?

And I took the async / await / Promise idea as a starting point, ok so: 'async' - defines an asynchronous boundary, 'Promise' - represents an asynchronous intention, 'await' - resolves it.

So I started thinking, what if we could do something similar for LLMs? That led me to create Nola, a TypeScript superset built around three concepts:

'infer' - like async, defines the LLM inference context,

'Intent' - encapsulates the data and instructions that will be sent to the LLM,

'ask' - like await, resolves the Intent into a typed result

Right now, Intent represents two operations: extract the data and call the function (yes native TS function), but more to come soon.

Docs at: https://nola.sh/docs Thanks for your honest feedback

Comments URL: [https://news.ycombinator.com/item?id=49646501](https://news.ycombinator.com/item?id=49646501)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @nola 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-nola-a-types…] indexed:0 read:1min 2026-09-10 ·