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

'The Telephone' Review: How Voices Carried

https://www.wsj.com/arts-culture/books/the-telephone-review-how-voices-carried-3c1b11f1
1•impish9208•2m ago•1 comments

China Has Matched Anthropic in Cybersecurity, Resetting AI Race

https://www.wsj.com/tech/ai/chinese-ai-anthropic-mythos-cybersecurity-574b02c2
1•yogthos•5m ago•0 comments

Can Robots Make a $1M House Cost $80K? [video]

https://www.youtube.com/watch?v=Vzm5keHro_Q
1•pj_mukh•6m ago•0 comments

The Platonic Representation Hypothesis Has Been Validated

https://andrewtrask.substack.com/p/the-platonic-representation-hypothesis
1•ohjeez•8m ago•0 comments

Julien Offray de La Mettrie's Man a Machine (1749)

https://publicdomainreview.org/collection/man-a-machine
1•zero_proof•10m ago•0 comments

Distinguishing AI training from inference via GPU auxiliary-cable current

https://arxiv.org/abs/2611.29982
1•datascientist•11m ago•0 comments

It can take months to make a primary care appointment in Boston

https://www.statnews.com/2026/11/26/primary-care-appointment-times-doctor-shortage/
1•brandonb•13m ago•0 comments

Polynomial Hirsch Conjecture Is False and Other Big News on Linear Programming

https://gilkalai.wordpress.com/2026/11/28/the-polynomial-hirsch-conjecture-is-false-and-other-big...
1•akalin•15m ago•0 comments

MCP servers can now ship skills, run tasks, and more with Claude

https://claude.com/resources/articles/skills-over-mcp-tasks-and-more
1•manoji•15m ago•0 comments

Show HN: Pippin – Message your agents from any device

https://pippin.chat
2•cwbuilds•22m ago•1 comments

Show HN: Sci-Fi Writers' Map

https://claude.ai/artifact/6QPxK8Yc42VbzLYKhCLzh7
1•abixb•22m ago•2 comments

'Big fat lady' hawk who ate too many chickens to fly soars free once again

https://www.cbc.ca/radio/asithappens/hefty-hawk-released-9.7439479
1•randycupertino•23m ago•1 comments

Backdoored LLMs Hack All Systems and Cannot Be Detected [video]

https://www.youtube.com/watch?v=q9cUzlMgGgk
1•hsnewman•23m ago•0 comments

Plenary: One board to rule them all

https://ryan.upubli.sh/plenary/
1•ryanthedev•23m ago•0 comments

COPD Is the Third Leading Cause of Death. Are Better Treatments Coming?

https://www.nytimes.com/2026/11/28/well/copd-treatments.html
1•brandonb•25m ago•0 comments

Candlemaking families in Oaxaca keep the flame of creativity alive

https://www.csmonitor.com/World/2026/1113/oaxaca-mexico-candles
1•Tomte•27m ago•0 comments

AI agents are coming for big business

https://www.ft.com/content/c9de05b8-0916-436a-87fc-40337067b0d2
2•thm•28m ago•1 comments

Show HN: Ufatfs: Unix overlay file system for VFAT/exFAT, version 1.0.0

https://fossil.chungy.name/ufatfs/doc/trunk/README.md
1•chungy•29m ago•0 comments

Show HN: Rivulet – A local-first, open-source RSS reader for Android

https://mohamedwazeemjassir.github.io/Rivulet/
1•MohamedWazeemJ•29m ago•0 comments

Cycling Art, Energy, and Locomotion (1889)

https://publicdomainreview.org/collection/cycling-art/
2•bookofjoe•31m ago•0 comments

Trump-backed World Liberty crypto token falls around 50% overnight

https://www.reuters.com/legal/government/trump-backed-world-liberty-crypto-token-falls-around-50-...
3•thm•32m ago•0 comments

The Savvy Showmanship That Helps Jensen Huang Always Come Out on Top

https://www.wsj.com/business/jensen-huang-nvidia-ping-pong-rise-and-fall-bfd13000
1•thm•33m ago•0 comments

Pings Aren't Approvals: Ntfy, Pushover, Slack and NotiBuddy

https://notibuddy.app/blog/ntfy-vs-pushover-vs-slack-vs-notibuddy
2•deegles•34m ago•1 comments

SpaceX to launch a million satellites but their environmental impact isn't known

https://theconversation.com/spacex-plans-to-launch-a-million-new-satellites-but-their-environment...
5•billybuckwheat•38m ago•0 comments

A GM EV1 drives again and brings a community together

https://news.gm.com/home.detail.html/Pages/news/us/en/2026/nov/1116-virtual-safety-engineering-si...
1•waximabbax•40m ago•0 comments

Bellingcat Challenge

https://challenge.bellingcat.com/
4•jonbaer•40m ago•0 comments

Europe Is Exploring Orbital Deep Strike Weapons

https://www.twz.com/space/europe-is-exploring-orbital-deep-strike-weapons
2•vrganj•41m ago•1 comments

Show HN: Cowl – Hide unwanted monitor audio outputs on macOS

https://github.com/eoleedi/cowl
2•eoleedi•42m ago•0 comments

Tuffcode open source harness remembers what you do – Memory and Council

1•holosticwave•42m ago•0 comments

Greatest Ancient Mysteries That No One Has Ever Solved

https://www.thecollector.com/unsolved-ancient-mysteries-archaeology/
1•Tomte•44m ago•0 comments