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

What music does Gemini Decision 1 like?

https://blog.lwarfield.dev/what-music-does-decision-gemini-like/
1•lwarfield•32s ago•1 comments

Reports of AI-related child sexual abuse material rise 8,400% in two years

https://www.theguardian.com/technology/2026/nov/16/ai-related-child-sexual-abuse-material-rise-ex...
2•madihaa•15m ago•0 comments

Intel sued by shareholders following 29% stock plunge

https://www.reuters.com/business/intel-sued-by-shareholders-following-29-stock-plunge-2026-11-15/
3•madihaa•17m ago•0 comments

Soft Superhuman Software

https://alok.blog/soft-superhuman
1•yuppiemephisto•21m ago•1 comments

Listening to music as an active process

https://www.autodidacts.io/listening-to-music-as-an-active-process/
3•Curiositry•31m ago•0 comments

Show HN: Memeo – Turn static photos into lip-synced AI meme videos in seconds

https://memeo.app/
1•shuangge•32m ago•0 comments

New Mexico wanted free childcare for all; what's worked – and what hasn't

https://text.npr.org/nx-s1-6040194
7•1659447091•38m ago•0 comments

Megaspeed says Alice Huang left in 2025

https://apnews.com/article/singapore-megaspeed-alice-huang-nvidia-probe-e9e2e18169dce0b30a34f3971...
2•Jarlakxen•41m ago•0 comments

Recent progress in mathematics, discussed by research mathematicians

https://mathhelm.org/
3•qnleigh•45m ago•0 comments

Mapping cyber risk in the era of AI: Which industries are most exposed?

https://www.moodys.com/web/en/us/insights/data-stories/moodys-2026-cyber-risk-exposure-heat-map-r...
1•gmays•45m ago•0 comments

Zeitpyramide

https://en.wikipedia.org/wiki/Zeitpyramide
1•cornfieldlabs•48m ago•0 comments

Bill Gates Has Earned Billions Investing in Landfills

https://www.propublica.org/article/bill-gates-republic-landfill-methane-pollution
4•Gaishan•49m ago•0 comments

Tell HN: HN is being scraped for emails to scam

11•eks391•57m ago•3 comments

China's Economic Slowdown Deepens

https://www.scmp.com/economy/economic-indicators/article/3374531/chinas-economic-activity-falters...
2•lavendermon•58m ago•0 comments

Guineas' population was much larger than expected

https://www.reddit.com/r/overpopulation/comments/1ricesi/guineas_population_was_much_larger_than_...
1•oliculipolicula•58m ago•0 comments

Extreme Tux Racer for Trimui v0.1

https://github.com/dimitrovs/extremetuxracer-sdl/releases/tag/trimui-v0.1
1•elwebmaster•1h ago•0 comments

Show HN: HappyWan – A browser-based prototype for text-to-video creation

https://happywan.pro
2•rollingcarollin•1h ago•2 comments

Putting Task Expertise into RL Achieves SOTA Performance on Text-to-SQL

https://thinkingmachines.ai/news/putting-task-expertise-into-rl/
2•gmays•1h ago•0 comments

We're going to compete for $90B market. Looking for a technical cofounder

https://www.screenomics.co/
2•boisovamir•1h ago•2 comments

Building HBOM for a Router

https://worklifenotes.com/2026/11/13/building-hbom-for-a-router/
1•taleodor•1h ago•0 comments

Show HN: Perfect Numbers Generator – p = (2P and 1)/3

https://www.academia.edu/resource/work/181008238
2•A19dammer91•1h ago•0 comments

Show HN: Word Gambits, Daily Puzzle Capture Chess Pieces to Form Words

https://wordgambits.com/
1•hamsal•1h ago•0 comments

Show HN: Redacted - Stop Handing Claude Your Secrets

https://github.com/svn-arv/redacted/
1•svn-arv•1h ago•0 comments

Mapping the Jensen Huang Saga

https://www.patreon.com/MaxRead/posts/mapping-jensen-175257766
2•themgt•1h ago•0 comments

Reading speculations concerning the first ultraintelligent machine

https://www.jefftk.com/p/reading-speculations-concerning-the-first-ultraintelligent-machine
1•dmd•1h ago•0 comments

Brain Implants Give ALS Patients the Voice to Speak and Sing

https://www.nytimes.com/2026/11/14/science/brain-implants-als-voice.html
1•garyrob•1h ago•0 comments

AI and the City

https://www.stripeeconomics.com/p/ai-and-the-city
1•gmays•1h ago•0 comments

A hard rain's a-gonna fall: parsing JSON in Rust

https://bitfieldconsulting.com/posts/hard-rain-json-rust
1•teleforce•1h ago•0 comments

TuringFonts: Publish Uncrawable and Uncopiable Texts

https://jfmdev.github.io/TuringFonts/index.html
2•negura•1h ago•0 comments

Qwen4-Max

https://qwen.ai/blog?id=qwen4-max
152•ilreb•1h ago•28 comments