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

The Diesel Weapon

https://edconway.substack.com/p/the-diesel-weapon
1•speckx•19s ago•0 comments

TrustedRouter: OpenRouter challenger closes seed round

https://www.semafor.com/article/10/16/2026/openrouter-challenger-closes-seed-round
1•jlaneve•1m ago•0 comments

Remote Attestation Should Not Be Tolerated

https://lumi.codeberg.page/blog/remote-attestation.html
1•HotGarbage•1m ago•0 comments

Citi restricts AI agents from accessing customer accounts

https://cryptobriefing.com/citi-restricts-ai-agents-customer-accounts/
1•pseudolus•1m ago•0 comments

Katie Zacharia admits she never passed the bar exam

https://www.theguardian.com/us-news/live/2026/oct/16/trump-texas-senate-race-midterms-paxton-tala...
1•Betelbuddy•2m ago•0 comments

/dev/null: social network for developers

https://dev-null.sh
12•mnapoli•3m ago•3 comments

A common-sense fix for poverty, inequality, fascism: Economist ditches ideology

https://www.theguardian.com/business/2026/oct/16/isabella-weber-anti-fascist-economics
1•Geekette•3m ago•0 comments

Show HN: Toolbit – 43 local-first developer utilities in one place

https://toolbit.app/
1•alwinaugustin•5m ago•1 comments

Post About Recreating Adobe Tools Using AI Banned per Adobe Request

https://www.reddit.com/r/Bard/comments/1wxmqpt/ive_created_open_source_100_rust_cleanroom/
2•joering2•5m ago•0 comments

Coopiano – physically modelled piano synthesizer

https://github.com/peterc/coopiano
1•hggh•8m ago•0 comments

The Gradient Is a Covariance

https://richardli.xyz/post/gradient-is-covariance/
1•gmays•8m ago•0 comments

Beijing seeks tighter grip on AI exports amid US rivalry

https://www.reuters.com/world/asia-pacific/china-proposes-adding-40-ai-biotech-solar-technologies...
1•jacquesm•10m ago•0 comments

RVUtils – browser-only developer tools, nothing is uploaded

https://rvutils.com/en/json/
1•krishbusinessso•10m ago•0 comments

Thirty Years of KDE

https://blog.cornelius-schumacher.de/2026/10/thirty-years-of-kde.html
2•jandeboevrie•11m ago•0 comments

AI-Generated Starling Desktop Environment Rolls Out Its Own Office Suite

https://www.phoronix.com/news/AI-Starling-Desktop-Office
1•starlingos•11m ago•0 comments

Giving Video Game NPC's Consciousness

https://www.youtube.com/watch?v=EOfm3h4xYU8
1•j_maffe•12m ago•0 comments

190k Star Systems and a Million Planets: Building GalaxyAtlas with AI Agents

https://galaxyatlas.space/
1•YaroslavKloch•12m ago•0 comments

iOS 27 untethered jailbreak on iPhone 18 Pro

https://twitter.com/calif_io/status/2111080240978223545
2•ea016•13m ago•0 comments

Meta may use new commercial TOS to avoid millions in AI licensing fees

https://arstechnica.com/tech-policy/2026/10/meta-may-use-sweeping-new-commercial-tos-to-avoid-mil...
1•pseudolus•13m ago•0 comments

Re: [PATCH] docs: remove Assisted-by references – Linus Torvalds

https://lore.kernel.org/lkml/CAHk-=whTs09_ozN+e09GU68N1wPP56MUzDjrg9rnKxQUa0A_4Q@mail.gmail.com/
3•lladnar•13m ago•0 comments

I sold all my SP500 yesterday morning

https://twitter.com/dwlz/status/2111116751735791742
6•tosh•14m ago•0 comments

Practical software architecture for Python developers notes

https://reinout.vanrees.org/weblog/2026/10/15/4-software-architecture.html
1•jandeboevrie•15m ago•0 comments

Claude Builds an Internal Customer Service App

https://theautomatedoperator.substack.com/p/claude-builds-an-internal-customer
1•idopmstuff•15m ago•0 comments

WebAssembly Lesson 2: Graphics with SDL

https://www.jamesfmackenzie.com/howto/getting-started-with-webassembly-part-2-graphics-with-sdl/
2•andsoitis•16m ago•0 comments

All old `zip` crate versions were just yanked

https://lib.rs/crates/zip/versions
1•f_devd•17m ago•0 comments

Hostile Vehicle Mitigation

https://en.wikipedia.org/wiki/Hostile_vehicle_mitigation
3•Arodex•17m ago•1 comments

Show HN: Brian2 Atlas, a Rust engine for distributed neural simulation

https://next-brain.ai/brian2-atlas/
2•rocklee•18m ago•0 comments

There Are over 1M New York City Street Signs. Here's How They Are Made.

https://www.nytimes.com/2026/08/15/nyregion/nyc-street-sign-shop.html
1•bookofjoe•18m ago•1 comments

Ukraine hits Russian refinery as Starlink satellite services are restored

https://www.axios.com/2026/10/15/ukraine-starlink-restored-strikes-russia-trump-musk
1•MilnerRoute•18m ago•0 comments

Everything wrong is caused by over optimization

https://12gramsofcarbon.com/p/the-optimization-theory-of-everything
1•theahura•20m ago•0 comments