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

Marvel Wolverine trailer swarmed by PlayStation fans angry at Sony ditching disc

https://www.eurogamer.net/marvels-wolverine-story-trailer-sony-disc-outrage
1•Zeidd•1m ago•0 comments

Tile-pack repos, files, and prompts into images for 60–75% fewer Claude tokens

https://old.reddit.com/r/ClaudeCode/comments/1uz5tpl/tilepack_repos_docs_files_and_prompts_into_i...
1•syumei•2m ago•0 comments

Pelton: A FOSS, Privacy Focused and Customizable Email Client

https://pelton.app/
1•arnepk•6m ago•0 comments

NTP server that traveled back in time caused Aussie mobile outage

https://www.theregister.com/networks/2026/07/17/ntp-server-that-traveled-back-in-time-caused-mass...
1•Bender•6m ago•0 comments

Show HN: I spent 9 months fixing file sharing between every major platform

https://tapsend.app
1•TapSend•7m ago•0 comments

FreelyMemo – A floating notepad on every tab

https://chromewebstore.google.com/detail/freelymemo-a-floating-not/heffeleefkjalhablljfohlcejiegpgb
1•kythanh•10m ago•0 comments

Torvalds challenged the haters to fork Linux. Someone said 'hold my beer'

https://www.theregister.com/os-platforms/2026/07/17/torvalds-challenged-the-haters-to-fork-linux-...
2•Bender•10m ago•0 comments

Show HN: Open-source verification and tuning layer for self-hosted LLMs

https://github.com/colomalabs/coloma
1•tschillaci•11m ago•0 comments

The Download: perimenopause misinformation and China's latest AI leap

https://www.technologyreview.com/2026/07/17/1140640/the-download-perimenopause-misinformation-chi...
1•joozio•12m ago•0 comments

Yes, you can now order DoorDash from the command line

https://techcrunch.com/2026/07/16/yes-you-can-now-order-doordash-from-the-command-line/
2•wayne•13m ago•1 comments

Show HN: A clean, distraction-free reading site for Plato's Apology of Socrates

https://allbooks.pages.dev
1•ismail_hossain•15m ago•0 comments

Does the SunChips Bag Break Down in a Compost Pile?

https://www.cockeyed.com/science/compost_chips/sunchips.php
2•jlund-molfese•16m ago•0 comments

Thanks HN for 15 years of support and helping me find my life's work

https://www.recurse.com
3•nicholasjbs•17m ago•1 comments

Show HN: Da Ultimate Rap Battle: 564 dope-ass rap songs, ranked

https://ryantuck.io/rap/
2•ryantuck•18m ago•0 comments

Chess engine, pt. 0: Index

https://www.dogeystamp.com/chess0/
1•mci•22m ago•0 comments

Kimi K3: Is It Open Source? and What Would It Take to Recreate It?

https://grigio.org/kimi-k3-is-it-really-open-source-and-what-would-it-take-to-recreate-it/
2•grigio•22m ago•0 comments

Apple dethrones Nvidia to regain title of most valuable company

https://www.theguardian.com/technology/2026/jul/17/apple-nvidia-most-valuable-company
2•antfarm•22m ago•0 comments

The death of the stick shift is almost here

https://www.washingtonpost.com/transportation/2026/07/17/death-stick-shift-is-almost-here/
1•bookofjoe•22m ago•2 comments

Levels of Building a Data Grid – My 1 Year Journey of Building a Table

https://visualeaf.com/blog/the-10-levels-of-building-a-data-grid/
3•birdculture•25m ago•0 comments

What is the most beneficial way AI has impacted your daily life?

1•Mdarwish2005•25m ago•0 comments

America's Enterprising Spirit Is Booming After Decades-Long Slump

https://www.nytimes.com/2026/07/17/business/economy/american-small-business-boom.html
1•tantalor•29m ago•0 comments

Tracking Peter Stokes and the Com

https://www.zetter-zeroday.com/tracking-peter-stokes-and-the-com-allison-nixon-and-her-work-unmas...
1•_tk_•34m ago•0 comments

A mere add_foreign_key can wipe out your whole Rails+SQLite production table

https://kyrylo.org/software/2025/09/27/a-mere-add-foreign-key-can-wipe-out-your-whole-rails-sqlit...
1•dennisjoseph•35m ago•1 comments

1193 back ends waiting on an append

https://frn.sh/walwrite/
2•theanonymousone•35m ago•0 comments

Patreon CEO: Why I'm (sort of) not worried about AI [video]

https://www.youtube.com/watch?v=17_HcR95YBc
1•calcifer•37m ago•0 comments

Macaz – GPT 5.6 inside Claude Code

https://github.com/macaz-dev/macaz-cli
1•dumitruflorin•38m ago•0 comments

Find out your attachment style quiz

https://tally.so/r/0QP0lj
2•ElysiumAbove•40m ago•0 comments

Did you experience childhood trauma or emotional neglect?

https://tally.so/r/A7GMoW
1•ElysiumAbove•41m ago•0 comments

Perplexity Unveils Space, a Secure Sandbox Platform for AI Agents

https://techstrong.ai/articles/perplexity-unveils-space-a-secure-sandbox-platform-for-ai-agents/
1•CrankyBear•41m ago•0 comments

Inkling the highest-scoring open-weight model evaluated by ARC Prize

https://arcprize.org/results/thinky-inkling
1•turadg•41m ago•0 comments