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

Blob Opera, Community Edition

https://opera.addy.ie
1•padolsey•3m ago•0 comments

Building an AI agent inside a 7-year-old Rails monolith

https://catalinionescu.dev/ai-agent/building-ai-agent-part-1/
1•cionescu1•7m ago•0 comments

Ask HN: How does Boardy achieve such low latency?

1•Norcim133•8m ago•0 comments

Fish-Inspired Filter That Removes over 99% of Microplastics

https://scitechdaily.com/scientists-develop-new-fish-inspired-filter-that-removes-over-99-of-micr...
1•Gaishan•10m ago•0 comments

Wheeler-Feynman theory for gravitational waves

https://arxiv.org/abs/2512.20692
1•jarekd•13m ago•0 comments

Enhancing HDR on Instagram for iOS with Dolby Vision

https://engineering.fb.com/2025/11/17/ios/enhancing-hdr-on-instagram-for-ios-with-dolby-vision/
1•Fiveplus•16m ago•0 comments

Python is a voluntary language (2011)

https://www.johndcook.com/blog/2011/10/26/python-is-a-voluntary-language/
2•tosh•17m ago•0 comments

A Review of Language Machines by Leif Weatherby

https://deontologistics.substack.com/p/computation-and-its-connotations
2•josefslerka•21m ago•0 comments

Intermission: Battle Pulses

https://acoup.blog/2025/12/18/intermission-battle-pulses/
2•Khaine•23m ago•0 comments

Show HN: WebAssembly Runtime for Python, Lua, Ruby and etc.

https://github.com/hubenchang0515/shift
2•planc0515•27m ago•0 comments

Odin: Moving Towards a New "core:OS"

https://odin-lang.org/news/moving-towards-a-new-core-os/
3•ksec•32m ago•0 comments

"AI Village" LLMs tracked down and spammed famous programmers email addresses

https://theaidigest.org/village
1•da_grift_shift•38m ago•1 comments

Show HN: Frame Toolkit – Media Tools Right in the Browser

https://www.frametoolkit.com/
2•kingreflex•46m ago•0 comments

Show HN: Seasons Come and Go – a calm overview of the natural rhythms around us

https://seasonscomeandgo.com/
1•vsupalov•46m ago•0 comments

5 years later, this laptop is still the best value you can buy

https://www.makeuseof.com/this-laptop-is-still-the-best-value-you-can-buy/
2•saikatsg•56m ago•1 comments

Psychopathy as a potential survival adaptation to early adversity

https://www.psypost.org/new-research-frames-psychopathy-as-a-potential-survival-adaptation-to-sev...
3•msolujic•57m ago•0 comments

I thought I was a "Free to Play" player until I audited my microtransactions

https://old.reddit.com/r/truegaming/comments/1pvhz32/i_thought_i_was_a_free_to_play_player_until_i/
2•db48x•1h ago•0 comments

Ruby::Box

https://docs.ruby-lang.org/en/master/Ruby/Box.html
3•tosh•1h ago•0 comments

SQLite AI

https://www.sqlite.ai
9•jonbaer•1h ago•10 comments

Show HN: AI Accel,Tension-based pruning framework(40% sparsity, 1.5-2x speedups)

https://github.com/wwes4/AI_Accel_1.5x
2•wwes369•1h ago•0 comments

Fisher Information in Kinetic Theory

https://arxiv.org/abs/2501.00925
1•tzury•1h ago•0 comments

Writing an NES Emulator in Haskell

https://arthi-chaud.github.io/posts/funes/
2•todsacerdoti•1h ago•0 comments

Flutter and React Native App Development in Coimbatore – Cross-Platform Pros

https://jeevantech.in/services/mobile-application-development-services/
1•Jeevandigital•1h ago•1 comments

The story of reinforcement-learning-with-verifiable-reward-rlvr

1•wsmhy2011•1h ago•0 comments

Demystifying Determinism in Durable Execution

https://jack-vanlightly.com/blog/2025/11/24/demystifying-determinism-in-durable-execution
1•PaulHoule•1h ago•1 comments

Tell HN: Claude rate limits are 2x higher through 12/31

1•keepamovin•1h ago•1 comments

Physics of Covid-19 Transmission (2020)

https://ocw.mit.edu/courses/res-10-s95-physics-of-covid-19-transmission-fall-2020/video_galleries...
2•nill0•1h ago•0 comments

Scale Architecture for Deep Learning [pdf]

https://cdn.sanity.io/files/e4qjo92p/production/2d7fa58e3b820715664bcf42097e86c05070c161.pdf
1•mahirsaid•1h ago•1 comments

The Future of Software Engineering: Efficiency, Learning Velocity, Small Teams

https://blog.rastrian.dev/post/the-future-of-software-engineering-efficiency-learning-velocity-sm...
1•rastrian•2h ago•0 comments

China is building most powerful hydropower system deep in the Himalayas

https://www.cnn.com/2025/12/17/china/china-largest-hydropower-dam-intl-hnk-dst
4•thunderbong•2h ago•0 comments