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

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding

https://labs.iximiuz.com/tutorials/ssh-tunnels
1•signa11•2m ago•0 comments

How to lose a war in three easy steps

https://www.ft.com/content/0ba6b511-649e-4a29-bb99-f824584ec93d
2•Alien1Being•9m ago•0 comments

Show HN: Rundown - Niche Intelligence for YouTube Creators

https://getrundown.xyz
2•razasaad92•10m ago•0 comments

Show HN: AgentArk – open-source self-hosted AI agent OS

https://github.com/agentark-ai/AgentArk
2•debankad•12m ago•0 comments

Show HN: Western Highway Alerts

https://westernhighwayalerts.com/
1•BetaDeltaAlpha•15m ago•0 comments

Website –> Markdown Chrome Extension

https://chromewebstore.google.com/detail/save-to-yaps/baaheihmooadmcknelpapgdhoaeldipk
3•RichAwo•16m ago•0 comments

How to Build REST APIs with Actix-Web in Rust

https://oneuptime.com/blog/post/2026-02-01-rust-actix-web-rest-api/view
1•MarShell237•17m ago•0 comments

Where to Find the Colors Your Screen Can't Show You

https://moultano.wordpress.com/2026/06/19/where-to-find-the-colors-your-screen-cant-show-you/
1•moultano•20m ago•0 comments

Atheon -Atheon is a community-driven pattern matching engine

https://github.com/HoraDomu/Atheon
1•HoraDomu•22m ago•1 comments

Quantum sensor breakthrough could transform Army battlefield signal detection

https://www.army.mil/article/293021/quantum_sensor_breakthrough_could_transform_army_battlefield_...
1•wslh•23m ago•0 comments

Memory Safe Inline Assembly

https://fil-c.org/inlineasm
3•pizlonator•28m ago•0 comments

Xi Jinping wants China to boost demand. Why isn't it working?

https://www.ft.com/content/7db72916-3f9f-42c6-bd28-b5c7f51ed573
1•wslh•30m ago•1 comments

I asked Apple's senior watchOS team why it's not coming to so many older models

https://www.techradar.com/health-fitness/smartwatches/its-the-most-convenient-way-to-interact-wit...
1•ValentineC•36m ago•0 comments

Rewiring the Spine: The Tech Restoring Movement After Spinal Injury

https://www.allaboutcircuits.com/news/rewiring-the-spine-tech-restoring-movement-after-spinal-inj...
3•WaitWaitWha•40m ago•0 comments

How to learn iraqi arabic (2020 pre AI)

https://medium.com/@xavierbisits/how-to-learn-iraqi-arabic-bd468eff29e5
1•marysminefnuf•40m ago•0 comments

Modern Iraqi Arabic Textbook

https://archive.org/details/modern-iraqi-arabic-a-textbook-by-yasin-m-alkalesi
1•marysminefnuf•41m ago•0 comments

Epic Event Management System

https://www.lollystage.com/home
1•kenadet•47m ago•0 comments

Why the Human Genome's Tangled Physicality May Confound AI

https://www.quantamagazine.org/why-the-human-genomes-tangled-physicality-may-confound-ai-20260618/
2•tzury•48m ago•0 comments

Show HN: Juakali: a datalayer to build artificial general engineer

https://4dlab.xyz/juakali/
1•m_2018•54m ago•0 comments

A $40M Gold Heist Risks Exposing CIA's Top-Secret Spy Programs

https://www.wsj.com/politics/national-security/a-40-million-gold-heist-risks-exposing-cias-top-se...
1•otherjason•59m ago•1 comments

Klue OAuth breach victim list grows as Icarus hackers claim attack

https://www.bleepingcomputer.com/news/security/klue-oauth-breach-victim-list-grows-as-icarus-hack...
2•parable•1h ago•0 comments

Why People Ditch Smartwatches for Something Simpler

https://www.engadget.com/2197565/reasons-why-people-ditch-smartwatches-something-simpler/
3•NordStreamYacht•1h ago•1 comments

Forked CozoDB to give agents cognitive primitives

1•shanrizvi•1h ago•0 comments

Clear – Intent-First Agentic Development Language

https://sahin.io/clear/
1•giuliomagnifico•1h ago•0 comments

Compound Eye

https://en.wikipedia.org/wiki/Compound_eye
1•o4c•1h ago•0 comments

The Future Is ClaudeVM

https://jperla.com/blog/the-future-is-claudevm
3•satvikpendem•1h ago•0 comments

Researchers drop checkm8-style BootROM exploit for A12 and A13 iPhones

https://www.theregister.com/security/2026/06/19/researchers-drop-checkm8-style-bootrom-exploit-fo...
2•Timofeibu•1h ago•0 comments

Breadcrumbs

https://map.simonsarris.com/p/breadcrumbs
1•simonsarris•1h ago•0 comments

Dementia Risk After Recombinant Herpes Zoster Vaccination in Older Adults

https://www.acpjournals.org/doi/10.7326/ANNALS-25-04689
2•atombender•1h ago•0 comments

Thermodynamic Measure of Intelligence

https://arxiv.org/abs/2606.20231
1•sbulaev•1h ago•1 comments