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

Employee #1: Reddit (2016)

https://www.ycombinator.com/blog/chris-slowe-interview/
1•downbad_•1m ago•0 comments

World Cup 26 Goal Map– every goal, live

https://a-maherr.github.io/wc2026-goalmap/
1•theanonymousone•2m ago•0 comments

Excellent Repairability: Steam Machine Tear-Down and Accessing RAM and SSD [video]

https://www.youtube.com/watch?v=glXA3ObwSwQ
2•jrepinc•3m ago•0 comments

Segregation by Design (Urban Planning)

https://www.segregationbydesign.com
1•kristopolous•4m ago•0 comments

An interesting read about aviator callsigns

https://www.war.gov/News/Feature-Stories/Story/Article/2903882/aviator-call-signs-the-history-nam...
1•callsign_bats•4m ago•0 comments

Same-Day Shells: A Full-Chain RCE Sweep Against Cisco CUCM (CVE-2026-20230)

https://defusedcyber.com/cucm-cve-2026-20230-fullchain-sweep
1•waihtis•6m ago•0 comments

Char: Agentic Notepad

https://char.com/
2•handfuloflight•7m ago•0 comments

Agent Identity

https://claude.com/blog/agent-identity-access-model
3•shahargl•9m ago•1 comments

Show HN: Memory layer for Claude Code(+10.2 pts on SWE-bench Verified benchmark)

https://github.com/SaravananJaichandar/world-model-mcp
2•saravanan2294•10m ago•0 comments

Show HN: Tapegif – Generate terminal GIFs in seconds

https://tapegif.mimrgrowthlab.com/
3•lightyoruichi•16m ago•0 comments

Kennedy Space Center not ready for era of super heavy rockets

https://arstechnica.com/space/2026/06/report-kennedy-space-center-not-ready-for-era-of-super-heav...
2•cryptoz•16m ago•0 comments

Cisco AI Defense Skill Scanner

https://github.com/cisco-ai-defense/skill-scanner
2•chha•19m ago•0 comments

Keeping the Web Open and Private in the Bot Era

https://blog.mozilla.org/en/privacy-security/keeping-the-web-open-and-private-in-the-bot-era/
2•maxloh•19m ago•1 comments

IPv6-Only vs. IPv6-Mostly: Appropriate Use Cases

https://labs.ripe.net/author/jordipaletm/ipv6-only-vs-ipv6-mostly-appropriate-use-cases/
2•enz•24m ago•0 comments

Guadagnino's Sam Altman movie dropped by Amazon after partnership with OpenAI

https://www.theguardian.com/film/2026/jun/19/luca-guadagnino-sam-altman-movie-dropped-amazon-open...
3•theletterf•25m ago•0 comments

Lost Confidence

https://longform.asmartbear.com/confidence/
2•r4um•27m ago•1 comments

Safer Than YOLO: Auto Mode for Exec Approvals

https://openclaw.ai/blog/safer-than-yolo-auto-mode-for-exec-approvals
2•Taradisechic•31m ago•0 comments

Curl 8.21.0

https://daniel.haxx.se/blog/2026/06/24/curl-8-21-0/
4•robin_reala•33m ago•0 comments

NixOS on Xilinx Zynq and ZynqMP

https://github.com/chuangzhu/nixos-xlnx
2•joooscha•41m ago•0 comments

I built an LLM router that doesn't use an LLM

https://github.com/itsthelore/wayfinder-router
3•tcballard•44m ago•2 comments

The Problem Is Prompt Debt

https://www.dbreunig.com/2026/06/22/the-problem-is-prompt-debt.html
1•ingve•46m ago•2 comments

What data on myself I collect and why? (2020)

https://beepb00p.xyz/my-data.html
1•downbad_•46m ago•0 comments

Agents Are the New Product's Interface

https://www.hopsworks.ai/post/agents-are-your-new-product-interface
2•LexSiga•47m ago•1 comments

Ranked: Countries Spending the Most on Research and Development

https://www.visualcapitalist.com/ranked-countries-spending-most-on-r-and-d/
4•theanonymousone•51m ago•0 comments

Smart Hotel Management Software for Hotels, Resorts and Vacation Rentals

https://app.notion.com/p/Smart-Hotel-Management-Software-for-Hotels-Resorts-Vacation-Rentals-de44...
2•jackarnold•54m ago•0 comments

"Start with a Monolith" Was Good Advice. AI Is Changing That

https://medium.com/@pivotfakie/start-with-a-monolith-was-good-advice-ai-is-changing-that-a2181b8e...
3•feeblefakie•55m ago•1 comments

How to Apply Google's Open Knowledge Format (OKF) on Enterprise Level

https://community.obsidian.md/plugins/vault-operator
2•pssah4•57m ago•1 comments

Full Metal Jacket. Copper Edition – Vollebak

https://vollebak.com/en-us/products/full-metal-jacket-copper-edition
2•evo_9•58m ago•0 comments

OpenAI Codex bombards SSDs with needless write operations, costing millions

https://www.theregister.com/ai-and-ml/2026/06/23/openai-codex-bombards-ssds-with-needless-write-o...
3•jonbaer•1h ago•1 comments

The Digital Sovereignty Trap

https://statedept.substack.com/p/the-digital-sovereignty-trap
2•ryzvonusef•1h ago•0 comments