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

Is the Iranian Regime About to Collapse?

https://www.theatlantic.com/international/2026/01/iran-revolution-protests-collapse/685578/
2•mpweiher•3m ago•0 comments

Why Object of Arrays beat interleaved arrays: a JavaScript performance issue

https://www.royalbhati.com/posts/js-array-vs-typedarray
1•howToTestFE•4m ago•0 comments

Tiny Coder – AI coding agent in ~300 LOC writing itself

https://github.com/xrip/tinycode
1•xrip•4m ago•0 comments

Will LLMs Help or Hurt New Programming Languages?

https://blog.flix.dev/blog/will-llms-help-or-hurt-new-programming-languages/
2•appliku•5m ago•0 comments

BasiliskII Macintosh 68k Emulator Ported to ESP32-P4 / M5Stack Tab5

https://github.com/amcchord/M5Tab-Macintosh
1•rcarmo•6m ago•0 comments

Show HN: Meshii – Open-source AI tool to generate 3D meshes for game development

https://github.com/sciences44/meshii
1•sciences44•9m ago•1 comments

The Ralph Wiggum Loop from first principles (by the creator of Ralph)

https://www.youtube.com/watch?v=4Nna09dG_c0
1•ghuntley•11m ago•0 comments

Matrix.envs.net Is Shutting Down

https://envs.net/
1•Sami_Lehtinen•12m ago•0 comments

Lava Lamps Protect Your Data [video]

https://www.youtube.com/shorts/oW6YwSUyfzw
2•doener•14m ago•0 comments

Matrix.envs.net Is Shutting Down

https://matrix.to/#/!dDZYx7e4nzZjqR2tnC6v1pDbZX52HJVfQRuuBpinG9U/$QUY4XtMR2WS56N-VN9na768Fd37_N7Y...
1•Sami_Lehtinen•14m ago•2 comments

The Permanent Emergency

https://www.astralcodexten.com/p/the-permanent-emergency
1•ipnon•15m ago•0 comments

Ask HN: Are we overthinking maintainability of LLM written code?

1•grainier•16m ago•0 comments

Show HN: Ultralight iOS apps (~1 MB), no tracking, on-device only

https://mindbebop.com/
1•kentaroyamauchi•19m ago•0 comments

YouTube Playlist Length Calculator

https://ytplaylistlength.one/
1•wangxin199•20m ago•0 comments

MCP Server with X402

https://twitter.com/fveiras_/status/2010083092502069348
1•fveiras•22m ago•0 comments

Why Selling WhatsApp to Facebook Would Be the Biggest Mistake (2012)

https://www.forbes.com/sites/ericjackson/2012/12/03/why-selling-whatsapp-to-facebook-would-be-the...
2•chistev•23m ago•1 comments

I Build an Idea I Love. I Need You to Tear It Apart

1•indigoeagle•23m ago•2 comments

Wong Kar-wai on technology and AI

https://twitter.com/RadiantFilm/status/2010104914274341236
1•keepamovin•28m ago•1 comments

AI memory is sold out, causing an unprecedented surge in prices

https://www.cnbc.com/2026/01/10/micron-ai-memory-shortage-hbm-nvidia-samsung.html
2•jonbaer•28m ago•0 comments

AI "cheating", anti-intellectualism and the carceral

https://overland.org.au/2025/10/ai-cheating-anti-intellectualism-and-the-carceral/
1•Pamar•30m ago•0 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
1•akhuettel•30m ago•0 comments

Show HN: Typical is TypeScript with type-safety at runtime

https://typical.elliots.dev/
2•elliotshep•31m ago•1 comments

When AI Meeting Notes Become Legal Evidence

https://www.aivojournal.org/when-ai-meeting-notes-become-legal-evidence/
1•businessmate•37m ago•1 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
28•smurda•38m ago•16 comments

Nature-inspired computers are shockingly good at math

https://phys.org/news/2026-01-nature-good-math.html
2•pseudolus•38m ago•0 comments

Putting the "You" in CPU

https://cpu.land/
2•napolux•39m ago•0 comments

Show HN: Authentic AI CV optimizer – real keywords only, 90%+ ATS scores

https://www.cvora.net/
1•jaumapv•43m ago•0 comments

HTML-only conditional lazy loading (via preload and media)

https://orga.cat/blog/html-conditional-lazy-loading/
2•netol•45m ago•1 comments

The Hobbyist Maintainer Economic Gravity Well

https://www.softwaremaxims.com/blog/hobbyist-gravity-well
1•todsacerdoti•47m ago•0 comments

Self-driving cars aren't nearly a solved problem

https://strangecosmos.substack.com/p/self-driving-cars-arent-nearly-a
2•lordgrenville•48m ago•0 comments