No

Nola – a TypeScript superset where LLM inference is a language feature

Hacker News

Nola – a TypeScript superset where LLM inference is a language feature

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

Share card

Actual performance

3points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: context, code · Missing: mac, agents, macos
94%94% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
65%65% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
57%57% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
48%48% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: soon, efficient · Missing: plus, platform, intuitive
42%42% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

LL
LLM Inference Requirements Profiler59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LLM Inference Requirements Profiler

Hacker News4
Ty
TySON – TypeScript as a Configuration Language51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TySON – TypeScript as a Configuration Language

Hacker News4
I
I made TypeScript's type inference more strict (and smarter)38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made TypeScript's type inference more strict (and smarter)

Hacker News3
Fu
Full feature ECS game engine for TypeScript66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Full feature ECS game engine for TypeScript

Hacker News3
Fo
FormData validation for TypeScript (Zod's most requested feature)26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FormData validation for TypeScript (Zod's most requested feature)

Hacker News1
Ty
TypeScript to GraphQL conversion tool with type inference60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TypeScript to GraphQL conversion tool with type inference

Hacker News90
Ce
Cerialize – Typescript serialization by annotation39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cerialize – Typescript serialization by annotation

Hacker News1
Sc
Scala-ts – Scala to TypeScript compiler41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Scala-ts – Scala to TypeScript compiler

Hacker News66
JS
JSONSchema to TypeScript compiler51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSONSchema to TypeScript compiler

Hacker News72
Du
DuoCode 1.0 bridges the gap between C# and TypeScript31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DuoCode 1.0 bridges the gap between C# and TypeScript

Hacker News7