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

What's the Date?

https://www.lesswrong.com/posts/vzKWsEskYBEWTwpBP/what-s-the-date
1•cubefox•19s ago•0 comments

Using Theme park rides and smartphones for demonstrating Newtonian mechanics

https://iopscience.iop.org/article/10.1088/1361-6404/aea271
1•bryanrasmussen•1m ago•1 comments

Being a good CPU neighbor (2016)

https://barro.github.io/2016/02/being-a-good-cpu-neighbor/
1•bilegeek•2m ago•0 comments

Show HN: thezoomist.com – Closer to Everything

https://thezoomist.com/
1•mmdtdev•5m ago•0 comments

Software 2.0 writes Software 1.0

https://www.giete.ma/blog/software-2-0-writes-software-1-0
2•gietema•6m ago•0 comments

Building Serendipity (2011)

https://randsinrepose.com/archives/building-serendipity/
1•mooreds•6m ago•0 comments

The clanker torture nexus manifesto

https://jregory.substack.com/p/why-we-are-torturing-clankers
1•Murfalo•11m ago•0 comments

Docker has always used microVMs (well since 2016)

https://dave.recoil.org/docker-has-always-used-microvms/
3•avsm•13m ago•0 comments

What we learned running an agentic hackathon with 30k+ hackers

https://twitter.com/rvivek/status/2106264394414108925
2•rvivek•16m ago•0 comments

It's Time to Rename Cybersecurity Awareness Month

https://semgrep.dev/blog/2026/rename-cybersecurity-awareness-month/
1•mooreds•16m ago•0 comments

Ask HN: How are you preparing your children for an AI-powered world?

1•pwython•16m ago•1 comments

City building games have a Soul Problem pt.2

https://www.radical-elements.com/minor-epiphanies/city-building-games-have-a-soul-problem-pt2
2•lexx•17m ago•0 comments

Israel: More Measures to Prevent Civilian Casualties Than Any Other Nation

https://www.newsweek.com/israel-implemented-more-measures-prevent-civilian-casualties-any-other-n...
2•Tomte•19m ago•0 comments

Offloading System Updates to My NAS

https://ls-root.de/posts/download-updates-on-unraid/
1•ls-root•19m ago•0 comments

Australia May Have Just Solved the Housing Crisis [video]

https://www.youtube.com/watch?v=QtZfbWOkoIY
1•thelastgallon•19m ago•1 comments

One Line, 25M Revenue

https://huntersoftwareconsulting.com/posts/2026-10-02-one-line-25m/
2•mooreds•22m ago•0 comments

The UK's Sovereign AI Lab

https://cosine.sh
2•maxall4•23m ago•0 comments

How Firestore Matches Realtime Queries

https://rockwotj.com/blog/firestore-query-matching/
1•Malp•23m ago•0 comments

Doffly – Know Before It Goes Down

https://www.doffly.pro/
1•anelkabag•23m ago•1 comments

Vietnam's economy grew 9.95% in Q3, fastest pace in 4 years

https://asia.nikkei.com/economy/vietnam-s-economy-grew-9.95-in-q3-fastest-pace-in-4-years
1•michaelhillaert•24m ago•0 comments

Show HN: Agentlytics – cookieless analytics your AI agent can read and act on

https://measuremy.site
2•developeron29•25m ago•0 comments

Writing Without Artificial Intelligence [pdf]

https://provost.uchicago.edu/sites/default/files/2026-09/WritingWithoutAIPrinciplesandRecommendat...
1•clcaev•29m ago•1 comments

Let's make FOSS printer drivers with your monetary support

https://printserver.ink/funding.html
1•ValdikSS•29m ago•0 comments

Terminal.Gui – Cross Platform Terminal UI Toolkit for .NET

https://tui-cs.github.io/Terminal.Gui/
1•eustoria•30m ago•0 comments

OpenAI safety leader David Robinson resigns

https://www.businessinsider.com/safety-leader-david-robinson-resigns-from-openai-2026-10
2•pcvarmint•30m ago•0 comments

Whisper Web: Transcribe speech directly in the browser

https://whisper-web.mesu.re/
2•eustoria•31m ago•0 comments

The Journal of Writing and Artificial Intelligence

https://www.jwai.org
2•eustoria•32m ago•0 comments

Claude Ultracode is super intelligence

https://twitter.com/atmoio/status/2106089460316397857
2•baxtr•33m ago•0 comments

UAE threatens Burnham over Man City: We'll pull billions out of UK

https://www.telegraph.co.uk/news/2026/10/02/uae-threatens-burnham-over-man-city-pull-billions-out...
2•ksec•37m ago•1 comments

CLR: Checker of Lifetimes and other Refinement types for Zig

https://github.com/ityonemo/clr
1•ksec•39m ago•0 comments