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

Freelance Full-Stack Web Developer

https://www.omaralkhatib.com/
1•exchangler•1m ago•0 comments

Can the shingles vaccine slow ageing?

https://www.economist.com/science-and-technology/2026/02/13/can-the-shingles-vaccine-slow-ageing
1•vinni2•5m ago•0 comments

World Time API has been sunset

http://worldtimeapi.org/
1•badeeya•8m ago•0 comments

Pydantic validation just hit 10B downloads – Pydantic

https://pydantic.dev/articles/pydantic-validation-10-billion-downloads
1•rbanffy•12m ago•1 comments

MSF suspends some Gaza hospital work over presence of gunmen, weapons transfers

https://www.reuters.com/business/healthcare-pharmaceuticals/msf-suspends-some-gaza-hospital-work-...
1•mhb•13m ago•0 comments

Building a New Excel Library in One Week

https://hackers.pub/@nebuleto/2026/en-us-sheetkit-in-one-week
3•todsacerdoti•17m ago•0 comments

Geocities Hugo Theme

https://github.com/jevy/hugo-theme-geocities
1•jevyjevjevs•18m ago•0 comments

Show HN: A Browser-Based Video Editor with Smooth Zoom Effects

https://rookieclip.com/
1•this-is-shreya•20m ago•0 comments

The Coding Agent Explorer for Claude Code (.NET)

https://nestenius.se/ai/introducing-the-coding-agent-explorer-net/
1•tndata•23m ago•1 comments

Show HN: J-RAY – A privacy-first, client-side JSON visualizer

https://j-ray.vercel.app/
1•MauryWebDev•25m ago•0 comments

Why scaling won't fix hallucination

https://echosphere.io
2•AIThemis•25m ago•1 comments

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
4•datavorous_•26m ago•1 comments

IR and Toolchain for Cross-Device OLAP Workloads

https://github.com/ronfriedhaber/autark/tree/main/crates/mpera
1•ronfriedhaber•26m ago•0 comments

Sentinel – Enterprise SIEM for startups (Splunk alternative, free)

https://github.com/yourusername/sentinel
1•voidlunk•29m ago•2 comments

Show HN: AppSumo Graveyard – Tracking LTD Products That Didn't Survive

https://github.com/jiankn/appsumo-graveyard
1•jiankn•29m ago•0 comments

Hackers Exploit Free Firebase Accounts to Launch Phishing Campaigns

https://gbhackers.com/hackers-exploit-free-firebase-accounts/
1•currysausage•31m ago•1 comments

Why High-Performers Restart Instead of Compound

1•seq23•31m ago•5 comments

PCB Rework and Repair Guide [pdf]

https://www.intertronics.co.uk/wp-content/uploads/2017/05/PCB-Rework-and-Repair-Guide.pdf
1•varjag•31m ago•0 comments

Ooh.directory: a place to find good blogs that interest you

https://ooh.directory/
14•hisamafahri•33m ago•1 comments

Automatia and the Case for Vanilla

https://fwsgonzo.medium.com/automatia-and-the-case-for-vanilla-b3209cdf1583
1•fwsgonzo•34m ago•0 comments

Show HN: A small embeddable Datalog engine in Zig

2•habedi0•37m ago•0 comments

Show HN: BetterCapture – free and open source screen recorder for macOS

https://bettercapture.app
5•jsattler•37m ago•0 comments

Lessons from the Moltbook Protocol (Agent-Oriented API Design Patterns)

https://apidog.com/blog/agent-oriented-api-design-patterns-lessons-from-the-moltbook-protocol/
11•sunny-beast•37m ago•0 comments

Show HN: An AI Workstation Inspired by Computers

1•mazilin•37m ago•0 comments

Show HN: Two-Dimensional Phase Portrait Plotter

https://haraldrevery.com/notebook_pages/2dphaseportrait
1•hrldrvry•38m ago•0 comments

How many registers does an x86-64 CPU have? (2020)

https://blog.yossarian.net/2020/11/30/How-many-registers-does-an-x86-64-cpu-have
11•tosh•40m ago•3 comments

Show HN: Stillpoint – Debugger for Cognitive Loops

https://thestillpoint.netlify.app/chat-interface
1•schneak•42m ago•0 comments

Hacking a pharmacy to get free prescription drugs and more

https://eaton-works.com/2026/02/13/dava-india-hack/
2•EatonZ•43m ago•0 comments

Show HN: I'm 75, Building an OSS Virtual Protest Protocol

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
4•sakanakana00•45m ago•0 comments

Tell HN: Moving My Blog to IPv6 Only Internet

2•quaintdev•49m ago•1 comments