frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•1y 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

AI Fuels Startup Boom Across the US

https://www.bloomberg.com/news/features/2026-07-10/ai-powered-entrepreneurs-set-to-launch-record-...
1•Teever•1m ago•0 comments

Apple's failed self-driving car program left a legacy of powerful AI chips

https://www.theverge.com/tech/964519/apple-silicon-self-driving-car-ai-m7-ultra
1•droidjj•1m ago•0 comments

GPT-5.6, Fable 5, and Grok 4.5 rebuild Basecamp from the same spec

https://smw.ai/blog/basecamp-bench
1•aethelyon•3m ago•0 comments

The Battery Startup Taking on China's Giants

https://www.wired.com/story/prologium-battery-startup-betting-against-china/
1•joozio•3m ago•0 comments

The Trade in Looted Antiquities Endures for One Reason: Demand

https://news.artnet.com/art-world/matt-campbell-cambodia-looted-antiquities-2779870
1•derbOac•4m ago•0 comments

What Happened to Behaviorism?

https://medium.com/@plewis67/what-happened-to-behaviorism-0c1b155a593c
1•paulpauper•4m ago•0 comments

Stop Pretending That Intensive Parenting Doesn't Work

https://www.theatlantic.com/ideas/archive/2022/10/intensive-parenting-kids-happiness-health/671782/
1•paulpauper•5m ago•0 comments

Website is served from a 200KB binary

https://200kb.freelang.dev/
1•keepamovin•5m ago•0 comments

The Idols of Acceleration

https://democraticfuturist.substack.com/p/the-idols-of-acceleration
1•paulpauper•6m ago•0 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
2•BerislavLopac•8m ago•0 comments

Show HN: Shirei, cross-platform GUI framework in native Go

https://github.com/hasenj/go-shirei/
4•hsn915•9m ago•0 comments

Automation Without Understanding

https://arxiv.org/abs/2607.06377
2•root-parent•10m ago•0 comments

OpenAI's AI Beating Every Human at AtCoder

https://mlq.ai/news/openais-ai-sweeps-all-five-problems-at-atcoder-world-tour-finals-beating-ever...
2•amai•11m ago•0 comments

Blog-Doc Reloaded

https://lebcit.github.io/post/blog-doc-reloaded/
2•LebCit•13m ago•0 comments

Noto: A Typeface for the World

https://fonts.google.com/noto
3•geox•13m ago•0 comments

AI and the Future of Writing-roundtable of authors discuss ramifications for art

https://yalereview.org/article/ai-and-the-future-of-writing
2•pseudolus•14m ago•0 comments

Apple sues OpenAI over alleged trade secret theft

https://techcrunch.com/2026/07/10/apple-sues-openai-over-alleged-trade-secret-theft/
3•rbanffy•18m ago•1 comments

Britain's biggest community solar farm forced to shut over grid overload fears

https://www.theguardian.com/environment/2026/jul/12/solar-farm-forced-to-shut-derril-water-bigges...
3•speckx•20m ago•0 comments

Using AI to Let History Speak About Bank Runs

https://libertystreeteconomics.newyorkfed.org/2026/07/using-ai-to-let-history-speak-about-bank-runs/
2•gnabgib•24m ago•0 comments

'This was a righteous case. A holy war': the lawyer who took on Meta and Google

https://www.theguardian.com/media/2026/jul/12/mark-lanier-the-lawyer-who-took-on-meta-and-google-...
2•akbarnama•24m ago•0 comments

Show HN: Broll – an MCP server that gives coding agents a content studio

https://github.com/luke-fairbanks/broll
2•lukefairbanks•24m ago•0 comments

Show HN: A lightweight app to let LLM work for oncall

https://www.neatcontext.com/
3•tanglearncode•25m ago•1 comments

The Universal Scalability Law (USL)

https://www.perfdynamics.com/Manifesto/USLscalability.html
2•ksec•28m ago•0 comments

Show HN: The Line of Hope – how current teams compare to past champions

https://titlehopes.com/mlb/standings/index.html
2•marcreicher•32m ago•0 comments

Honeyprompt: LLM-first honeypot that talks back

https://github.com/alectrocute/honeyprompt
1•arm32•33m ago•0 comments

How to Start a Peptide Testing Company and Costs Involved

https://www.bluenexlabs.com/research-knowledge-canada-peptides/start-canadian-peptide-testing-com...
1•AliceKay•33m ago•0 comments

Show HN: Open-source browser mini-game where every level is provably solvable

https://www.hooping.io/
2•douvy•35m ago•1 comments

I connected my net worth tracker to Claude via MCP

https://getvalyou.co/claude
1•amandafranc•36m ago•0 comments

Show HN: JMT – Java Based MultiTool

1•shiningpr0xsm•39m ago•0 comments

Show HN: Launch first-party blogs at scale for free

https://www.letterstory.com
1•mathewpregasen•41m ago•0 comments