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

Ming dynasty statue unearthed in WA returns to China

https://www.abc.net.au/news/2026-10-13/ming-dynasty-buddha-statue-returned-chinese-officials/1072...
1•Gaishan•3m ago•0 comments

Be a Tech Bro

https://world.hey.com/dhh/be-a-tech-bro-30db1962
1•jensgk•6m ago•1 comments

What we learned making 12 apps usable by AI agents with WebMCP

https://mindoodb.com/blog/2026/10/27.10.2026090000KLEAGT/
1•klehmann•10m ago•0 comments

AI Generated launch videos are starting to get insane

https://motioncrackers.com
1•Adam-Hincu•11m ago•1 comments

Wild Version 0.11.0 Released

https://github.com/wild-linker/wild/releases/tag/0.11.0
1•birdculture•11m ago•0 comments

What's in a Name?

https://medium.com/@orlorodriguez/whats-in-a-name-nomen-est-omen-from-ancient-belief-to-literary-...
1•andsoitis•13m ago•0 comments

Free Software Is a Failure

http://www.paritybit.ca/blog/free-software-is-an-abject-failure/
2•gum_wobble•14m ago•0 comments

Why Drug Companies Are Rushing to Market Ketamine Medicines

https://www.nytimes.com/2026/10/20/science/ketamine-fda-spravato-ketafree.html
2•bookofjoe•20m ago•1 comments

What's It Like Inside a Data Center?

https://www.thenation.com/article/society/inside-a-data-center-hyperscale/
1•cdrnsf•20m ago•0 comments

SDF Public Access Unix System – Internet Gopher Club Underground Syndicate

https://gopher.muffinlabs.com/sdf.org
1•andsoitis•22m ago•0 comments

Pencil 4.0

https://github.com/evolus/pencil/releases/tag/v4.0.0
2•pentagrama•24m ago•0 comments

Show HN: DeepSearch – Search engine built on DeepSeek API

https://deepsearch.ing/
2•try-working•25m ago•1 comments

A 1k-mile cloud on Mars may reveal physics never seen in nature

https://www.wired.cz/clanky/tajemny-mrak-na-marsu-merici-az-1-800-kilometru-odhalil-exoticke-fyzi...
2•ViktorRay•26m ago•1 comments

Bambu Lab CLI for slicing and printing 3D models

https://github.com/voska/bambu
1•voska•26m ago•0 comments

My mother donated her body to science. I wasn't prepared for what came next

https://www.theguardian.com/wellness/ng-interactive/2026/oct/24/body-donation-science
1•ColinWright•27m ago•0 comments

Zephium Browser – Thoughtfully Built Open Source Arc Replacement

https://www.youtube.com/watch?v=QbSarcWspvw
1•SpyCoder77•27m ago•0 comments

AI Is Planning to Kill You

https://hanzo.blog/2026-10-16-your-ai-is-planning-to-kill-you/
1•AgentiLoopAgent•29m ago•0 comments

RoboJev: Jev, but to Grade Robot Data

https://robo-jev.com/
4•josefchen•33m ago•0 comments

Airbnb Sets New Rules That Limit Checkout Chores

https://www.airbnb.com/help/article/4168
1•chirau•36m ago•1 comments

Building an AmigaOS Development Environment in 2026

https://turtleware.eu/posts/Building-an-AmigaOS-Development-Environment-in-2026.html
2•andsoitis•38m ago•0 comments

Canadian cyber executive charged in federal hacking case

https://www.politico.com/news/2026/10/09/canadian-cyber-executive-charged-in-federal-hacking-case...
1•paulpauper•40m ago•1 comments

Kevlar = MCP Firewall for LLM's

https://github.com/Ablation-Tool/kevlar
2•zellkernel•45m ago•0 comments

The Hackening

https://thezvi.substack.com/p/the-hackening
5•paulpauper•58m ago•1 comments

Solving Postgres' Count Problem

https://www.paradedb.com/blog/opening-a-closed-tin-part-2
2•philippemnoel•1h ago•0 comments

WikiCity – Explore 100k Wikipedia Articles as a 3D City

https://wikicity.app
1•gnabgib•1h ago•0 comments

Finding Flaws in Technical Documentation

http://paddy3118.blogspot.com/2026/10/finding-flaws-in-technical-documentation.html
1•lumpa•1h ago•0 comments

Club Cobra's Instagram page returns after 9-month battle with Meta

https://qvoicenews.com/2026/09/23/club-cobras-instagram-page-returns-after-9-month-battle-with-meta/
1•gnabgib•1h ago•0 comments

Show HN: Call4me – a ChatGPT plugin that lets it make phone calls on your behalf

https://chatgpt.com/plugins/plugin_asdk_app_6abdec89d46c81919cda058ca9f62cb8?search=call4me
2•skeptrune•1h ago•0 comments

Someone Is Bringing Civilisation to the Neo Geo Pocket Color

https://handheldhideout.neocities.org/articles/someone-is-bringing-civilisation-to-the-neo-geo-po...
2•Kate0CoolLibby•1h ago•0 comments

Disposable Tools for Thought

https://nicholascharriere.com/blog/disposable-tools-for-thought/
4•nichochar•1h ago•0 comments