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

Is anybody still coding in PHP?

1•cfarre•40s ago•0 comments

Farewell, BioWare: The End of an RPG Giant

https://gardinerbryant.com/farewell-bioware-the-end-of-an-rpg-giant/
2•speckx•3m ago•0 comments

I get 215 GitHub notifications a day, so I built a bot to triage them

https://paolino.me/copilot-triage/
1•earcar•4m ago•0 comments

Ask HN: Qualcomm Atheros driver issues on Linux firmware?

1•coffeebar•5m ago•0 comments

Snapchat Now Supports PlayCanvas Games

https://blog.playcanvas.com/snapchat-now-supports-playcanvas-games/
1•ovenchips•7m ago•0 comments

Show HN: Orbit – A local macOS workspace for side projects

https://orbitdesktop.com/
1•capten_masin•8m ago•0 comments

Dutch government had hacked into Jared Kushner's phone

https://twitter.com/jaredkushner/status/2113376217415958767
4•teekert•10m ago•0 comments

Agent management is people management?

https://www.youtube.com/watch?v=VcIlkaI0mUk
1•claudiacsf•13m ago•1 comments

Show HN: Best otaku AI to chat about Anime with

https://otaku.animearray.site/
3•anitroves•15m ago•2 comments

Show HN: Vezur – A browser-based tool to upscale and clean up compressed videos

https://vezurai.com/
1•cby821555203•16m ago•0 comments

Show HN: Arc Decide RAG and conversation insights under 1gb

https://huggingface.co/Arc53/arc-decide-0.4b-v0.2
1•alextttty•17m ago•0 comments

Job Loss and Cortisone Mania

https://tilschuenemann.de/job-loss-cortisone-mania
2•speckx•20m ago•0 comments

Aging Populations Weighing on Global Retirement Systems

https://www.plansponsor.com/
1•throw0101c•21m ago•2 comments

Free Cached Input

https://runinfra.ai
3•OsamaJaber•22m ago•0 comments

Jared Kushner's Hacked Phone Revealed His Secret Negotiations

https://wallhop.io/https://www.vanityfair.com//story/jared-kushner-hacked-phone-secret-negotiations
5•alexander2002•23m ago•3 comments

I built Peer Fitness, an app to make walking fun with friends

https://play.google.com/store/apps/details?id=com.texvnx.peerfitness&hl=en_US
1•m-maaz-azhar•23m ago•1 comments

Forward deployed engineers are the future

https://keithbrown.com/forward-deployed-engineers
1•drewlem•26m ago•0 comments

Using the Dygma Defy ergonomic keyboard for 6 months

https://www.typequicker.com/blog/dygma-defy
1•absoluteunit1•28m ago•0 comments

Bitchat Becomes France's Top Social App Amid Riots and Mobile Network Outage

https://gizmodo.com/jack-dorseys-bitchat-becomes-frances-top-social-app-amid-riots-and-mobile-net...
1•giuliomagnifico•28m ago•1 comments

Dark mode for Medium is finally here

https://medium.engineering/dark-mode-was-never-on-our-roadmap-heres-how-it-got-built-b8e0a54c1d12
1•tontonius•31m ago•0 comments

'VPNs at Risk': Tech Coalition Pushes Back on Piracy Blocking Duties for VPNs

https://torrentfreak.com/vpns-at-risk-tech-coalition-pushes-back-on-piracy-blocking-duties-for-vpns/
2•gslin•33m ago•0 comments

The Founder Purity test is a measure of how much founder experience you have

https://john.fun/founderpurity
1•pghqdev•36m ago•0 comments

How Generative AI Is Scaling Transnational Repression

https://www.justsecurity.org/159245/how-generative-ai-scaling-transnational-repression/
5•pluc•36m ago•0 comments

Software is slow because of bad design, not slow languages

https://www.seangoedecke.com/software-is-slow-because-of-bad-design-not-slow-languages/
4•speckx•37m ago•0 comments

The Greatest Psychedelic Discovery You've Never Heard of [video]

https://www.youtube.com/watch?v=YZSraGWiOSE
1•binyu•37m ago•0 comments

See how many tickets NYC officials get, and whether they pay

https://www.carmula.com/nyc-car-tax/
2•knicker•38m ago•0 comments

Cloud Penetration Testing Vs.Cloud Security Assessment:Which Checklist You Need?

1•kunal9955•38m ago•0 comments

The Hibernate Origin Story (Outsider Edition)

https://fishbowl.pastiche.org/2026/10/23/hibernate-origin-story
1•joshcsimmons•39m ago•0 comments

Robot Will Draw Your Blood Now

https://spectrum.ieee.org/blood-draw-robot-vitestro-aletta
1•donk8r•40m ago•0 comments

AI Is Changing Everything About Hacking. No One Knows What Happens Next

https://www.404media.co/php2shell-black-october-ai-is-changing-everything-about-hacking-no-one-kn...
1•_tk_•40m ago•0 comments