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

I serve my website with a swarm of ESP32 microcontrollers on a shelf

https://github.com/Novotarskyi/ivan-bohun
2•disco_jack•6m ago•1 comments

'We are not lonely': Solitude as a new aspirational lifestyle

https://www.bbc.com/news/articles/c5y63dw2x3wo
1•gmays•13m ago•0 comments

Energy, surplus, economic process (December 2026)

https://www.sciencedirect.com/science/article/pii/S0921800926002302
1•oliculipolicula•13m ago•0 comments

Brazil2026ElectionFilter

https://github.com/xai-org/x-algorithm/blob/main/home-mixer/filters/brazil_2026_election_filter.rs
1•dmarto•20m ago•0 comments

Calculus Made Easy by Silvanus P. Thompson (1910)

https://www.gutenberg.org/ebooks/33283
1•remywang•22m ago•0 comments

AI Driven Testing

https://app.deltix.ai
2•oneounceman•23m ago•0 comments

Cox–Zucker Machine

https://en.wikipedia.org/wiki/Cox%E2%80%93Zucker_machine
3•rolph•25m ago•0 comments

Delete DoorDash

https://deletedoordash.com/
1•megamike•27m ago•1 comments

We need your help to make a faster and more secure Monero node a reality

https://reddit.com/r/Monero/comments/1vo7htb/we_need_your_help_to_make_a_faster_and_more/
1•Cider9986•28m ago•0 comments

Time-of-Check to Time-of-Use

https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use
1•_josh_meyer_•38m ago•0 comments

Anthropic IPO valuation hinges on $190-200B 2028 revenue forecast

https://www.reuters.com/business/anthropic-ipo-valuation-hinges-190-200-billion-2028-revenue-fore...
3•PessimalDecimal•43m ago•0 comments

Show HN: BeCharts – online chart maker (templates, CSV, PNG/SVG/PDF)

https://www.becharts.com/editor
1•neo_tang•43m ago•0 comments

How did a Usenet troll and encryption genius become a criminal mastermind?

https://magazine.atavist.com/2016/he-always-had-a-dark-side
1•firefax•45m ago•0 comments

Show HN: WMTrace – See how LLM text watermarks work (Anthropic just adopted one)

https://github.com/gtesei/llm-watermark
1•isacco•50m ago•0 comments

Someone is publishing a trove of zero-days

https://0day-rubbish.com/
2•dclavijo•51m ago•0 comments

OpenAI ditches Recall-style screenshot surveillance for friendly keylogging

https://www.theregister.com/ai-and-ml/2026/08/14/openai-ditches-recall-style-screenshot-surveilla...
1•sbulaev•58m ago•0 comments

An Infamous Math Problem Closer to Being Solved by Encouraging AI

https://www.wsj.com/tech/ai/ai-math-riemann-hypothesis-anthropic-openai-22f98a87
1•RyanShook•58m ago•0 comments

What I Learned from Playing "Spelling Bee"

https://www.mooreds.com/wordpress/archives/3750
1•mooreds•59m ago•0 comments

Show HN: Nakso – Your Desktop Sketchpad

https://github.com/niklauslee/nakso
1•niklauslee•1h ago•0 comments

A coalescent model reveals deep ancestral structure shared by all modern humans

https://www.nature.com/articles/s41588-025-02117-1
1•lawrenceyan•1h ago•0 comments

Federal agents surveilled Minnesota unions in hunt for Antifa conspiracy case

https://www.startribune.com/federal-agents-led-by-jan-6-participant-surveilled-minnesota-unions-i...
3•hn_acker•1h ago•1 comments

Thank you to the people building these AI tools

1•bgilly•1h ago•0 comments

Yester World Asking for Help from Google De-Monitization and AI [video]

https://www.youtube.com/watch?v=z9QiBMdvgRE
3•InTheArena•1h ago•2 comments

AI productivity gains drive net CO₂ increase in global energy–economy model

https://www.nature.com/articles/s44168-026-00411-0
7•littlexsparkee•1h ago•0 comments

Spaceship Service Outage Update

https://www.spaceship.com/blog/spaceship-service-outage-update/
2•anonu•1h ago•0 comments

Haitians in Springfield are required to report to ICE and wear ankle monitors

https://ohiocapitaljournal.com/2026/08/14/haitians-in-springfield-are-required-to-report-to-ohios...
15•hn_acker•1h ago•7 comments

Youngest Black professor at Cambridge who faced plagiarism claims is found dead

https://apnews.com/article/jason-arday-cambridge-professor-london-dead-reports-9036e2b405f5849415...
15•petethomas•1h ago•3 comments

Magnitude 7.7 Earthquake – 68 km NNW of Ende, Indonesia

https://earthquake.usgs.gov/earthquakes/eventpage/us6000tkt2/executive
84•Bender•1h ago•16 comments

A New Alzheimer's Therapy – Or Is It?

https://www.science.org/content/blog-post/new-alzheimer-s-therapy-or-it
3•maxall4•1h ago•2 comments

Yes, Code Review Is Still Necessary

https://mattmccormick.ca/yes-code-review-is-still-necessary/
4•mattm•1h ago•1 comments