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

State of SSL and TLS Encryption in Late 2026

https://zerossl.com/p/ssl-in-late-2026
1•taubek•4m ago•0 comments

EKA-1 Technical Report [pdf]

https://soket.ai/reports/eka-1-technical-report.pdf
1•porridgeraisin•10m ago•0 comments

What kind of facilities does the Internet Archive have and how is it operated?

https://gigazine.net/gsc_news/en/20260119-web-inside-internet-archives/
2•FrankyHollywood•12m ago•0 comments

I closed one third of all Plasma bugs

https://thelibre.news/how-i-closed-one-third-of-all-plasma-bugs/
2•Gander5739•19m ago•0 comments

Anssi: Recent AI Advances and Their Impact on Cryptography [in French]

https://cyber.gouv.fr/actualites/avis-de-lanssi-sur-avancees-permises-par-lia-et-leur-impact-sur-...
1•otrack•22m ago•0 comments

New Legal Authority for Authorities to Intercept 2FA Messages to Access Accounts

https://decoded.legal/blog/2026/12/a-new-lawful-authority-for-the-interception-of-two-factor-auth...
2•DeepLogin•28m ago•1 comments

Ask HN: You're the most tech savvy US President ever. What's your AI policy?

1•noduerme•28m ago•0 comments

Microbiome home tests are taking off. Can they be trusted?

https://www.nature.com/articles/d41586-026-03710-y
1•mfld•32m ago•0 comments

Nvidia finds 'material weaknesses' in controls over financial reporting

https://www.ft.com/content/5b6c122b-1b13-4d06-8f4e-b43705b68803
4•uxhacker•40m ago•1 comments

Pipedream confirms compromised API keys and is temporarily unavailable

https://pipedream.com/
5•aghuang•40m ago•0 comments

Rust, Post-Quantum Cryptography, and You

https://rustfoundation.org/media/rust-post-quantum-cryptography-and-you/
3•espeed•41m ago•0 comments

5-Yr-Old Can't Sleep as Microsoft's AI Data Center Runs 24/7: Microsoft Lawsuit

https://www.ibtimes.sg/5-year-old-cant-sleep-microsofts-ai-data-center-runs-24-7-families-sue-ove...
4•Skywalker19•44m ago•0 comments

US banks are sharing Social Security numbers with ad giants Reddit and X

https://techcrunch.com/2026/12/03/us-banks-are-sharing-social-security-numbers-with-advertising-g...
3•nreece•45m ago•0 comments

Talking a bit more about translator credits in video games

https://www.whateverthewindbrings.com/talking-a-bit-more-about-translator-credits-in-video-games/
2•charlie42•46m ago•0 comments

Show HN: SealBook – run a whole investigation from raw files to signed findings

https://sealbook.org/
4•level09•47m ago•0 comments

Ask HN: How are human creators distinguishing their work now in a sea of AI slop

3•albert_e•56m ago•0 comments

Lemma: A an ML library faster than torch and Jax

https://github.com/Fortuna-laboratories/lemma/
2•Sacco215•57m ago•0 comments

NetWasm: Compile C# to WebAssembly at native WASM size

https://www.netwasm.com/
1•zigzag312•59m ago•0 comments

Terrifying Figures From Ancient Winter Folklore

https://www.bbc.com/culture/article/20261203-nine-most-terrifying-figures-from-winter-folklore
2•tosh•1h ago•0 comments

Buy and sell plus 1 invites to tech company holiday parties

https://plusonetradingdesk.com/
2•nstj•1h ago•0 comments

A Plan to Sell Off U.S. Public Lands Comes with Steep Risks

https://e360.yale.edu/features/public-lands-sale-interior-department
1•geox•1h ago•1 comments

What Actually Works With Coding Agents Heading Into 2027

https://rex.mindmeld360.com/blog/what-actually-works-with-coding-agents-2027
1•tomerbd•1h ago•0 comments

Show HN: Glamscribe: Collaborative Browser-Only OCR of Historical Documents

https://glamscribe.com
1•Mendon•1h ago•1 comments

It's time to be greedy – NIH and YAGNI are gone

https://wito.dev/blog/its-time-to-be-greedy/
3•wito100•1h ago•0 comments

Avoid 256-bit ECC. AI solved elliptic curve discrete logarithm problem

https://twitter.com/franzbruckhoff/status/2129058407898300662
3•oger•1h ago•0 comments

Few Americans trust tech company leaders to act in the public's best interest

https://www.pewresearch.org/science/2026/12/04/key-finding-few-americans-have-confidence-in-tech-...
2•giuliomagnifico•1h ago•1 comments

Show HN: I am dropping my app price $50 every waking hour until I find a buyer

https://twitter.com/IndestGames/status/2129129590987583675
1•indest•1h ago•1 comments

Heretic developer Philipp Emanuel Weidmann has died

https://www.heise.de/en/news/Heretic-developer-Philipp-Emanuel-Weidmann-has-died-11547929.html
2•mm321•1h ago•1 comments

Show HN: I've built contextzip, a tool to package codebase for a free AI chat

https://github.com/akadeepesh/contextzip
2•akadeepesh•1h ago•0 comments

Show HN: GitVolt 2.0, rewritten using GPUI for massive performance improvements

https://gitvolt.com/
3•francislavoie•1h ago•0 comments