frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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 carmakers are struggling to compete with China

https://www.bbc.com/news/articles/c4g8vg72z43o
1•nairteashop•1m ago•0 comments

NovaGPU – An open-source GPU architecture written in Verilog

https://github.com/nova-studios-hw/novagpu-ts1t
1•novastudios-hw•1m ago•0 comments

Ask HN: How Much a Difference Does an LLM's Corpus Make?

1•giardini•1m ago•0 comments

Ask HN: Why not have an EU browser?

1•osigurdson•2m ago•0 comments

Oilfield units: a measurement system so cursed it made me change career [video]

https://www.youtube.com/watch?v=sdWEGzWFcCc
1•dgellow•3m ago•0 comments

Clojure → YAMLScript transpiler: using LLMs for normalization, SCI for execution

https://github.com/whitecell-dev/cljys
1•MaykonMan•4m ago•0 comments

Unemployment Simulator 2018

https://store.steampowered.com/app/3252360/Unemployment_Simulator_2018/
1•MrBuddyCasino•5m ago•0 comments

DOJ charges Google staffer over Polymarket trades netting $1.2M

https://text.npr.org/nx-s1-5836659
1•hvb2•6m ago•0 comments

Show HN: Product Trailers – The TV Channel for Product Hunt Launches

https://producttrailers.xyz
2•kentich•6m ago•0 comments

SpaceX: Did Elon Musk Just Rig the Stock Market? [video]

https://www.youtube.com/watch?v=sYA-z0Y8WRQ
6•mgh2•12m ago•0 comments

Show HN: Pre-computed market context for agents

https://tickerdb.com/
1•wolfman1•15m ago•0 comments

Sigbovik 2026 Proceedings [pdf]

https://sigbovik.org/2026/proceedings.pdf
4•boodleboodle•21m ago•0 comments

JAL to launch Moon payload service, aims to preserve heritage

https://english.kyodonews.net/articles/-/76763
2•anigbrowl•22m ago•0 comments

Amdahl's law for AI agents

https://electric.ax/blog/2026/02/19/amdahls-law-for-ai-agents
1•pramodbiligiri•24m ago•0 comments

Class CrunchLabs

https://www.classcrunchlabs.org/
3•mgarciaisaia•29m ago•0 comments

Parallelizing Arbitrary Python Code by Running 1M Python Interpreters on a GPU

https://github.com/jndean/gpusnek
1•jffry•35m ago•0 comments

World likely to breach 1.5°C limit in next five years

https://news.un.org/en/story/2025/05/1163751
4•geox•36m ago•0 comments

Discovering the Saddle Ridge Hoard

https://americanhistory.si.edu/explore/exhibitions/value-money/online/new-acquisitions/saddle-rid...
2•thunderbong•40m ago•0 comments

What Is a Neoengineer?

https://lukaswerner.com/post/2026-05-27@genz-neoengineer
2•chilipepperhott•41m ago•1 comments

Want to pack a public meeting in Kansas? Just say it's about a 'data center'

https://klcjournal.com/want-to-pack-a-public-meeting-in-kansas-just-say-its-about-a-data-center/
2•gnabgib•42m ago•0 comments

MIT president: Why so many optimistic scientists are losing heart

https://www.bostonglobe.com/2026/05/26/opinion/science-funding-cuts-mit/
7•andrewl•45m ago•0 comments

C++ CLI for folder encryption with AES-256-GCM and USB-based key loading

1•nextma•48m ago•0 comments

OpenGlasses: Meta Glasses open source app

https://github.com/straff2002/OpenGlasses
2•exadeci•1h ago•0 comments

When everyone has access to the same AI models

https://www.mckinsey.com/capabilities/quantumblack/our-insights/from-ai-table-stakes-to-ai-advant...
2•jameslk•1h ago•0 comments

Hallucinate – Massively Multiplayer Online Rave

https://hallucinate.site
35•stagas•1h ago•7 comments

We're in the Over-Engineering Game Now

https://plc.vc/cdx
2•pclark•1h ago•0 comments

Relativistic Space Invaders

https://github.com/jarrydac/relativistic-space-invaders/
3•dargscisyhp•1h ago•0 comments

Dirty Frag: a kernel zero-day vs. container and microVM sandboxes

2•ShivamNayak11•1h ago•0 comments

I'm bad at game art. So I cheated. [video]

https://www.youtube.com/watch?v=gb0dY7VyoBg
1•sharma-arjun•1h ago•0 comments

The Spy Who Came in from the WiFi: Beware of Radio Network Surveillance

https://www.kit.edu/kit/english/pi_2025_069_the-spy-who-came-in-from-the-wifi-beware-of-radio-net...
2•gnabgib•1h ago•0 comments