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 last day of the dinosaurs, as an interactive painting

https://www.echohive.ai/experiments/dinosaurs
1•echohive42•2m ago•0 comments

Special Projects (2016)

https://openai.com/index/special-projects/
1•vinhnx•5m ago•0 comments

Colibri: CERN VHDL Common Library Released for Everyone to Use

https://ep-news.web.cern.ch/colibri-cern-vhdl-common-library-released-for-everyone-to-use/
1•nhatcher•5m ago•1 comments

Running local LLMs on your Mac: what fits, what's free, and what's overkill

https://typetab.app/blog/local-llms-on-your-mac
1•donk8r•6m ago•0 comments

Ex-Microsoft dev builds a new task manager for Linux

https://www.omgubuntu.co.uk/2026/09/tmog-task-manager-linux-beta
1•theanonymousone•11m ago•0 comments

A master class in decorators, patching and tracing

https://grahamdumpleton.me/posts/2026/09/a-master-class-in-decorators-patching-and-tracing/
1•lumpa•14m ago•0 comments

Who Is Open Source About?

https://blog.glyph.im/2026/09/who-is-open-source-about.html
1•lumpa•14m ago•0 comments

The Orient Cables IPO Explained

https://finshots.in/markets/orient-cables-ipo-explained/
1•vismit2000•17m ago•0 comments

HackMIT 2026

https://hackmit.org
2•vismit2000•20m ago•0 comments

The Collie and the Pug – HackMIT 2026 Keynote

https://3blue1brown.substack.com/p/the-collie-and-the-pug
2•vismit2000•21m ago•0 comments

Philosophy Bench

https://philosophybench.org/
3•mellosouls•26m ago•0 comments

Claude's remake of "I'm upping my p(doom)" in 12 hours

https://x.com/donaldjewkes/2102801274173587569
2•newsuser•29m ago•1 comments

BigQuery FinOps Framework

https://www.alvin.ai/blog/bigquery-cost-optimization-the-complete-finops-framework
5•Arimbr•29m ago•0 comments

Unexplained objects in 1950s sky correlate with nuclear tests and UAP reports

https://www.nature.com/articles/s41598-025-21620-3
3•devonsolomon•30m ago•1 comments

SpaceX Pivots Away from Space

https://www.ft.com/content/0fd15797-ac89-4222-a4bb-03a6a1330f48
4•luke5441•31m ago•0 comments

AI for Creativity

https://twitter.com/jeffreykWNDR/status/2102774995315245469
3•tosh•41m ago•0 comments

Astra compressed 600Mb of audio into 20Kb

https://twitter.com/MatternJustus/status/2100706428684304892
4•newsuser•45m ago•1 comments

A Mass. lesbian bar required KN-95 masks. Rules changed and all hell broke loose

https://www.bostonglobe.com/2026/09/22/magazine/greenfield-last-ditch-bar-backlash/
3•TMWNN•45m ago•1 comments

OpenAI $500 ProMax plan listed in API

6•GustavHartz•48m ago•2 comments

Musk – Official Trailer – Bleecker Street [video]

https://www.youtube.com/watch?v=eY_8SyndC10
3•vintagedave•49m ago•0 comments

Steppy Fox Browser Game

https://steppyfox.com/
3•fadilbeg•51m ago•0 comments

Legal AI Harvey's margins went from +50% to -50% in 6 months on frontier costs

https://finance.yahoo.com/technology/ai/articles/openai-anthropic-costs-push-more-160523322.html
3•joennlae•52m ago•2 comments

Show HN: IGViewer – Browse public Instagram profiles and stories anonymously

https://www.igrecent.com
2•sx2026•52m ago•0 comments

Real-Time AI Simplification (A2, B1, B2) of BBC World News Live

https://voicefrom.ai/restate/
2•BrandiATMuhkuh•53m ago•0 comments

My First Language Front End with MLIR

https://whereisalan.dev/blog/kaleidoscope-mlir-tutorial/
3•alankarmisra•53m ago•0 comments

Dutch governments builds alternative for Microsoft based on NixOS

https://www.dawo.community/en/
4•fjfaase•53m ago•0 comments

You Cry [video]

https://www.youtube.com/watch?v=rLvUztp7Iog
1•mrroryflint•57m ago•0 comments

Your Language Model Is Already a Decision Model

https://github.com/ntlm1686/Your-language-model-is-already-a-decision-model/tree/master
4•ntlm1686•58m ago•0 comments

Dating a takeoff photo to the second using runway markings as a ruler

https://blog.spuria.app/writeups/angle-of-ascent-billund-klm-takeoff/
1•lost_•1h ago•1 comments

Show HN: Can an AI agent bypass a post-quantum signed authorization policy?

https://github.com/max-russo-com/MAX_AUTHORIZATION_SANDBOX
2•max-russo•1h ago•0 comments