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

Code Is a Message to the Future

https://webflow.com/blog/code-as-communication
1•ilreb•1m ago•0 comments

Show HN: StoryMotion – an editor for whiteboard explainer animations

https://storymotion.video
1•chunza2542•1m ago•0 comments

Sbt 2.0.0

https://eed3si9n.com/sbt-2.0.0
1•pregnenolone•2m ago•0 comments

3D Lissajous Figure Generator

https://www.simplenumbertools.com/calculators/wave-generator/
1•smdz•2m ago•0 comments

China bans sales of Germany's Infineon GAN chips

https://www.semiconductor-today.com/news_items/2026/jun/innoscience-infineon-150626.shtml
1•akyuu•5m ago•0 comments

Microsoft weighing up spinning off Xbox

https://www.gamesindustry.biz/report-microsoft-weighing-up-spinning-off-xbox
1•lentil_soup•6m ago•0 comments

A History of Microwave Ovens (2024)

https://taylor.town/history-of-microwave-ovens
1•surprisetalk•6m ago•0 comments

Mythos Proves AI Safety Can No Longer Live Inside the Model

https://grith.ai/blog/mythos-ai-safety-cannot-live-inside-the-model?a=0
1•edf13•7m ago•0 comments

See Anthropic Orchestrate the Narrative

1•functionmouse•7m ago•0 comments

Tell HN: Forget selectors and screenshots. The agentic web lives in your shell

1•keepamovin•7m ago•0 comments

Open (YC W24): we'll refund every dollar, up to $2M, if our AI agent disappoints

https://www.open.cx/guarantee
1•gharbat•7m ago•1 comments

Fox buying streaming platform Roku in cash-and-stock deal worth $22B

https://apnews.com/article/fox-roku-tubi-streaming-824089dbe16631fade634becdb164c94
3•geox•8m ago•0 comments

Floating Point: The Origin Story

https://thechipletter.substack.com/p/floating-point-the-origin-story
1•abhi9u•9m ago•0 comments

Quentin's Law of Optimal Velocity

https://statusq.org/archives/2026/04/12/13679/
1•bookofjoe•10m ago•0 comments

Anxiety around AI is materially triggered and existentially experienced

https://michaellwy.substack.com/p/the-texture-of-ai-dread
2•momentmaker•11m ago•0 comments

Show HN: TopoGlyph – an extensible language system for problem solving

https://github.com/xyzcoordinate/TopoGlyph/tree/main
1•zwyld•11m ago•0 comments

Show HN: Comment Vibe – on-device tone check using Chrome's built-in AI

https://chromewebstore.google.com/detail/comment-vibe/kibcnjcipaofjlbbnjdjaobbkoajiejp
1•Brosper•11m ago•0 comments

Plugins Case Study: Pluggy

https://eli.thegreenplace.net/2026/plugins-case-study-pluggy/
1•ibobev•12m ago•0 comments

An O(x)Caml book that runs

https://kcsrk.info/ocaml/oxcaml/teaching/nptel/llm/2026/06/13/an-oxcaml-book-that-runs/
1•ibobev•12m ago•0 comments

Google found liable for bad AI Overview results Let's play Truth Or Consequences

https://www.theregister.com/ai-and-ml/2026/06/15/google-found-liable-for-bad-ai-overview-results-...
1•beardyw•13m ago•0 comments

Unity vs. Floating Point

https://aras-p.info/blog/2026/06/11/Unity-vs-floating-point/
1•ibobev•13m ago•0 comments

What rare earths and chip controls predict about the Fable shutdown

https://tediware.com/resources/updates/what-rare-earths-and-chip-controls-predict-about-the-fable...
2•adriand•15m ago•0 comments

When Three Passive Funds Become the Market

https://www.apollo.com/wealth/the-daily-spark/When-Three-Passive-Funds-Become-the-Market
1•akyuu•15m ago•0 comments

I built an AI tool to auto-clip the most "hyped" moments from YouTube streams

https://streamcut-jt4lxhl5gbajgzgc5wx438.streamlit.app/
1•Adilaa•15m ago•0 comments

Show HN: GitDocs – AI that writes your README and opens a PR on your repo

https://gitdocs.online/
1•shivansh0512•16m ago•0 comments

How the Squamish struck gold in Vancouver

https://worksinprogress.co/issue/how-the-squamish-struck-gold-in-vancouver/
5•duffycommaryan•19m ago•0 comments

The World's Leading Deepfake Expert No Longer Trusts His Own Eyes

https://www.nytimes.com/2026/06/14/us/ai-deepfake-hany-farid.html
2•bookofjoe•21m ago•1 comments

White House's export limits on Anthropic linked to concerns about Chinese access

https://www.semafor.com/article/06/13/2026/white-house-move-to-limit-anthropic-linked-to-concerns...
2•doener•22m ago•0 comments

I'm 15. I spent the last three years building a programming language

https://x-lang.vercel.app/ineedhelp
2•x-xxx•22m ago•2 comments

Belgian politicians would rather risk treason charges than trust engineers

http://mikhailian.mova.org/node/325
16•sam_lowry_•25m ago•5 comments