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

Mosquito research: saving lives with pantyhose and paperclips (2014) [video]

https://www.youtube.com/watch?v=dh0pJdgY6Lc
1•thelastgallon•45s ago•0 comments

Amazon Nova 2.5 Sonic: speech-to-speech model for voice agents

https://aws.amazon.com/about-aws/whats-new/2026/10/amazon-nova-2.5-Sonic/
1•acossta•1m ago•0 comments

Drakey83's Steam Deals

https://github.com/Drakey83/steam-deals
1•drakey83•3m ago•1 comments

Jenesis: A Java-native build ecosystem

https://jenesis.build/
1•ibobev•13m ago•0 comments

Broadcasting conglomerates are attempting a takeover of over-the-air television

https://place.reeseric.ci/writings/2026-10-04/
1•ibobev•13m ago•0 comments

Can you predict earthquakes?

https://www.usgs.gov/faqs/can-you-predict-earthquakes
1•teleforce•13m ago•0 comments

Implementing Undo [video]

https://www.youtube.com/watch?v=S6PqsZ65Mg4
1•ibobev•14m ago•0 comments

Metal Gear Solid Running Natively on the ESP32-S3

https://velxio.dev/blog/posts/metal-gear-solid-on-esp32-s3/
2•andrewstuart•18m ago•0 comments

The End of Software Secrecy

https://twitter.com/esrtweet/status/2106983467141509385
1•perilunar•18m ago•0 comments

The Economist wrote about tinubu and the coming general election

https://pressearn.it.com/blog/2026/10/04/%f0%9f%92%a5the-economist-wrote-about-tinubu-and-the-com...
1•Bpyegroup•22m ago•1 comments

Ask HN: How are AI budgets changing in your company?

1•bobby-cb•23m ago•0 comments

Take Back Your Control

https://play.google.com/store/apps/details?id=com.versanyx.explainmy_phone&hl=en_US
1•Globe_18•25m ago•0 comments

One year later: have any lessons from TARmageddon been learnt?

https://edera.dev/stories/1-year-later-lessons-from-tarmageddon
1•ivytheaxolotl•26m ago•0 comments

Third conversation with Claude that Anthropic reported to police since August

https://www.tomshardware.com/tech-industry/artificial-intelligence/anthropic-reports-florida-woma...
2•felineflock•27m ago•1 comments

State of Devs 2026

https://2026.stateofdevs.com/en-US
1•absqueued•28m ago•0 comments

Opus 5.5 builds a working game engine in one prompt (TheCherno) [video]

https://www.youtube.com/watch?v=R_uf5OfMGio
2•TheRoque•29m ago•1 comments

The Machine Stops [pdf]

https://www.cs.ucdavis.edu/~rogaway/classes/188/materials/the%20machine%20stops.pdf
2•pcfwik•29m ago•0 comments

Default Mode Network (DMN)

https://en.wikipedia.org/wiki/Default_mode_network
3•sans_souse•35m ago•0 comments

Schema-guard, stop AI agents from inventing column names in SQL

https://github.com/idk-arsh/schema-guard
2•arsh9745774•35m ago•0 comments

(Japanese Acrobat Lantern) Akita Kanto Festival [video]

https://www.youtube.com/watch?v=Y3-HsuS2nZ8
1•rawgabbit•36m ago•1 comments

Pulls.review – A better way for review GitHub Pull Requests

https://github.com/antfu/pulls.review
2•parksb•36m ago•0 comments

What Is Proactive AI?

https://proton.me/blog/proactive-ai
3•devonnull•38m ago•0 comments

Photopea creator weighs in on Photosuite project

https://github.com/eolix/photosuite/issues/77
2•montag•39m ago•0 comments

Show HN: Free Analytics for People Using Cloudflare Web Analytics

https://freeanalytics.co/
1•si_164•40m ago•0 comments

Pure UI – rauchg's blog on writing functional UIs from 2015

https://rauchg.com/2015/pure-ui
1•vhawk19•42m ago•0 comments

Citrix discloses third actively exploited NetScaler zero-day in less than a week

https://cyberscoop.com/citrix-netscaler-third-exploited-zero-day-vulnerability/
2•Gaishan•43m ago•0 comments

Improving Agents by Bootstrapping Experientially-Learned Environmental Knowledge

https://arxiv.org/abs/2511.20297
2•azhenley•45m ago•0 comments

Fireship: PewDiePie is setting AI free and OpenAI is furious [video]

https://www.youtube.com/watch?v=_5p1_TNSWqQ
2•doctaj•46m ago•0 comments

Orbital golf 2k27: guide your ship through space

https://orbitalgolf.lol/
2•idiomltd•50m ago•0 comments

We reverse-engineered Telegram channel IDs, now they tell us each channel's age

https://tgscope.io/rnd/telegram-channel-id-clock
2•coubri•51m ago•0 comments