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

FORTHought: Self hosted AI stack for physics labs (and more) built on OpenWebUI

https://github.com/MariosAdamidis/FORTHought
1•MariosAdamidis•24s ago•1 comments

Man accidentally gains control of 7k robot vacuums

https://www.popsci.com/technology/robot-vacuum-army/
1•Brajeshwar•33s ago•0 comments

The Internet Archive records its 1Tth website

https://www.popsci.com/technology/internet-archive-1-trillionth-website/
1•Brajeshwar•41s ago•0 comments

Astonishing Spinosaur Unearthed in the Sahara Is Unlike Any Seen Before

https://www.sciencealert.com/astonishing-spinosaur-unearthed-in-the-sahara-is-unlike-any-seen-before
1•Brajeshwar•48s ago•0 comments

Zuckerberg regrets slow progress on spotting under-13s on Instagram

https://www.lemonde.fr/en/pixels/article/2026/02/18/zuckerberg-tells-jury-regrets-slow-progress-o...
2•1vuio0pswjnm7•5m ago•0 comments

Boil the Ocean

https://garryslist.org/posts/boil-the-ocean
3•walterbell•7m ago•0 comments

Boperators: Operator Overloading JavaScript and TypeScript

https://www.npmjs.com/package/boperators
2•thunderbong•7m ago•0 comments

Thoughts on Coding Agents

https://dennybritz.com/posts/coding-agents/
3•dennybritz•11m ago•0 comments

Looking Back on Phabricator for Code Review

https://davidgomes.com/phabricator-code-review/
2•davidgomes•11m ago•0 comments

Have we leapt into commercial genetic testing without understanding it?

https://arstechnica.com/science/2026/02/have-we-leapt-into-commercial-genetic-testing-without-und...
2•Bender•13m ago•0 comments

Study shows how rocket launches pollute the atmosphere

https://insideclimatenews.org/news/19022026/commercial-space-travel-environmental-threat/
2•Bender•13m ago•0 comments

Intensive grazing and soil fertility favor the growth of non-native plants

https://phys.org/news/2026-02-intensive-grazing-soil-fertility-favor.html
3•PaulHoule•15m ago•0 comments

RSS-Librarian: A read-it-later service for RSS purists

https://github.com/thefranke/rss-librarian
2•thefranke•16m ago•1 comments

Observations from Building with AI Agents

https://tomtunguz.com/9-observations-using-ai-agents/
2•vinhnx•16m ago•0 comments

Where's software going? Is software dead?

https://registerspill.thorstenball.com/p/joy-and-curiosity-75
2•linhns•17m ago•0 comments

Repeating Prompts

https://daoudclarke.net/2026/02/19/repeating-prompt
2•vinhnx•18m ago•0 comments

Does Syntax Matter?

https://www.gingerbill.org/article/2026/02/21/does-syntax-matter/
2•vrnvu•20m ago•0 comments

Money Transfer in Chat

https://s2transfer.xyz
2•edonderguti•23m ago•2 comments

Git's Magic Files

https://nesbitt.io/2026/02/05/git-magic-files.html
2•chmaynard•23m ago•0 comments

Does Opus 4.6 find the needle in the haystack?

https://georggrab.net/content/opus46retrieval.html
2•grey-area•24m ago•1 comments

Show HN: A virtual Zen garden for vibe coding

https://silentsand.me/
2•brotmitkot•26m ago•0 comments

Show HN: ByePhone- An AI assistant to automate tedious phone calls

https://byephone.io/
2•gitpullups•27m ago•1 comments

Show HN: Approve Claude Code permission requests from your phone via ntfy

2•yuu1ch13•29m ago•0 comments

Browse, preview and install 460 Ghostty terminal themes in one click

https://ghostty-style.vercel.app/
2•dhruv_ahuja•29m ago•0 comments

A 26-Gram Butterfly-Inspired Robot Achieving Autonomous Tailless Flight

https://arxiv.org/abs/2602.06811
2•Terretta•30m ago•0 comments

Show HN: Finnish Humanizer – 26 patterns for detecting AI-generated Finnish text

https://github.com/Hakku/finnish-humanizer
3•HarriSipola•34m ago•0 comments

Wonderful vi

https://world.hey.com/dhh/wonderful-vi-a1d034d3
4•tosh•39m ago•0 comments

Scipy.stats. Chatterjeexi

https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.chatterjeexi.html
2•kamaraju•42m ago•0 comments

The engineering behind GitHub Copilot CLI's animated ASCII banner

https://github.blog/engineering/from-pixels-to-characters-the-engineering-behind-github-copilot-c...
2•magoghm•44m ago•0 comments

Iran students stage first large anti-government protests since deadly crackdown

https://www.bbc.com/news/articles/c5yj2kzkrj0o
5•tartoran•45m ago•0 comments