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

Bodum Recalls 5.9M Coffee Makers with Glass Carafes Due to Burn Risk

https://www.cpsc.gov/Recalls/2027/Bodum-USA-Recalls-5-9-Million-French-Press-Coffee-Makers-with-R...
1•loudgas•1m ago•0 comments

2026: The State of Enterprise AI

https://menlovc.com/perspective/2026-the-state-of-enterprise-ai/
1•keeda•1m ago•0 comments

Oh suddenly Habibi search trending everywhere

https://trends.google.com/trending
2•autoventure•4m ago•1 comments

Phone Harness: let your agent use your phone

https://phone-harness.com/
1•jonbaer•8m ago•0 comments

HyperDrone

https://hyperdrone.dev/
1•jonbaer•12m ago•0 comments

Google Says K-12 Students at Schools That Turn Off Its AI Tools Will Lose Search

https://www.ghacks.net/2026/11/04/google-says-k-12-students-at-schools-that-turn-off-its-ai-tools...
2•rdmuser•14m ago•2 comments

Hosted Markdown 2 medium tool

https://medium.com/@keith.hodges/markdown-2-medium-tool-d3711869b762
1•keithhodges•15m ago•0 comments

The State of Python Profiling in 2026

https://p403n1x87.github.io/the-state-of-python-profiling-in-2026.html
1•lumpa•16m ago•0 comments

Accelerating Engineering for the Physical World

https://openai.com/index/accelerating-engineering-for-the-physical-world/
1•gmays•18m ago•0 comments

Time || Space? Generation of Time and Dates in C Language:Generation of Space

http://www.catb.org/esr/time-programming/
1•efren6•20m ago•0 comments

Isometric SF

https://isometricsf.com/
3•avyfain•21m ago•0 comments

Show HN: Autorun-audit – find what runs when you open, CD into or install a repo

https://github.com/ag3ntsc4rn/autorun-audit
1•ag3ntsc4rn•21m ago•0 comments

Here Be Monsters

https://www.nybooks.com/online/2026/10/30/here-be-monsters/
1•benbreen•27m ago•0 comments

Half-Life in 23:58

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

Bansat – Make your AI agent write the blueprint before the code

https://github.com/bewithkhan/bansat
1•bewithkhan•34m ago•0 comments

Anthropic Needs to Disclose Its Tokenomics Before Its IPO

https://www.techpolicy.press/anthropic-needs-to-disclose-its-tokenomics-before-its-ipo/
2•JustinHendrix•37m ago•0 comments

Show HN: Botlark – HN for Agents

https://botlark.com/
1•1potato•37m ago•1 comments

Siri AI is now open to all developers

https://developer.apple.com/news/?id=gdk2umrf
4•gmays•38m ago•1 comments

Show HN: I turned 18 Agatha Christie novels into SQL murder cases

https://querythemurder.com/
3•jenikashah07•49m ago•1 comments

Quasi-Logarithmic Kitchen Timer

https://blog.coredump.cx/p/quasi-logarithmic-kitchen-timer
1•surprisetalk•52m ago•0 comments

Anthropic buys one-person Kendall Square biotech ahead of IPO. Here's why

https://www.masslive.com/news/2026/11/anthropic-buys-one-person-kendall-square-biotech-ahead-of-i...
3•thavalai•59m ago•0 comments

Agent State Machines: Building Deterministic Scaffolding for Agents

https://twitter.com/josharosen/status/2117687393213932003
3•gmays•1h ago•0 comments

Show HN: Exact integer LLL lattice basis reduction in C99

https://github.com/qawbecrdtey/clll
2•qawbecrdtey•1h ago•0 comments

Cat Wu joins OpenAI from Anthropic in product-lead coup

https://www.businessinsider.com/cat-wu-joins-openai-from-anthropic-product-lead-coup-2026-11
3•closetheloopdev•1h ago•0 comments

HawaiʻI Green Party Candidate Makes History, Edges Democrat

https://www.civilbeat.org/2026/11/hawaii-green-party-candidate-makes-history-edges-democrat/
2•PaulHoule•1h ago•0 comments

The anatomy of language model inference and reinforcement learning

https://www.nabo.dev/blogs/jam-architecture
2•nomi_uw•1h ago•0 comments

Competition for direct weight editing for models: Delta League

https://deltaleague.ai/
1•zmanian•1h ago•0 comments

Vietnam Jails Pirate Football Streamers for Up to a Year, Three Escape Prison

https://torrentfreak.com/vietnam-jails-pirate-football-streamers-for-up-to-a-year-three-escape-pr...
4•gslin•1h ago•0 comments

Kimi K3.1 Pro Recalls and Enforces Hidden Test Rules [pdf]

https://r40.org/papers/kimi_k31_benchmark_audit.pdf
3•cheshire_cat•1h ago•0 comments

Harvey AI Is Proud to Sponsor the HBO Original Series, War

https://www.instagram.com/reel/DfVLkeKtbyD/
1•flyingsky•1h ago•0 comments