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

My thoughts after spending all day with Mythos

https://twitter.com/zekramu/status/2064131568495677490
1•MrBuddyCasino•1m ago•0 comments

Calling fsincos instruction in LLVM slower than calling Libc sin/cos functions

https://stackoverflow.com/questions/12485190/calling-fsincos-instruction-in-llvm-slower-than-call...
1•tosh•1m ago•0 comments

Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing

https://arxiv.org/abs/2604.22782
1•PaulHoule•4m ago•0 comments

Active Recall

https://herman.bearblog.dev/active-recall/
1•HermanMartinus•4m ago•0 comments

Show HN: AI-native red-team for penetration testing and vulnerability research

https://github.com/yv1ing/Z3r0
1•yv1ing•5m ago•0 comments

'Sloppenheimer:' Amazon Employees Mock the Company's AI on Slack

https://www.404media.co/sloppenheimer-amazon-employees-mock-the-companys-ai-on-slack/
3•doener•6m ago•0 comments

VShow HN: CLI Market – Commerce infrastructure for AI agents (38 rets, 8 counts)

https://cli-market.dev
1•cli-market•7m ago•0 comments

Ask HN: How to track micro changes with coding agent?

1•vedhant•7m ago•0 comments

How to Make Your Payload CMS Site AI-Ready in 2026

https://focusreactive.com/blog/making-your-payload-cms-site-ai-ready-right-now/
1•katyadrozd•8m ago•0 comments

Loose American flag knocks out power to thousands in Stamford, Greenwich CT

https://www.ctinsider.com/news/article/more-1k-power-ct-amid-thunderstorms-22294395.php
1•randycupertino•8m ago•0 comments

Blackstone, Anthropic Joint Venture Acquires Fractional AI

https://www.morningstar.com/news/dow-jones/202605217686/blackstone-anthropic-joint-venture-acquir...
1•wslh•9m ago•0 comments

Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI

https://blog.pyodide.org/posts/314-release/
1•agriyakhetarpal•11m ago•0 comments

Hiding the sidebar toggle under your logo is NOT a good idea

https://grumpy.website/1778
2•puttycat•11m ago•0 comments

Library of Congress Storage Architecture Meeting 2026

https://blog.dshr.org/2026/06/library-of-congress-storage.html
1•vitplister•11m ago•0 comments

New plans to stop children taking, sharing or viewing nude images

https://www.gov.uk/government/news/new-plans-to-stop-children-taking-sharing-or-viewing-nude-images
3•hamilyon2•13m ago•0 comments

Central Europe is not Eastern Europe

https://bare.systems/posts/central-europe/
1•6jQhWNYh•13m ago•0 comments

AI Influencers Now Indistinguishable from Real Creators

https://www.techbuzz.ai/articles/ai-influencers-now-indistinguishable-from-real-creators
1•Vaslo•14m ago•0 comments

White House sends Blanche's Attorney General nomination to Congress

https://www.politico.com/live-updates/2026/06/08/congress/todd-blanche-attorney-general-nominatio...
1•embedding-shape•14m ago•0 comments

I built a local TypeScript guardrail for AI agent cost failures

https://github.com/salimassili62-afk/ai-costguard
1•salim2006•16m ago•0 comments

Beyond Dexterity: Why Contact May Define the Next Era of Robotics

https://spectrum.ieee.org/agilink-contact-intelligence-robot-manipulation
1•Brajeshwar•17m ago•0 comments

Apple's New AI Models Contain 'None' of Google's Gemini Assistant

https://www.macrumors.com/2026/06/09/apples-new-ai-contains-no-gemini/
1•bound008•18m ago•0 comments

React Native Windows v0.83 is here

https://devblogs.microsoft.com/react-native/%f0%9f%9a%80react-native-windows-v0-83-is-here/
3•soheilpro•19m ago•0 comments

Two Types of Bureaucracy: Enabling and Coercive

https://lozeve.com/posts/types-of-bureaucracy-enabling-and-coercive
1•mooreds•20m ago•0 comments

An open-source tool helping cities, states, and regions understand climate risks

https://cdp-action-explorer.net/
1•mooreds•20m ago•0 comments

Why are we still arguing about the industrial revolution?

https://www.ft.com/content/f8379b23-f029-4274-b508-5452d965ad28
2•mmarian•21m ago•1 comments

What about OpenCL and CUDA C++ alternatives?

https://www.modular.com/blog/democratizing-ai-compute-part-5-what-about-cuda-c-alternatives
3•eatonphil•24m ago•0 comments

Kahan Summation Algorithm

https://en.wikipedia.org/wiki/Kahan_summation_algorithm
3•tosh•28m ago•0 comments

AAuth Protocol

https://datatracker.ietf.org/doc/draft-hardt-oauth-aauth-protocol/
1•mooreds•28m ago•0 comments

Loop Engineering

https://addyosmani.com/blog/loop-engineering/
1•vinhnx•30m ago•0 comments

TokkeyCC – OpenAI-compatible API for 100 AI models, $0.22 per 1M tokens

https://tokkeycc.com
1•wangyixiang•30m ago•0 comments