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•8mo 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

Speculative frenzy catapults silver above $100/oz

https://www.reuters.com/world/india/gold-silver-platinum-extend-recordsetting-rally-2026-01-23/
1•geox•22s ago•0 comments

The Slow Singularity

https://mbideepdives.substack.com/p/the-slow-singularity
1•RickJWagner•42s ago•0 comments

Skills Are Replacing Commands, Rules, and Subagents

https://kasperjunge.com/blog/skills-replacing-commands-rules-subagents/
1•juunge•1m ago•0 comments

AI's Phase Transition Noise

1•dpforesi•1m ago•1 comments

Reactive jQuery for Spaghetti-Fied Legacy Codebases

https://css-tricks.com/reactive-jquery-for-spaghetti-fied-legacy-codebases-or-when-you-cant-have-...
1•thunderbong•2m ago•0 comments

Tech Debt Is Good

https://system32.ai/blogs/tech-debt-is-good
1•debarshri•3m ago•0 comments

Marimo dev shows how to use exe.dev [video]

https://www.youtube.com/watch?v=bV60dwhL2x4
1•indigodaddy•4m ago•0 comments

TikTok US venture to collect precise user location data

https://www.bbc.com/news/articles/cvgnj7v2rr5o
1•bookofjoe•4m ago•0 comments

Google Scholar Labs: AI-powered academic search

https://scholar.google.com/scholar_labs/search
1•surprisetalk•9m ago•0 comments

Packaging Perl and Shell for NixOS Deployment

https://entropicthoughts.com/packaging-perl-and-shell-for-nixos-deployment
1•surprisetalk•9m ago•0 comments

Do (human) readers prefer AI writers?

https://marginalrevolution.com/marginalrevolution/2025/11/do-readers-prefer-ai-writers.html
1•surprisetalk•9m ago•0 comments

Show HN: Afm – explore Apple's On device model. Now with WebUI

https://github.com/scouzi1966/maclocal-api
1•scouzi1966•13m ago•0 comments

AI is reshaping police detective work, starting with cold cases

https://www.axios.com/2026/01/24/ai-police-evidence-cold-cases
1•hippich•14m ago•0 comments

Co-Founder Hunt was born out of a simple frustration

https://www.cofounder-hunt.com
1•PEGEBE•16m ago•0 comments

DeepMind chief Demis Hassabis warns AI investment looks 'bubble-like'

https://www.ft.com/content/a1f04b0e-73c5-4358-a65e-09e9a6bba857
2•mraniki•16m ago•1 comments

PowerShell architect retires after decades at the prompt

https://www.theregister.com/2026/01/22/powershell_snover_retires/
1•naves•17m ago•0 comments

Show HN: Cook.nvim – an extensible code runner for Neovim

1•notcalc•18m ago•0 comments

Show HN: Cook.nvim – an extensible code runner for Neovim

1•notcalc•18m ago•0 comments

Ask HN: Why doesn't JavaScript have a Laravel/Rails-level back end framework?

1•danver0•19m ago•0 comments

Cloudflare route leak disrupted IPv6 traffic for 25 minutes

https://thecyberedition.com/cloudflare-ipv6-route-leak-causes-25-minute-disruption/
1•thehacknews•21m ago•0 comments

Mountains of evidence proving causatively social media affects mental health

https://www.afterbabel.com/p/mountains-of-evidence
1•Desafinado•23m ago•1 comments

India's electrotech fast-track: China built on coal, India is building on sun

https://ember-energy.org/latest-insights/indias-electrotech-fast-track-where-china-built-on-coal-...
1•SideburnsOfDoom•23m ago•0 comments

Searchcode.com is being shut down (unless)

https://boyter.org/posts/searchcode-is-being-rebooted/
1•Heikete•25m ago•2 comments

There are no lessons here

https://sharedphysics.com/no-lessons-to-be-learned/
1•goopthink•26m ago•0 comments

OT Cybersecurity Memes You'll Feel in Your Soul

https://www.emberot.com/resources/blog/ot-cybersecurity-memes/
2•TheWiggles•27m ago•0 comments

Some AI Songs Might Be Worth Listening To?

https://www.rly0nheart.com/posts/music/some-ai-songs-might-actually-be-worth-listening-to/
1•rly0nheart•27m ago•0 comments

Long-term exposure to a common pesticide speeds up aging in fish, study finds

https://www.thenewlede.org/2026/01/long-term-exposure-to-a-common-pesticide-speeds-up-aging-in-fi...
1•PaulHoule•29m ago•0 comments

How to (Not) Write AI Slop

https://www.youtube.com/watch?v=FQUV_w_Jpcs
1•p0u4a•31m ago•0 comments

Show HN: PyVRP, an open-source vehicle routing problem solver

https://github.com/PyVRP/PyVRP
2•nawouda•31m ago•0 comments

Show HN: Convert OpenAPI Specifications into Agent Skills

https://github.com/neutree-ai/openapi-to-skills
1•yz-yu•34m ago•0 comments