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

Generative AI scandal has come to one of Nikon's competitions

https://www.dpreview.com/news/generative-ai-scandal-has-come-to-one-of-nikons-competitions/
1•DASD•52s ago•0 comments

WallHop – 12ft.io is gone, so I built a replacement

https://wallhop.io/
1•TheWaffleHax•1m ago•0 comments

PSPi 6 – Raspberry Pi in a PSP

https://github.com/othermod/PSPi-Version-6
1•therepanic•2m ago•0 comments

Consistency is not a localized property

https://n-the-loop.com/blog/consistency-is-not-a-localized-property/
1•b-man•3m ago•0 comments

TypeScript-Native Frontend Framework

https://github.com/PureStackStudio/PureStack
1•koculu•4m ago•0 comments

Ask HN: Are iPhones the Handheld Version of Flock?

2•dfps•5m ago•0 comments

LLM Pareto Frontier over time [video]

https://www.youtube.com/watch?v=I01v36VIrno
1•ponyous•7m ago•1 comments

Stop Reaching for WebSockets by Default: WebSockets vs. SSE vs. Long Polling

https://medium.com/@anirbansingha20/websockets-vs-long-polling-vs-server-sent-events-fa9bc1644cb8
1•birdculture•18m ago•0 comments

Show HN: Free LED pixel-pitch and display-size calculators (open source)

https://boardsy.co.uk/free-exhibition-display-tools/
2•Boardsy•21m ago•0 comments

Supreme Court: 401(k) case over private funds and underperformance

https://www.cnbc.com/2026/10/10/supreme-court-case-401k-private-funds-intel.html
1•cramer4next•24m ago•0 comments

Pulp Cover Treatments of Classic Works of Literature

https://lithub.com/50-pulp-cover-treatments-of-classic-works-of-literature/
3•ohjeez•24m ago•0 comments

Veda: The First Agentic Hobby Operating System

https://github.com/vahmoh25/Veda
2•vahmohh•25m ago•0 comments

Microsoft Launches Surface Laptop Ultra, Surface RTX Spark Dev Box

https://www.servethehome.com/microsoft-launches-surface-laptop-ultra-surface-rtx-spark-dev-box/
1•teleforce•27m ago•0 comments

Ask HN: Why aren't Americans rising up against tipping?

2•bjourne•28m ago•1 comments

'We cannot accept foxes in our landscape': the plan to save Australia's wildlife

https://www.theguardian.com/australia-news/2026/oct/11/fox-australia-threatened-native-species-wi...
1•cisc•30m ago•0 comments

A minimal Rust TUI for managing GitHub repos and branches

https://github.com/jorgeandrecastro/github-workflow
2•drew0670•30m ago•0 comments

The 'black box' wastewater trade that rakes in millions for UK utility companies

https://www.theguardian.com/environment/2026/oct/09/uk-water-companies-industrial-commercial-wast...
3•cisc•35m ago•0 comments

Autonomous Delivery Skill

https://gist.github.com/EvanBoyle/8c1a97f682d92dab8c09d0e1ea73f4a0
2•gfortaine•39m ago•0 comments

Anthropic Bans Cruelty to Claude, Still Won't Say What It Protects

https://rews.cc/a/anthropic-bans-cruelty-to-claude-still-won-t-say-what-it-pro-bd99f6
38•ojosilva•39m ago•47 comments

Will We Ever Understand Dementia?

https://www.nytimes.com/2026/10/10/science/will-we-ever-understand-dementia.html
2•bookofjoe•39m ago•1 comments

Show HN: ISA Workbench – Classify and explore binaries in the browser

https://zr.ax/
5•19h•40m ago•0 comments

Microsoft CEO Nadella Calls for 'Emergency Brake' on Advanced AI

https://www.bloomberg.com/news/articles/2026-10-10/microsoft-ceo-nadella-calls-for-emergency-brak...
6•sbulaev•41m ago•0 comments

Show HN: TruthBeacon – Open-source Discord moderation app in Tauri and Rust

https://github.com/boredpolymath/truth-beacon
2•boredpolymath•51m ago•0 comments

Personal agents are not aligned with consumer long-term interests

https://twitter.com/BrendanFalk/status/2109068824293351774
2•brendanfalk•58m ago•0 comments

Vision for New Autonomous Warfare Command Laid Out by Pentagon

https://www.twz.com/news-features/vision-for-new-autonomous-warfare-command-laid-out-by-pentagon
4•cisc•59m ago•0 comments

How to Recover Your Yahoo! Groups from the Internet Archive (2021)

https://datahorde.org/how-to-recover-your-yahoo-groups-from-the-internet-archive/
2•turtleyacht•1h ago•0 comments

Show HN: Dewey: a connectome-driven fruit fly for your macOS menu bar

https://github.com/JorenSix/Dewey
3•joren-•1h ago•0 comments

This Website Is Now Made in Swift

https://sindresorhus.com/blog/swift-website
2•ingve•1h ago•0 comments

Eye Cells May Have Been Rejuvenated for the First Time in People

https://time.com/article/2026/10/08/eye-cells-rejuvenated-for-the-first-time-in-people/
3•davidrjones1977•1h ago•1 comments

Show HN: Aporium – A UMAP galaxy of 5800 philosophy excerpts in conversation

https://www.aporium.app/explore
3•kevinjacobh•1h ago•0 comments