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

EU says 'rabbit hole' video feeds on TikTok violate its digital rules

https://apnews.com/article/tiktok-european-union-brussels-social-media-regulation-f59bbe2045ab842...
1•bushwart•1m ago•0 comments

Three AI engines: how often they name the same local business

https://markets.namebeam.ai/studies/three-engines-agreement-2026-10-24-to-11-09/
1•terryjcarter•3m ago•0 comments

ModRetro Chromatic: Codex Edition

https://openai.com/supply/co-lab/chromatic/
1•tosh•5m ago•0 comments

Native Shell: Build once, native everywhere with Rust

https://nsh.dev/
1•BafS•6m ago•0 comments

Clearview AI Is Testing an AI Tool That Would Let Cops Unearth Your Life Online

https://www.wired.com/story/clearview-ai-is-testing-an-ai-tool-that-lets-cops-instantly-unearth-y...
1•bushwart•6m ago•1 comments

Voxl – fast web remote desktop streaming

https://github.com/tembo/voxl
1•draugadrotten•10m ago•0 comments

Nintendo Switch adds gifting digital games to family group members

https://www.nintendo.com/us/whatsnew/coming-soon-gift-digital-games-to-family-group-members/
1•HelloUsername•11m ago•0 comments

Technical Writing in the AI Era

https://rsbh.dev/notes/technical-writing-in-the-ai-era
1•rishabh09•11m ago•0 comments

Ask HN: Anyone else notice Fable 5.2 making grammar errors?

1•linearza•13m ago•0 comments

Snowflake Cortex Allowlist is Dying [video]

https://www.youtube.com/shorts/0MRXw4lrzOU
1•yanivleven•13m ago•0 comments

What Constant Surveillance Is Doing to Children

https://www.theatlantic.com/magazine/2026/12/location-tracking-apps-parental-surveillance/689031/
4•FinnLobsien•17m ago•0 comments

Would you ask a driver how the suspension works?

https://efe.me/posts/2026-11-09-would-you-ask-a-driver-how-the-suspension-works/
1•efeoge•21m ago•0 comments

Explorerepo: Tool for agents to read remote Git repositories without cloning

https://github.com/autowert66/explorerepo
1•ghrl•22m ago•0 comments

The tiny transmitter tracking monarch butterflies' migration, Canada to Mexico

https://www.begiant.ca/stories/places/monarch-butterflies-tracking-conservation
1•upofadown•23m ago•0 comments

Meet the Sad Wives of AI

https://www.wired.com/story/meet-the-sad-wives-of-ai/
25•rzk•23m ago•9 comments

Lean proof to search for US tax loopholes

https://lexifina.com/blog/searching-the-tax-code-for-loopholes
1•chaosmanage•26m ago•0 comments

Show HN: DayBreak, a stock brief where the AI never touches the numbers

https://github.com/XahidEx/DayBreak
2•Xahidex•28m ago•0 comments

An attempt at hypernetworks on an RX 6600

https://github.com/RUD9/Grimoire
1•embrel_grim•28m ago•1 comments

Siemens planning acquisition of Lauterbach (debug/trace tools)

https://press.siemens.com/global/en/pressrelease/siemens-expand-portfolio-semiconductor-design-an...
1•PennRobotics•28m ago•0 comments

Taking developments in software engineering personally

https://www.sicpers.info/2026/11/on-taking-developments-in-software-engineering-personally/
1•grahamlee•30m ago•0 comments

'C:\> FORMAT C:' – relax, it's just a screen saver

https://fakedos.com/
2•TheIncredibleCh•32m ago•0 comments

Electrification, a Different, Compelling Business Case

https://www.railwayage.com/regulatory/electrification-a-different-business-case/
2•edward•32m ago•0 comments

AI usage generates a fragile codebase

https://evanxmerz.com/post/ai-usage-generates-a-fragile-codebase/
4•plun9•38m ago•0 comments

The command you checked wasn't the command that ran

https://bluebear.io/blog/the-command-you-checked-wasnt-the-command-that-ran/
2•shayell•40m ago•0 comments

AI and Irontown

https://lucumr.pocoo.org/2026/11/9/irontown/
2•rudenoise•41m ago•0 comments

Ask HN: How has AI changed your project estimates and team composition?

1•vekker•44m ago•0 comments

Datacenter Systems Spending to Go Through the Roof in 2027

https://www.nextplatform.com/compute/2026/11/10/datacenter-systems-spending-to-go-through-the-roo...
2•rbanffy•45m ago•0 comments

What's New in Node.js 27

https://nodejsdesignpatterns.com/blog/whats-new-in-nodejs-27/
1•joshcsimmons•45m ago•0 comments

Research Finds Outright Grants of Cash Are Effective Form of Aid to the Poor

https://news.columbia.edu/news/research-finds-outright-grants-cash-are-surprisingly-effective-for...
5•chistev•45m ago•0 comments

Mood Clip Social Website

https://bolt.new/login?next=/p/72799820
1•sushiiiii•46m ago•0 comments