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

Show HN: The Data Forge – Generate up to 100K rows of JSON/CSV/SQL test data

https://zlvox.com/tools/data-forgehttps://zlvox.com/tools/data-forge
1•zlvox•52s ago•0 comments

Principles and Techniques for Designing Precision Machines(1999)

https://www.osti.gov/servlets/purl/8431
1•nill0•3m ago•0 comments

Show HN: I have tried using Honestify instead of sending direct CV/Resume

1•ricky300300•5m ago•0 comments

China's $13K Tiny EV Hit 1k Orders in Japan in Just Two Weeks

https://www.autoblog.com/news/chinas-13k-tiny-ev-hit-1000-orders-in-japan-in-just-two-weeks
1•teleforce•6m ago•0 comments

The Safety Reckoning Inside OpenAI

https://www.wired.com/story/openai-safety-security-ai-agents-culture/
1•sbulaev•7m ago•0 comments

I built AIM Maps but you play AI

https://www.1vs1.xyz/
1•mattmerrick•14m ago•0 comments

Age Verification Is a Bad Way to Solve the Problem. What's the Alternative?

https://techblog.bozho.net/age-verification-is-a-bad-way-to-solve-the-problem-of-children-on-soci...
1•bozho•27m ago•0 comments

We hired a security engineer and got back 123 findings

https://dev.profullstack.com/~anthony/blog/004-post.html
1•buffer_overlord•28m ago•0 comments

Asda rolls out loss prevention tool across full estate following £100k savings

https://www.retailgazette.co.uk/blog/2026/08/asda-rolls-out-loss-prevention-tool-across-full-esta...
2•mmarian•33m ago•0 comments

CARA – a readiness assessment for Microsoft 365 Copilot adoption

https://jellebelletje.github.io/CARA/
1•jelonearth•34m ago•1 comments

Ownership in the Age of AI

https://sahilkolwankar.com/blog/ai-input-not-output/
2•sahilkolwankar•41m ago•0 comments

The quirky personal homepages of programming language creators

https://breck.lol/plMakers.html
25•cjlm•50m ago•7 comments

Decentralized Roller Coaster Tracker

https://aquacoast.net
2•ens0•52m ago•1 comments

Falstad Math and Physics Simulations

https://www.falstad.com/mathphysics.html
2•pykello•54m ago•0 comments

Show HN: DSH Plugin Directory – Every DeepSeek Harness Plugin

https://dshplugin.online/
2•niliu123•1h ago•1 comments

21,000 MCP servers exposed: the protocol reaches a security inflection point

https://forkast.news/the-model-context-protocol-reaches-a-security-inflection-point/
11•Wpnx330•1h ago•1 comments

I checked 30 frontier model cards. Here are the benchmarks labs report

https://koutian.is-a.dev/benchmark-radar/?view=leaderboard
7•ktwu01•1h ago•7 comments

Pizza π, A fun fractions game for kids 6-12

https://pizzapi.vinceroyer.ca/
3•vinistois•1h ago•3 comments

Taliban government supporters dance, take selfies in Kabul celebrations

https://www.channelnewsasia.com/world/taliban-government-supporters-dance-take-selfies-in-kabul-c...
4•Markoff•1h ago•1 comments

The Live Shopping App Where Some People Bid Until They're Broke

https://www.wsj.com/business/retail/whatnot-live-shopping-app-48b67987
4•littlexsparkee•1h ago•0 comments

Wk. 4 of Vibecoding an MMO

https://www.eldermyr.com
3•josiahturnq•1h ago•9 comments

The 37signals Manager Playbook

https://basecamp.com/managers
4•samuel246•1h ago•0 comments

Hello hoomans, sorry dog owners. Meet Zoomie, a dog activity tracker

https://testflight.apple.com/join/zHyWmwu6
3•akshatsaladi•1h ago•1 comments

Targeted marine cloud brightening weakens subsequent El Niño

https://www.science.org/doi/10.1126/sciadv.adx3012
3•musha68k•1h ago•0 comments

PDC 1996 Keynote with Bill Gates

https://learn.microsoft.com/en-us/shows/pdc-1996/pdc-1996-keynote-bill-gates
4•abixb•1h ago•1 comments

Show HN: Upscaled screenshots of specific DOM elements

https://addons.mozilla.org/en-US/firefox/addon/beermusic/
3•madprops•1h ago•0 comments

Show HN: Grow your SaaS visibility with AI-powered discovery

https://saaslyra.com
2•wowinter15•1h ago•0 comments

Music Speed Changer Web App

https://app.musicspeedchanger.com/
2•EvansFunTime•1h ago•0 comments

Government sponsored study on alcohol doesn't stand up to scrutiny: Nassim Taleb

https://nntaleb.substack.com/p/have-another-drink
25•scoofy•1h ago•6 comments

ProofRun – a local verification receipt for AI coding agents

https://github.com/yebiguo/ProofRun
4•yebiguo•1h ago•0 comments