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 hard part of an editable table is knowing what changed

https://kanunilabs.com/blog/editable-table-knowing-what-changed
1•hizlikovboy27•1m ago•0 comments

Griffin, the first model to pass the video Turing test

https://twitter.com/tavus/status/2105704169009246248
1•taubek•1m ago•0 comments

Dotfiles – Mise-En-Place

https://mise.jdx.dev/dotfiles.html
1•kstrauser•5m ago•0 comments

OpenDots

https://github.com/CopilotKit/OpenDots
1•soltanov•7m ago•0 comments

Stages of grief about the effect of AI on open source

https://twitter.com/awesomekling/status/2105814628785934386
1•tosh•8m ago•0 comments

Rust in the kernel? What about Rust without the kernel

https://kerkour.com/rust-kernel
1•olalonde•11m ago•0 comments

Show HN: AviGPT-250M – Edge SLM with NVMe memory bus (488MB, runs offline)

https://github.com/Avinashricky211/AviGPT-250M
1•AvinashRicky•11m ago•0 comments

Metadata Reactor – image metadata for 11 platforms

https://metadatareactor.com/
1•nationalsun•14m ago•0 comments

Thoughts on Languages from 2000's

http://blog.gmarceau.qc.ca/2009/05/speed-size-and-dependability-of.html
1•mahirsaid•14m ago•0 comments

Show HN: Run Google DataProc cluster on your local

https://local.cloud/blog/run-dataproc-locally-docker/
1•jaysen_apache•16m ago•0 comments

The Empire State Building's Mooring Mast

https://www.onverticality.com/blog/empire-state-mooring-mast
3•thunderbong•16m ago•0 comments

MySQL Workbench 26

https://blogs.oracle.com/mysql/introducing-mysql-workbench-26
1•aveinca•23m ago•0 comments

Aaron

https://en.wikipedia.org/wiki/AARON
1•bananaboy•25m ago•0 comments

Infinitrance Live Stream [video]

https://www.youtube.com/watch?v=5Eu62AJrwlA
1•ph4rsikal•29m ago•0 comments

US tells France and Germany to release diesel stocks or face US export ban

https://www.reuters.com/business/energy/us-tells-france-germany-release-diesel-stocks-or-face-us-...
3•geox•32m ago•0 comments

There's a spike in Bitcoin activity around the time foreign aid money goes out

https://twitter.com/cremieuxrecueil/status/2105707121073328552
3•MrBuddyCasino•39m ago•0 comments

Shimano Bicycle Museum Review

https://inrng.com/2026/10/shimano-bicycle-museum/
8•pietroppeter•41m ago•0 comments

Yes I still use a landline [video]

https://www.youtube.com/watch?v=xS5P1umgbgo
1•MobiusHorizons•42m ago•0 comments

Ideas on modernizing the open-source desktop

https://lwn.net/Articles/1095425/
2•pykello•44m ago•0 comments

The Comedy of the Commons (1986)

https://www.jstor.org/stable/1599583?origin=crossref
2•suopspaces•44m ago•0 comments

Singapore gov. launches dating app with Gale-Shapley stable matching algorithm

https://www.bbc.com/news/articles/cqzjzr893yv4o
2•busymom0•45m ago•1 comments

Amazon seeks to offload $8B of Nvidia chips to investors

https://www.ft.com/content/97d8d346-519e-48fb-8df8-66cf5f12ef62
3•JumpCrisscross•45m ago•0 comments

How Coding Agents Draw Their Input Box

https://nohzafk.github.io/posts/2026-09-28-how-coding-agents-draw-the-input-box/
2•Fudgel•47m ago•0 comments

Keep agent mistakes off the live site

https://plexdata.online/articles/keep-agent-mistakes-off-live-site
2•doriansotpyrc•48m ago•0 comments

Discovery of a star sensitive to the spin of Sagittarius A*

https://www.nature.com/articles/s41586-026-10894-w
1•JumpCrisscross•49m ago•0 comments

Artificial Intelligence from an Evolutionary Perspective [video]

https://www.youtube.com/watch?v=ws_9ettrtSg
1•olalonde•51m ago•0 comments

Sparkle – A open source windows debloat tool

https://getsparkle.net
2•thedogecraft•52m ago•0 comments

Shifting the game's stack by a mere 256 bytes had broken the game

https://twitter.com/ZPostFacto/status/1394706528620277764
2•davikr•54m ago•0 comments

Palantir CEO Alex Karp purchased 37,000 acres of forests in Sweden

https://fortune.com/2026/09/30/palantir-ceo-alex-karp-purchased-37000-acres-of-forests-in-sweden-...
2•O1111OOO•56m ago•1 comments

Meta's Muse is fantastic for web scraping

https://sigh.dev/posts/metas-muse-is-fantastic-for-web-scraping/
22•STRiDEX•58m ago•13 comments