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

No way to parse integers in C

https://blog.habets.se/2022/10/No-way-to-parse-integers-in-C.html
1•konmok•1m ago•0 comments

Maps

https://fhoehl.com/maps
1•marukodo•2m ago•0 comments

48000 Samsung workers ready to strike

https://www.engadget.com/2177466/samsung-strike-union-workers-korea/
1•lccerina•6m ago•1 comments

Solar cells on vehicles can take the pressure off the grid in Europe

https://www.ise.fraunhofer.de/en/press-media/press-releases/2026/solar-cells-on-vehicles-can-take...
1•doener•7m ago•0 comments

Show HN: IResearch – C++ search that beat Lucene and Tantivy on their benchmark

https://github.com/serenedb/serenedb/tree/main/libs/iresearch
1•gnusi•8m ago•1 comments

The Cyber Reality States Don't Want to Admit

https://arunninghacker.substack.com/p/the-cyber-reality-states-dont-want
1•weeha•8m ago•1 comments

ConverterToMarkdown – Convert Docx/PDF/XLSX/HTML to Markdown In-Browser

https://convertertomarkdown.com
1•FValero•9m ago•0 comments

WordPress Migration in 2026 (from A to Z guide)

https://focusreactive.com/blog/wordpress-migration/
1•katyadrozd•10m ago•0 comments

Infrawise – Give Claude Code real infrastructure context via MCP

https://www.npmjs.com/package/infrawise
1•sidd-2704•11m ago•0 comments

"Stick" – A primitive/fun interactive demo of a tiny rig to animate layout

https://cosmiciron.github.io/layoutmaster/exclusion-assembly.html
1•zhxiaoliang•11m ago•1 comments

Tarotui – A tarot reading experience in the terminal

https://github.com/Tsukeruu/tarotui
1•bart__1•12m ago•0 comments

Love is to be invested in someone's continual expansion

https://www.henrikkarlsson.xyz/p/love-and-change
1•jger15•14m ago•0 comments

UniFi Network 10.4

https://blog.ui.com/article/introducing-unifi-network-10-4
1•janandonly•16m ago•0 comments

Open-source energy system model for the ENTSOE Ten-Year Network Development Plan

https://open-tyndp.openenergytransition.org/
1•lyoncy•23m ago•0 comments

Learnings from 100K lines of Rust with AI (2025)

https://zfhuang99.github.io/rust/claude%20code/codex/contracts/spec-driven%20development/2025/12/...
8•pramodbiligiri•24m ago•1 comments

Google Just Killed Search as We Know It

https://www.thestateofbrand.com/news/google-just-killed-search-as-we-know-it
1•taubek•26m ago•1 comments

Artist with no technical experience stumbles upon the next generation of LLMs

1•itakechops•29m ago•0 comments

Carbon: open-source DNA foundation models with training code and data pipeline

https://huggingface.co/spaces/HuggingFaceBio/carbon-demo
1•victormustar•30m ago•0 comments

Cities: Skylines Uses a Stock-Market Analogy to Influence Gameplay

http://jkm.dev/posts/cities-skylines-trading-market/
2•birdculture•34m ago•0 comments

How Big Tech is harnessing the data of Indian factory workers to train robots

https://scroll.in/article/1092960/how-big-tech-is-harnessing-the-data-of-indian-factory-workers-t...
1•theletterf•34m ago•0 comments

Goodbye ChatGPT

https://alexieidingli.medium.com/goodbye-chatgpt-a60bcf6b7c5b
2•andsoitis•37m ago•1 comments

Bolt CEO let go of his HR team for creating problems that didn't exist

https://fortune.com/2026/05/19/bolt-ceo-ryan-breslow-cut-hr-department-causing-problems-fintech-s...
1•e2e4•38m ago•2 comments

Honeybee venom and melittin suppress growth in breast cancer (2020)

https://pubmed.ncbi.nlm.nih.gov/32923684/
1•blumomo•40m ago•0 comments

The Sky Heist

https://www.skyheist.me/
1•clivehays•51m ago•0 comments

Ask HN: How to make a mono-repo AI-Ready?

1•kasnaka•56m ago•1 comments

Velocipedia

https://www.gianlucagimini.it/portfolio-item/velocipedia/
2•vintagedave•57m ago•0 comments

PostgreSQL backup tool gets some backup of its own

https://www.theregister.com/databases/2026/05/20/postgresql-backup-tool-gets-some-backup-of-its-o...
3•jjgreen•1h ago•0 comments

Public have more fear than hope on AI and future of work, study finds

https://www.kcl.ac.uk/news/one-in-five-britons-think-ai-will-create-civil-unrest-study-finds
4•geox•1h ago•1 comments

Coding Slow Is Smooth, Coding Smooth Is Fast

https://daily.tinyprojects.dev/207
1•tinyprojects•1h ago•1 comments

Show HN: Kreuzberg Cloud – ultra fast content intelligence – in public beta

https://kreuzberg.dev
5•nhirschfeld•1h ago•4 comments