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

Google caps Meta's Gemini use as AI demand strains capacity

https://www.ft.com/content/c5d52f72-71ef-40bc-bad3-61afdba8b378
1•uxhacker•45s ago•0 comments

A garage-built Alzheimer drug shows how far DIY biotech has come

https://runtimewire.com/article/a-garage-built-alzheimer-drug-shows-how-far-diy-biotech-has-come
1•ryanmerket•1m ago•0 comments

Armadillo – A DNS Server in Gleam for Homelab Use

https://github.com/vshakitskiy/armadillo
1•TheWiggles•5m ago•0 comments

South Korea's FoodNeverComes app helps users feel the rush of making purchases

https://www.fastcompany.com/91560432/dopamine-sites-fake-online-shopping-apps-let-you-pretend-to-...
1•networked•6m ago•0 comments

I wouldn't pay it either

https://www.lrb.co.uk/the-paper/v48/n11/simon-skinner/i-wouldn-t-pay-it-either
1•austinallegro•7m ago•0 comments

Trump Admin Releases Anthropic Mythos

https://techcrunch.com/2026/06/26/trump-admin-releases-anthropic-mythos-to-be-used-by-more-than-1...
1•ameypandey•7m ago•0 comments

On Computers

https://pebblebed.com/blog/computing-is-bigger
1•dkwr•11m ago•0 comments

Martial Arts Anyone

1•FDX2018•11m ago•0 comments

AI is creating America's next underclass

https://thehill.com/opinion/technology/5942757-ai-demands-new-social-norms/
1•theanonymousone•16m ago•1 comments

Using Local Coding Agents

https://magazine.sebastianraschka.com/p/using-local-coding-agents
1•matt_d•18m ago•0 comments

Martial Artist Census

1•FDX2018•19m ago•2 comments

KoboldCPP: Run GGUF Models Easily with a KoboldAI UI. One File. Zero Install

https://github.com/LostRuins/koboldcpp
1•theanonymousone•22m ago•0 comments

Oracle stock worst week since 2001 dot-com bust, AI financing concerns escalate

https://www.cnbc.com/2026/06/26/oracle-stock-ends-worst-week-since-2001-as-investors-dwell-on-fin...
1•1vuio0pswjnm7•25m ago•0 comments

'We were guinea pigs': The Gen Zs who grew up online reflect on social media

https://www.theglobeandmail.com/life/article-we-were-guinea-pigs-the-gen-zs-who-grew-up-online-re...
1•1vuio0pswjnm7•28m ago•0 comments

The Rust Book Maintenance

https://v5.chriskrycho.com/notes/rust-book-maintenance/
2•Tomte•40m ago•0 comments

DaynaPORT SCSI/Link Linux Driver

https://github.com/jflitton/daynaport-scsilink-linux-driver
1•davewongillies•49m ago•0 comments

BSD col(1) for mandoc(1) on Linux

http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/usr.bin/col/col.c
1•1vuio0pswjnm7•54m ago•1 comments

Small Teams Will Ship More Software Than They Can Maintain

https://www.vincentschmalbach.com/small-teams-will-ship-more-software-than-they-can-maintain/
2•vincent_s•55m ago•0 comments

'Once you have a machine think and write for you, you're cooked as a species'

https://www.theguardian.com/books/2026/jun/27/dave-eggers-once-you-have-a-machine-think-and-write...
6•devonnull•56m ago•0 comments

Science can enhance the synchronization and connection of human brains

https://www.nyu.edu/about/news-publications/news/2026/june/can-we-engineer-being-on-the-same-wave...
2•giuliomagnifico•58m ago•0 comments

Atlantic "Warming Hole" Heat Content Variations Caused by Ocean Heat Transport

https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2025GL118383
2•thunderbong•59m ago•1 comments

It's dead, Jim – the old Microsoft UEFI CA from 2011 expired yesterday

https://blog.einval.com/2026/06/27
3•zdw•1h ago•0 comments

Integer programming easily encloses horse

https://dynomight.substack.com/p/horse
3•jacobedawson•1h ago•0 comments

Building an Open-Source Robot Vacuum – Meet Oomwoo

https://makerspet.com/blog/building-an-open-source-robot-vacuum-meet-oomwoo/
3•zdw•1h ago•0 comments

The Doomers Are All Right

https://asteriskmag.com/issues/14/the-doomers-are-all-right
5•littlexsparkee•1h ago•2 comments

How to Spot AI Maps

https://warmapper.substack.com/p/how-to-spot-ai-maps
3•bulla•1h ago•0 comments

Scalable Substrates for Dynamic Memory Polymers with Sensory Spines

https://github.com/triggger0357-web/PhoneServe/blob/main/paper.md
2•davidingalls•1h ago•0 comments

I made a game that teaches you how AI works

https://github.com/Tylersuard/Synapse_neural_net_training_game/tree/main
2•tylersuard•1h ago•1 comments

Cerberus – a local firewall for AI agents' tool calls

https://github.com/Adirdabush1/cerberus
3•cerberussec•1h ago•0 comments

Bashblog – a single bash script to create blogs

https://github.com/cfenollosa/bashblog
3•ludicrousdispla•1h ago•0 comments