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

Nim Version 2.4.0 Released

https://nim-lang.org/blog/2026/10/28/nim-240.html
1•llacane•33s ago•1 comments

TagFS: A simple tag-based filesystem (2011) [pdf]

https://web.mit.edu/6.033/2011/wwwdocs/writing-samples/sbezek_dp1.pdf
1•crowdhailer•40s ago•0 comments

Show HN: Generate technical documentation from your codebase

https://codocly.in
1•mayurk1•1m ago•0 comments

Is Datadog Down

https://status.datadoghq.com/
2•humanlion87•2m ago•1 comments

Humanities Mode Collapse

https://dennisy.me/notes/humanities-mode-collapse
1•dennisy•3m ago•0 comments

Show HN: Files Magic AI: Organize and rename files via content with undo on Mac

https://1dot.ai/files-magic-ai
1•mytechshout•3m ago•0 comments

I am Human, not AI. This is my story [video]

https://www.youtube.com/watch?v=gLn7F22HngI
1•conferza•4m ago•0 comments

Pragmatic guide to agentic coding – Ilya Razenshteyn

https://ilyaraz.substack.com/p/pragmatic-guide-to-agentic-coding
1•porridgeraisin•4m ago•0 comments

Show HN: SysBreak – Learn system design by watching architectures break

https://sysbreak.dev
1•Saurabh789•5m ago•0 comments

Japanese internet giant GMO tells customers to unplug PCs after compromise

https://www.techradar.com/pro/security/japanese-internet-giant-gmo-tells-customers-to-shut-down-a...
2•iamnothere•5m ago•0 comments

Putin salutes Musk's genius as Russia plays catch-up with Starlink

https://www.reuters.com/world/europe/putin-salutes-musks-genius-russia-plays-catch-up-with-starli...
2•onemoresoop•5m ago•0 comments

A philosopher of war changes his mind on Gaza

https://www.newyorker.com/culture/persons-of-interest/a-philosopher-of-war-changes-his-mind
1•gpvos•5m ago•1 comments

Chasing the Karpathy Peak

https://thomasjiralerspong.substack.com/p/chasing-the-karpathy-peak
1•yomismoaqui•6m ago•0 comments

As Business Owners Are Retiring in Droves, Private Equity Is Waiting

https://www.nytimes.com/2026/10/28/opinion/private-equity-baby-boomers-investors.html
1•ripe•6m ago•1 comments

Synsepalum Dulcificum: Miracle Berry

https://en.wikipedia.org/wiki/Synsepalum_dulcificum
2•teleforce•7m ago•0 comments

Arc is gone, so I rebuilt it

https://www.sail.fish/
1•harunkkhan•8m ago•1 comments

What Is Infinity?

https://www.youtube.com/watch?v=c_2GaOzx-bc
1•FillMaths•9m ago•0 comments

Fake it 'til you make it (and then keep faking it)

https://www.experimental-history.com/p/fake-it-til-you-make-it-and-then
1•mday404•9m ago•0 comments

Anthropic Threw Away Git

https://jackiechen.blog/2026/10/22/anthropic-threw-away-git-what-broke-first-is-the-part-i-cant-s...
1•ejboy•10m ago•0 comments

Billionaires Spend 0.07% of Their Wealth to Avoid a 5% Tax

https://dsrupt.news/articles/billionaires-spend-0-07-of-their-wealth-to-avoid-a-5-tax-call-sevent...
4•zippiest•11m ago•0 comments

Meta censored the No Kings Instagram account during a nationwide campaign

https://paulfwalsh.substack.com/p/meta-censored-the-no-kings-instagram
2•slowin•11m ago•1 comments

Why scrubbing an MP4 on scroll stutters (and what to use instead)

https://beta.scrollsequence.com/blog/video-on-scroll-why-scrubbing-stutters-mp4-vs-image-sequence
2•hellofromalki•11m ago•1 comments

How Do Nonprofits Use Cash Windfalls? Evidence from Unrestricted Donations∗ [pdf]

https://www.jennifer-walsh.com/assets/nonprofit_windfalls.pdf
1•paulpauper•13m ago•0 comments

Brick by Brick

https://thebaffler.com/salvos/brick-by-brick-batmanghelidj
1•paulpauper•13m ago•0 comments

TaskNet: A New Taxonomy of Work

https://www.mercor.com/blog/introducing-tasknet-a-new-taxonomy-of-work/
1•paulpauper•14m ago•0 comments

Progressive Determinism for AI Tasks

https://robotpaper.ai/pattern-progressive-determinism-for-ai-tasks/
1•royosherove•14m ago•0 comments

Dolores Huerta, Chicana activist and defender of farmworker rights, dies at 96

https://19thnews.org/2026/10/dolores-huerta-dies/
2•cdrnsf•15m ago•0 comments

Show HN: WOML – A markup language for building workflows and AI agents

https://github.com/dali-benothmen/woml
1•dalibenothmen•18m ago•0 comments

Accelerating HTTP Web Servers with In-Kernel eBPF Deliver Up to 4.5x Throughput

https://www.phoronix.com/news/Beeper-In-Kernel-Parsing-eBPF
2•lbrndnr•19m ago•0 comments

The thinking machines are here

https://moneysoftware.substack.com/p/the-thinking-machines-are-here
2•bjornsing•19m ago•0 comments