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

Car been recorded or license plate searched? Check 'Have I Been Flocked' site

https://nypost.com/2026/08/15/us-news/have-i-been-flocked-site-lets-drivers-check-if-their-cars-h...
1•pir8life4me•1m ago•0 comments

FDA Classifies Egg Recall as Class I, for Highest Health Risk

https://www.nytimes.com/2026/08/14/health/fda-egg-recall-salmonella.html
1•whack•2m ago•0 comments

I Remain a Skeptic

https://blog.jsbarretto.com/post/i-remain-a-skeptic
4•lproven•9m ago•1 comments

NYS Fair pays $40k to keep $1 potato booth alive with new vendor

https://www.newyorkupstate.com/nys-fair/2026/08/nys-fair-pays-40000-to-keep-iconic-1-potato-booth...
1•paulpauper•9m ago•0 comments

Masculinity Around the World

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7268859
1•paulpauper•9m ago•0 comments

Promises, Promises

https://rgrier88.github.io/modi-promises/
1•paulpauper•9m ago•0 comments

Show HN: Bento Term – native tmux client with agent states and voice input

https://bentoai.dev/term/
1•novashang•12m ago•0 comments

A controversial Alzheimer's surgery is said to reverse symptoms

https://www.nature.com/articles/d41586-026-02448-x
4•jeffreyrogers•13m ago•0 comments

Briefing on Extinction-Level AI Threats

https://intelligence.org/briefing/
2•yurivish•18m ago•0 comments

Relentlessly Resourceful (2009)

https://www.paulgraham.com/relres.html
1•tosh•18m ago•0 comments

The Book Is a Book, Not Disembodied Information

https://nntaleb.medium.com/the-book-is-a-book-not-disembodied-information-a3fa583b9e8a
1•herbertl•22m ago•0 comments

DeepSeek Harness Desktop Version

https://github.com/hairyf/deepseek-harness-desktop
2•mehraban•23m ago•0 comments

Show HN: Clair APIs – an active jobs dataset from public ATS boards

https://clair.im/resources/datasets/active-jobs
1•kaanersoy•25m ago•1 comments

The paradox of the perfect code editor (2021)

https://austinhenley.com/blog/perfecteditorparadox.html
1•azhenley•26m ago•0 comments

US to tell partners they must pick sides in AI race with China

https://www.reuters.com/world/china/us-tell-partners-they-must-pick-sides-ai-race-with-china-2026...
5•jonbaer•26m ago•1 comments

Godfather of AI: "If you sleep well tonight..." [video]

https://www.youtube.com/watch?v=iVXerna_D4A
3•Izmaki•27m ago•0 comments

Is AI Coding Effecting Our Mental Health? [video]

https://www.youtube.com/watch?v=iPUn1Fnfn0k
1•tosh•30m ago•0 comments

Socync – Automatic social media posting and scheduling

https://wordpress.org/plugins/socync/
1•sepokroce•30m ago•0 comments

Qwen 3.8 27B at 2x speed on a 5090

https://github.com/jtc268/balto-speedrunner
2•husky8•30m ago•0 comments

We Need to Talk About Leopold [video]

https://www.youtube.com/watch?v=rE75WvOtcu8
1•mgh2•31m ago•0 comments

We built Fusekit, a place to deploy internal web apps

https://fusekit.cloud/
1•harshulgoel•32m ago•0 comments

A 25-year-old video patent just expired, ending a legal headache for Linux

https://www.xda-developers.com/25-year-old-brazilian-video-patent-expired-legal-headache-linux/
5•theanonymousone•34m ago•0 comments

How to get a matmul kernel into the top percentile (worklog)

https://philipbotros.github.io/2026/08/11/matmul-worklog.html
1•gietema•34m ago•0 comments

Show HN: Bluetooth keyboard and Windows 95 cursor on reMarkable

https://twitter.com/martino_piaggi/status/2088659565168509424
1•martinopiaggi•34m ago•0 comments

The origin of vertebrate teeth and evolution of sensory exoskeletons

https://www.nature.com/articles/s41586-025-08944-w
1•BiraIgnacio•34m ago•1 comments

Find duplicate code across nine languages

https://deslop.live/
2•cebert•35m ago•0 comments

Show HN: Velorn – an open-source desktop video editor with MCP agent control

https://github.com/VelornLabs/velorn
1•j_aime•36m ago•0 comments

Show HN: MyFirst.News – AI-generated podcast for curious kids

https://myfirst.news/
1•hakunin•37m ago•1 comments

Ask HN: You have model orders of magnitudes faster than transformer, so?

1•aunekiaru•38m ago•0 comments

Humanists Have Done Nothing Wrong

https://defector.com/humanists-have-done-nothing-wrong
1•rlio•38m ago•0 comments