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

The Agent Operating System

https://librefang.ai/
1•chris_st•5s ago•0 comments

Flock Cameras Wrongly Tracked Me for Days over 'Stolen' Plates

https://www.thedrive.com/news/how-flock-cameras-wrongly-tracked-me-for-days-over-stolen-plates-an...
1•xup•46s ago•0 comments

Show HN: Moo, Git versions code, moo versions machines

https://github.com/heyito/moo
2•dumbfoundded•52s ago•0 comments

OpenMandriva: Statement regarding attempted distribution sabotage

https://forum.openmandriva.org/t/statement-regarding-attempted-distribution-sabotage/8997
1•workethics•1m ago•0 comments

Show HN: A YC/PG Essays Directory Roadmap

1•hamzabinmubeen•2m ago•0 comments

Show HN: Open-source GUI for editing 3D molecular structures with diffusion

https://github.com/DeepFoldProtein/patchr
2•delibae•2m ago•0 comments

A back end where you never need migrations or auth code

https://www.monsterwriter.com/building-linkedrecords.html
1•WolfOliver•2m ago•0 comments

15-year-old arrested for unsubscribing over 40k anime accounts

https://mainichi.jp/english/articles/20260706/p2g/00m/0na/012000c
1•01-_-•4m ago•0 comments

Popular Front end Libraries (2026)

https://howtotestfrontend.com/resources/frontend-libraries-and-tools-you-should-be-aware-of
1•howToTestFE•7m ago•0 comments

Electronic Plastic: Museum of '80s and '90s handheld and tabletop games

https://www.electronicplastic.com
1•NaOH•7m ago•0 comments

Physics doesn't explain the universe. Computation does – Stephen Wolfram

https://www.youtube.com/watch?v=5_O-kSzWdu4
1•nyc111•8m ago•0 comments

Microsoft joins AI cost-cutting trend by relying more on its own models

https://techcrunch.com/2026/07/07/microsoft-joins-ai-cost-cutting-trend-by-relying-more-on-its-ow...
4•Brajeshwar•8m ago•0 comments

The Search for a Spotify Alternative

https://elliotjaystocks.com/blog/spotify
2•ingve•10m ago•1 comments

Show HN: The Long Walk (Of Paintings)

https://thelongwalkofpaintings.willmeye.rs/
1•willmeyers•10m ago•0 comments

Discord admits AI moderation bug wrongfully banned users over harmless images

https://techcrunch.com/2026/07/07/discord-admits-ai-moderation-bug-wrongfully-banned-users-over-h...
2•OrvalWintermute•10m ago•1 comments

Show HN: Makoto – blocks AI agent claims that contradict its logged actions

https://github.com/Clear-Sights/Makoto
1•Present_Flow•12m ago•0 comments

Nigel Farage's unusual by-election opponent: Count Binface

https://www.ft.com/content/e68db443-bbc6-40b2-8ac6-c73691d40607
3•mmarian•13m ago•2 comments

Waymo car delivers misbehaving teens to California police

https://www.wpxi.com/news/trending/waymo-car-delivers-misbehaving-teens-california-police/UCOGYIJ...
1•zzzeek•14m ago•0 comments

Autoconf's revenge: ad-hoc shell templates

https://blogsystem5.substack.com/p/ad-hoc-shell-templates
1•ingve•14m ago•0 comments

Cathedral for Agents

https://cathedral-ai.vercel.app/
2•carloseduardopx•16m ago•0 comments

Flock CEO: People Don't Dislike Us, They Dislike Trump IPVM Team

https://ipvm.com/reports/flock-trump
2•jhonovich•16m ago•1 comments

IBM and Red Hat launch Lightwell to defend open-source code from AI attacks

https://www.zdnet.com/article/ibm-and-red-hat-have-moved-project-lightwell-from-vision-to-product/
3•CrankyBear•16m ago•0 comments

America's support for capitalism has declined over last decade

https://www.msn.com/en-us/money/markets/america-s-support-for-capitalism-has-declined-over-last-d...
1•littlexsparkee•16m ago•0 comments

Moving to FreeBSD from Linux

https://kuon.ch/post/2026-07-02-moving-freebsd/
4•speckx•17m ago•0 comments

Deadlocks and Downtime

https://planetscale.com/blog/deadlocks-and-downtime
2•aarvin_roshin•18m ago•0 comments

From Quantum Relative Entropy to the Semiclassical Einstein Equations

https://journals.aps.org/prl/abstract/10.1103/lmq8-nsty
2•derbOac•22m ago•0 comments

Grok 4.5

https://x.ai/news/grok-4-5
71•BoumTAC•23m ago•35 comments

Apple Knowledge Navigator [video]

https://www.youtube.com/watch?v=umJsITGzXd0
2•LostMyLogin•23m ago•0 comments

Ask HN: What are agent sandboxes missing?

4•oryx1729•24m ago•0 comments

The Shape of Enshittification

https://thedigitalcontrarian.substack.com/p/the-shape-of-enshittification-104
3•busymom0•26m ago•0 comments