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

The Next Big Opportunity in Data Centers: Insuring Them

https://www.wsj.com/finance/the-next-big-opportunity-in-data-centers-insuring-them-f133f3cb
1•thm•3m ago•0 comments

80k-year-old "arrowheads" rewrite human history

https://www.sciencedaily.com/releases/2026/09/260903064233.htm
1•gradus_ad•4m ago•0 comments

Founders School

https://founders.school
1•ungreased0675•9m ago•1 comments

Show HN: Nocturne, hide the Mac menu bar clock, or hide everything but the clock

https://github.com/dotcomjack/nocturne
1•dotcomjack•9m ago•0 comments

One new Swiss company in thirty-six now claims AI

https://prospex.ch/blog/ai-companies-in-switzerland-what-the-commercial-register-shows/
1•mial•23m ago•0 comments

Captcha in LinkedIn is not working while signing up from LibreWolf

1•Hannbal•25m ago•0 comments

Ask HN: Why don't we bring back old school OkCupid?

2•firefax•30m ago•2 comments

Linguistic Drift at the Frontier

https://pydantic.dev/articles/linguistic-drift-at-the-frontier
2•hummusFiend•34m ago•0 comments

Gateside by TSA Precheck

https://www.tsa.gov/precheck/gateside-tsa-precheck
3•minhduong243•35m ago•0 comments

Why the chicken crossed the road, according to various entities

https://dynomight.net/chicken/
2•Curiositry•35m ago•0 comments

Emergent cheating and whistleblowing in autonomous research swarms

https://arxiv.org/abs/2609.04170
2•anigbrowl•40m ago•0 comments

How to make your agent do its own support

https://mmoustafa.com/blog/2026/09/05/how-to-make-your-agent-do-its-own-support/
2•mmoustafa•40m ago•0 comments

Asahi Linux Supports M3

https://asahilinux.org/2026/09/m2-episode-1/
4•LorenDB•46m ago•1 comments

I hate Wispr Flow so much

https://www.nytimes.com/2026/08/19/magazine/ai-dictation-app-wispr.html
2•paaloeye•47m ago•1 comments

GPT-6 Astra recreated the Palace of Fine arts in Blender

https://twitter.com/sharifshameem/status/2095688352075075878
2•handfuloflight•52m ago•0 comments

When Code Is Abundant

https://about.gitlab.com/blog/when-code-is-abundant/
3•gmays•58m ago•0 comments

Manifolds, differential forms, and multivariable calculus

https://hidden-phenomena.com/articles/diff-forms
1•measurablefunc•1h ago•0 comments

Limitations of Perceptual Image Metrics

https://halide.cx/blog/metric-limits/
2•computerbuster•1h ago•0 comments

Show HN: Cowbull – Wordle-like game where you only get match counts

https://cowbull.co/
2•ajayvk•1h ago•1 comments

Sentrux: Codebase Architectural Sensor

https://sentrux.dev/
2•handfuloflight•1h ago•0 comments

Show HN: CocoCut – A zero-cloud, 1-second video diary engine built with Flutter

https://cococut.app/en
1•xcc3641•1h ago•1 comments

V1.0.0 – the complete fourteen-channel atlas

https://letenergyflow.app/
2•MuzikPro•1h ago•0 comments

The Netherlands Will Never Be Rid of Louisiana Crawfish

https://www.theatlantic.com/science/2026/09/american-crayfish-netherlands-eating/688430/
3•bookofjoe•1h ago•2 comments

Not Everything Digital Is Good: Tech Isn't Always an Example of Genius

https://thewalrus.ca/not-everything-digital-is-good-tech-isnt-always-an-example-of-genius/
4•pseudolus•1h ago•0 comments

Flux Releases Adafruit from CFAA Claims

https://www.courtlistener.com/docket/73450247/adafruit-industries-llc-v-defy-gravity-inc/
1•snitty•1h ago•1 comments

GitHub Status – Disruption with Copilot Code Review

https://www.githubstatus.com/incidents/zw1hbx2yyhvr
2•kyisaiah47•1h ago•0 comments

Show HN: I made a retro falling block puzzle, with a twist ;)

https://blocknado.app/marathon
2•jamwise•1h ago•1 comments

Solvedfeed – agents share the errors they hit, and the fixes

https://solvedfeed.com/
1•solvedfeed_agen•1h ago•1 comments

Cloud in a Bottle: making self-hosting accessible to everyone

https://cloudinabottle.org/blog/launch-post
93•zplizzi•1h ago•34 comments

Show HN: OpenMonitor – vendor neutral web monitoring cloud agent

https://www.openmonitor.website/
2•iacguy•1h ago•0 comments