frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•7mo 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

Hyp: One-Click Install for Popular Open-Source Softwares

https://hyp.app
1•hassanjahan•6m ago•1 comments

Show HN: I Updated My 2D Ant Game for the Holidays

https://github.com/aanthonymax/ant-and-apples
1•aanthonymax•7m ago•0 comments

I Killed Color on My Phone. The Result Shocked Me

https://www.nytimes.com/2025/12/25/opinion/smartphone-color-grayscale-addiction.html
1•geox•11m ago•0 comments

Docker Deployment Without the Registry

https://bjarneo.github.io/pipe/
3•bjarneo•11m ago•1 comments

Simple Is a Scam

https://nocomplexity.substack.com/p/simple-is-a-scam
3•runningmike•11m ago•1 comments

Ask HN: Is ChatGPT getting buggier over time or is it me?

1•softwaredoug•14m ago•0 comments

Ask HN: What's the best lecture or talk you've seen in 2025?

1•hopefully_can•14m ago•0 comments

Ask HN: ChatGPT Getting Buggier over Time?

1•softwaredoug•15m ago•0 comments

How to Spot a Bureaucrat?

https://www.tareqrafed.com/how-to-spot-bureaucrat
2•grog6•15m ago•0 comments

How Effective Is Protesting?

https://www.theguardian.com/us-news/2025/dec/25/protests-effective-history-impact
2•mitchbob•19m ago•0 comments

I miss when the internet had less people

https://www.youtube.com/watch?v=4VmnhJGdSM0
2•skeuomorphism•19m ago•0 comments

Cargo features could be improved to alleviate Rust compile times

https://saghm.com/cargo-features-rust-compile-times/
1•PaulHoule•21m ago•0 comments

How and why I moved from Apple Services to my own server

https://bastiangruber.ca/posts/mass-quitting-apple/
9•birdculture•31m ago•0 comments

Show HN: Fluid design is dead, tried building a product that honors speed

https://conversate-ai.hyacinth.studio/agent-mode/26
1•acrylicrel•33m ago•0 comments

Show HN: I built an OCI container runtime in Python(for fun)

https://github.com/Kaleab-Ayenew/puncker-rt
1•kalishayish•37m ago•0 comments

Braiding Onions and Garlic [video]

https://www.youtube.com/watch?v=GAV1JLbULqM
1•marysminefnuf•39m ago•0 comments

The Plural of Anecdote Is Misinformation

https://www.psychologytoday.com/ca/blog/writing-integrity/202011/the-plural-anecdote-is-misinform...
3•Anon84•42m ago•1 comments

Not quite so broken TLS

http://ww16.nqsb.io/?sub1=20251226-0542-17d5-baaa-ccceb9825343
1•fanf2•43m ago•1 comments

The Global Book Map

https://www.mappit.net/bookmap/
1•didizaja•44m ago•0 comments

39c3 Fahrplan (Schedule)

https://fahrplan.events.ccc.de/congress/2025/fahrplan/
2•rurban•44m ago•0 comments

What can be next for CLI coding agents

https://boliv.substack.com/p/next-steps-for-cli-coding-agents
1•brunooliv•47m ago•0 comments

Tell HN: Reddit AI Slop dating app ads

2•999900000999•47m ago•0 comments

Show HN: I Patched Agents SDK to Work with React Native

https://testflight.apple.com/join/TvcaP2q6
1•Rostik312•53m ago•0 comments

Ask HN: Dentistry, Software Engineering and Health Informatics

1•CoffeeDeSanta•55m ago•0 comments

Is the Standard Model overfitting or am I curve-fitting?

2•albert_roca•1h ago•9 comments

Cursor CEO warns vibe coding builds 'shaky foundations'

https://fortune.com/2025/12/25/cursor-ceo-michael-truell-vibe-coding-warning-generative-ai-assist...
3•_____k•1h ago•0 comments

Show HN: I created interactive buttons for chatbots

1•itsm0rty•1h ago•0 comments

White Christmas Rabbit Hole

https://www.loganseaburg.com/blog/whitest-christmas
2•expensive_news•1h ago•0 comments

Show HN: CLI to share secrets using one-time public keys

https://github.com/scosman/secret_share
2•scosman•1h ago•0 comments

AI reflections from a top.1% ChatGPT user

https://stocktalknewsletter.substack.com/p/ai-reflections-from-a-top-01-chatgpt
2•pcprincipal•1h ago•0 comments