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

DuckDB Scales: DuckDB for the Long-Tail of Workloads

https://ducklabs.com/news/2026/12/01/duckdb-scales
1•kermatt•20s ago•0 comments

1.51M parameter Transformer trained from scratch inside Ring-0 TempleOS v5.03

https://github.com/veriepicc/Elijah
1•hsnewman•3m ago•0 comments

OpenMono: The open-source mono font

https://openmono.com/
1•hn-aarvin•8m ago•0 comments

Show HN: BannedWhere – scan a US food barcode, see what Europe (EU) bans in it

https://bannedwhere.com
1•spacecommander•14m ago•0 comments

Warren Buffett Dies at 96

https://www.foxbusiness.com/business-leaders/warren-buffett-billionaire-investor-who-built-berksh...
1•emrah•15m ago•2 comments

Linear Regression and Gradient Descent from Scratch (PyTorch, Video Lecture)

https://www.youtube.com/watch?v=D8Exwj1_yEQ
1•lochanjangid•18m ago•0 comments

Show HN: Red Yarn Reader, a static, self-hostable screenplay viewer for the web

https://redyarnreader.kyefox.com
1•Kye•18m ago•0 comments

DOJ Sent Subpoenas to Nvidia for Help in Chip Smuggling Probes

https://news.bloomberglaw.com/tech-and-telecom-law/doj-sent-subpoenas-to-nvidia-for-help-in-chip-...
1•mfiguiere•19m ago•0 comments

Salazar vs. Paramount Global

https://www.oyez.org/cases/2026/25-459
1•stygiansonic•19m ago•0 comments

Hledger v2.0

https://github.com/hledgerorg/hledger/releases/tag/2.0
2•olexsmir•21m ago•0 comments

AI-Written SQL (and Stored Procedures) from "Works" to "Trusted"

https://github.com/SPLWare/SQLazy/blob/master/AI-Written%20SQL%20%20From%20%E2%80%9CWorks%E2%80%9...
1•Judyrabbit•24m ago•0 comments

Show HN: Spend Warren Buffett Money – In Tribute to the Oracle of Omaha

https://spendwarrenbuffettmoney.com/
1•humphrey_liu•24m ago•0 comments

Repository Is Maintained by the New Official Heretic Community

https://github.com/Vinay-Umrethe/heretic
2•jacquesm•27m ago•0 comments

What I Learned Building a Static Site Generator in Rust

https://reverentgeek.com/what-i-learned-building-a-static-site-generator-in-rust/
1•reverentgeek•30m ago•0 comments

Explain How Agent Harnesses Work with Graph

https://gangtao.github.io/how_harness_works/
1•gangtao•31m ago•0 comments

November Digest of HCS

https://higher-categorical-semantics.pages.dev/announcements/digest-2026-11
1•measurablefunc•36m ago•0 comments

Easl – Enhanced Abstraction Shader Language

https://easl-lang.org/
2•camilleroux•39m ago•0 comments

State of email and domain security in the topk sites (December 2026)

https://httpfy.io/research/email-security-2026-12
1•samso26•40m ago•0 comments

I ported my Vulkan game engine to macOS in one day

https://gamesbymason.com/blog/2026/porting-nyc-to-macos/
1•birdculture•45m ago•0 comments

Barbie smartwatch with calorie counter sparks eating disorder fears

https://www.theguardian.com/technology/2026/dec/02/barbie-smartwatch-eating-disorder-fears-calori...
2•thunderbong•46m ago•0 comments

When your kids cut snowflakes this December, teach them prime factorization

https://moultano.wordpress.com/2026/05/01/cutting-snowflakes-and-prime-factorization/
1•moultano•47m ago•0 comments

The Next Way to Talk to A.I. Might Be Not Talking at All

https://www.nytimes.com/2026/12/01/technology/tacit-ai-dictation.html
1•nreece•51m ago•0 comments

What do your MCP tools cost your agent before it starts?

https://github.com/Egoushka/switchboard
1•nimus•58m ago•0 comments

Ask HN: What do you think of this YouTube AI slop ad I was just served? [video]

https://www.youtube.com/watch?v=ASPimIeI-_8
2•godwinson__4-8•59m ago•3 comments

Anthropic: A Commodity Priced as a Monopoly

https://seekingalpha.com/article/4972648-anthropic-a-commodity-priced-as-a-monopoly
2•andsoitis•59m ago•2 comments

Fluxer is a free, open-source Discord alternative

https://fluxer.com
2•pentagrama•1h ago•0 comments

AWS Continuum for software supply chain (Preview)

https://aws.amazon.com/about-aws/whats-new/2026/12/continuum-software-supply-chain-preview/
1•yackrru•1h ago•0 comments

Code-driven AI illustrations are more useful than images from image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
9•gmays•1h ago•1 comments

Perplexity fends off some claims in Amazon lawsuit over AI shopping agents

https://www.reuters.com/legal/government/perplexity-fends-off-some-claims-amazon-lawsuit-over-ai-...
1•ComputedCamp995•1h ago•0 comments

Ask HN: Why is coding "solved", but AI hasn't conquered the software world yet?

1•Marczelloni•1h ago•6 comments