frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•11mo ago
I've written a Jsonnet interpreter in Jsonnet.

A few years ago I wrote a code generator for Jsonnet (crdsonnet [1]) and found templating insufficient. This lead me to create a JSON Schema for the language along with a library[2] that can manifest the expressions reliably. I was unaware that this was an intermediate representation (in the world of interpreters). Fun fact: while cdrsonnet uses astsonnet to generate code, astsonnet is partially generated by crdsonnet.

Last year I got curious and wrote a parser, first without a lexer (I didn't knew I needed it) and later with a lexer (Oh, did my code got way more manageable). The code gets parsed into this intermediate representation, with other words using JSON Schema as a type system for Jsonnet.

This year I got curious again and tried to execute the code from within Jsonnet as well, past weekend I finally reached a point where I could reliably execute most of the test cases from the go-jsonnet repository.

It was an interesting learning experience and it gave me a much deeper understanding of how programming languages work in general.

[1] https://github.com/crdsonnet/crdsonnet

[2] https://github.com/crdsonnet/astsonnet

OpenAI Under Criminal Probe in Florida over Mass Shooter's ChatGPT Use

https://www.wsj.com/us-news/law/openai-under-criminal-probe-in-florida-over-mass-shooters-chatgpt...
1•reed1234•1m ago•1 comments

New Drugs for Pancreatic Cancer Show Remarkable Promise for Deadly Disease

https://www.wsj.com/health/healthcare/new-drugs-for-pancreatic-cancer-show-remarkable-promise-for...
1•megacorp•3m ago•0 comments

We translated the Palantir manifesto for actual human beings

https://www.theverge.com/policy/915237/palantir-manifesto
1•tastyface•4m ago•1 comments

Voxyflow – An AI companion that plans, codes, and ships with you

https://github.com/jcviau81/voxyflow
1•jcviau•4m ago•0 comments

A true story about interviewing at Google in 2006

https://www.threads.com/@peternbiddle/post/DXaCcKuEvAA
1•Anechoic•5m ago•0 comments

Anthropic tests how devs react to yanking Claude Code from Pro plan

https://www.theregister.com/2026/04/22/anthropic_removes_claude_code_pro/
1•angrydev•6m ago•1 comments

Revisit Your Old Ideas

https://www.robot-future.com/preview/69e8117520bc1661002087bc
1•robot-future•7m ago•0 comments

Weaponized Deepfakes

https://www.technologyreview.com/2026/04/21/1135652/weaponized-deepfakes-ai-artificial-intelligence/
1•gnabgib•8m ago•0 comments

Anthropic's Mythos model accessed by unauthorized users

https://www.reuters.com/technology/anthropics-mythos-model-accessed-by-unauthorized-users-bloombe...
1•c420•10m ago•2 comments

AI Server Demand to Drive Memory Contract Price Increases in 2Q26

https://www.trendforce.com/presscenter/news/20260331-12995.html
2•Sibexico•13m ago•0 comments

MCP Scope Creep Is a Runtime Problem, Not a Prompt Problem

https://sunglasses.dev/blog/mcp-scope-creep-runtime-problem
1•azrollin•14m ago•1 comments

Gbench Intelligence Benchmark

https://gertlabs.com/
3•gertlabs•15m ago•1 comments

ENIAC's Architects Wove Stories Through Computing

https://spectrum.ieee.org/eniac-80th-anniversary-weaving
1•sohkamyung•17m ago•0 comments

Maze of Doom (self-changing) simulation [video]

https://www.youtube.com/watch?v=-1ryPxPVsf8
1•graphai•18m ago•1 comments

TPM software for Intel Macs / Windows systems

https://flextpm.com/
1•thewhitekanye•21m ago•1 comments

Ravix – An AI agent that runs on your Claude Code subscription (alpha)

2•raunaksingwi•26m ago•0 comments

A text adventure game, all in Markdown

https://vas-blog.pages.dev/markdown-adventure
1•s314•27m ago•0 comments

Misconceptions About Majority Rule

https://groupincome.org/2016/09/misconceptions-about-majority-rule/#user-content-fnref-5
1•gslepak•31m ago•0 comments

Webby Person of the Year: Claude

https://winners.webbyawards.com/2026/specialachievement/476/claude
1•watusername•31m ago•0 comments

Unauthorized group has gained access to Anthropic's exclusive cyber tool Mythos

https://techcrunch.com/2026/04/21/unauthorized-group-has-gained-access-to-anthropics-exclusive-cy...
1•jnord•35m ago•1 comments

Submit your startup profile with Claude or ChatGPT. 60 seconds or less

https://www.startuphub.ai/agents/submit
1•compulsivebuild•37m ago•0 comments

Higher education's frozen yogurt moment

https://www.washingtonpost.com/opinions/2026/04/19/yale-report-shows-colleges-universities-face-r...
1•paulpauper•37m ago•0 comments

AI was ruining my college philosophy classes. So I assigned a new kind of essay

https://globeopinion.substack.com/p/ai-was-ruining-my-college-philosophy
1•paulpauper•38m ago•0 comments

A forty-year-old problem, briefly available

https://www.parahealth.ai/company/dispatch/thesis
1•dylburns•40m ago•0 comments

Ray-Ban Meta and Oakley Meta AI Glasses Officially Available in Singapore

https://cnalifestyle.channelnewsasia.com/style-beauty/ray-ban-meta-and-oakley-meta-ai-glasses-sin...
1•kelt•41m ago•0 comments

Learning Material for Idiomatic Rust

https://corrode.dev/blog/idiomatic-rust-resources/
1•lwhsiao•41m ago•0 comments

Show HN: gcx – The Official Grafana Cloud CLI

https://github.com/grafana/gcx
1•annanay•42m ago•0 comments

Lufthansa cuts 20k flights to save money, fuel

https://www.upi.com/Top_News/World-News/2026/04/21/lufthansa-flight-cuts/6391776813766/
3•petethomas•45m ago•1 comments

Cursor partners with SpaceX on model training

https://cursor.com/blog/spacex-model-training
2•gzer0•48m ago•1 comments

NASA's Webb Helped Rule Out Asteroid's Chance of 2032 Lunar Impact

https://science.nasa.gov/blogs/webb/2026/03/06/how-nasas-webb-helped-rule-out-asteroids-chance-of...
1•mooreds•53m ago•0 comments