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

Recompiling Game Boy Games for the Sega Master System

https://www.dmcmillan.co.uk/blog/recompiling-game-boy-games-for-the-sega-master-system
1•frostbyte7•48s ago•0 comments

cgo's pointer check is all over the place

https://theconsensus.dev/p/2026/11/15/cgos-pointer-check.html?focus=1
1•eatonphil•1m ago•0 comments

A BLAS and LAPACK written in Julia. No Fortran, no C, no assembly

https://github.com/el-oso/PureBLAS.jl
1•leephillips•3m ago•0 comments

CodeLearn Pro is a free programming learning app designed for beginners

https://play.google.com/store/apps/details?id=com.abinet.codelearnpro&hl=en_US
1•abihacker•4m ago•0 comments

Anthropic's IPO bank closed position meant to stabilize stock

https://www.reuters.com/markets/us/anthropics-ipo-bank-closed-position-meant-stabilize-stock-remo...
2•anon373839•8m ago•0 comments

Show HN: Why HTTP 200 is lying to your AI agents (and what Postgres did)

https://github.com/deedglass/deedglass
1•ajuxarjun•16m ago•0 comments

Blop, your team's shared memory

https://www.npmjs.com/package/@blopai/cli
1•Laurlund449•25m ago•0 comments

GL.iNet Security Notice

https://www.gl-inet.com/en-us/blogs/blog/glinet-security-notice-2026-11-20
4•TechTechTech•27m ago•0 comments

GL.iNet Security Notice 2026-11-20

https://www.gl-inet.com/en-gb/blogs/blog/glinet-security-notice-2026-11-20
3•seasicksteve•30m ago•0 comments

The Blame Game Has Begun over Anthropic's Turbulent Trading Debut

https://www.wsj.com/finance/stocks/the-blame-game-has-begun-over-anthropics-turbulent-trading-deb...
4•doener•32m ago•0 comments

Earthship in Germany's cold climate [video]

https://www.youtube.com/watch?v=N2VNJM9wyDQ
1•tosh•33m ago•0 comments

Microsoft to Do Is Retiring

https://support.microsoft.com/en-au/planner/to-do-to-planner
1•soheilpro•34m ago•1 comments

Adult-only households accounted for 55% of toy sales in the first half of 2026

https://www.bloomberg.com/news/articles/2026-11-18/jellycats-squishmallows-and-lego-sets-for-adul...
7•helsinkiandrew•36m ago•3 comments

Explore Alpöge's Riemann proof source

https://riemann.world
1•lheck•36m ago•0 comments

Move Fast and Fix Things (2015)

https://githubengineering.com/move-fast/
1•sammatilda•38m ago•0 comments

Show HN: An interactive architecture diagram of your codebase and infra

https://github.com/mrzdevcore/intent-graph
1•mmarotsaha•38m ago•0 comments

Anyone can easily use private, open weight models

https://micahflee.com/heres-how-anyone-can-easily-use-private-open-weight-models/
3•DeepLogin•40m ago•0 comments

Show HN: TodoMVC (CSS-Only)

https://codepen.io/editor/alowpoly/pen/01a1eee3-02d4-72fe-bffd-516510b29c32
1•rofko•41m ago•0 comments

'Legally, they don't exist': the hybrid crabs puzzling biologists and fishers

https://www.theguardian.com/environment/2026/nov/21/alaska-bering-sea-heatwave-snow-tanner-hybrid...
3•n1b0m•42m ago•0 comments

The Dark Reality of "Vibe Coded" Clone Apps [video]

https://www.youtube.com/watch?v=Bo-vESS4jt0
1•amelius•44m ago•0 comments

Show HN: Agentest – 165 offline tests on an AI agent's OpenTelemetry traces

https://github.com/srpadmanabhuni/agentest
1•srinivaspadmana•45m ago•0 comments

Passive Solar Building Design

https://en.wikipedia.org/wiki/Passive_solar_building_design
1•tosh•52m ago•0 comments

Show HN: I built a music engine – fast, editable, full MIDI, web and desktop

https://tetramusic.ai/?v=hn
1•tetramusic•52m ago•0 comments

Ask HN: I'm in highschool, what would y'all recommend to learn?

1•snipedbywifi•52m ago•6 comments

The old gas pipeline where Ukraine is fighting an underground war

https://www.bbc.com/news/articles/c32l507ev4v4o
1•cisc•56m ago•0 comments

Windows Longhorn Plex Demo Video (2009)

https://www.youtube.com/watch?v=WVvtzkpyRTg
2•potato-peeler•56m ago•1 comments

Emotionally focused couple therapy can help love last (2019)

https://aeon.co/essays/how-emotionally-focused-couple-therapy-can-help-love-last
1•sammatilda•57m ago•0 comments

Terrence Tao in March 2026: Riemann hypothesis requires new type of mathematics

https://twitter.com/dwarkesh_sp/status/2123966918688403756
1•wg0•57m ago•0 comments

Bitcoin falls to its lowest in two years

https://www.reuters.com/business/bitcoin-falls-357-56814-2026-11-21/
3•geox•1h ago•1 comments

Sugar alters hormones and metabolism, sets stage for obesity and diabetes (2017)

https://aeon.co/essays/sugar-is-a-toxic-agent-that-creates-conditions-for-disease
1•sammatilda•1h ago•0 comments