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

Autoregressive Boltzmann Generators

https://arxiv.org/abs/2606.27361
1•root-parent•4m ago•1 comments

Give Me 14 Minutes and I'll Destroy Your Procrastination Forever

https://riansweetdoris.substack.com/p/give-me-14-minutes-and-ill-destroy
1•LordAtlas•8m ago•1 comments

Austria Lobbies EU to Host Anthropic After US Access Curbs

https://www.bloomberg.com/news/articles/2026-06-28/austria-lobbies-eu-to-host-anthropic-after-us-...
4•root-parent•11m ago•0 comments

My First Atari ST

https://www.goto10retro.com/p/my-first-atari-st
2•rbanffy•13m ago•0 comments

Google limits Meta's use of its Gemini AI models

https://www.cnbc.com/2026/06/28/google-limits-metas-use-of-its-gemini-ai-models-ft-reports.html
2•root-parent•15m ago•0 comments

China companies Z.Ai,China 360 claim having cybersec AI models to match Mythos

https://www.reuters.com/legal/litigation/chinas-360-says-it-has-developed-tools-match-anthropics-...
5•king_zee•17m ago•0 comments

Pyrite64: N64 game-engine and editor using Libdragon and tiny3d

https://github.com/HailToDodongo/pyrite64
1•poly2it•26m ago•0 comments

Pi is the wrong circle constant

https://www.tauday.com/
3•Foskya•26m ago•1 comments

Ask HN: Impact on LLM development after the USA policy of preliminary vetting

3•mdp2021•29m ago•0 comments

Greece Is Richer. So Why Do So Many Greeks Still Feel Poor?

https://www.dnews.gr/eidhseis/news-in-english/596650/greece-is-richer-so-why-do-so-many-greeks-st...
2•theanonymousone•46m ago•1 comments

Show HN: Custom domain emails for open source projects (KaiMail)

https://kaimail.net/
1•iqbalabd•46m ago•0 comments

Revenue at Risk from AI Displacement

https://zenodo.org/records/20999945
1•tas101•47m ago•0 comments

Show HN: Nomina – Single Binary DNS and Nameserver with WebUI for Homelabs

3•sylwester•49m ago•0 comments

The origins of the school system aimed to produce independent, critical thinkers

https://www.cbc.ca/radio/ideas/humboldt-education-system-bildung-1.7172093
12•pseudolus•49m ago•6 comments

FizzBuzz in Smalltalk

https://donraab.medium.com/fizzbuzz-in-smalltalk-8c6b7cdb6c41
5•ingve•50m ago•0 comments

These Are the Most Beautiful Equations, According to Mathematicians

https://www.scientificamerican.com/article/these-are-the-most-beautiful-equations-in-mathematics/
1•jruohonen•50m ago•2 comments

Ask HN: You have one year to make $1M. What's your plan?

6•vantareed•53m ago•3 comments

Pollen tried to remove my article, and Google is assisting to it

https://blog.pragmaticengineer.com/pollen-tried-to-remove-my-article-about-callum-negus-fancey-an...
3•ingve•53m ago•0 comments

Show HN: O11y.jobs is a job board focused specifically on Observability

https://o11y.jobs/
2•ScarZy•55m ago•0 comments

How VictoriaLogs Stores Your Logs in a Columnar Layout

https://victoriametrics.com/blog/victorialogs-internals-columnar-storage-on-disk/index.html
4•eatonphil•58m ago•0 comments

The curious case of the disappearing Polish S

https://aresluna.org/the-curious-case-of-the-disappearing-polish-s/
1•colinprince•1h ago•0 comments

Three.js R185 Released

https://twitter.com/threejs/status/2070082345689067978
3•aurenvale•1h ago•0 comments

The MUMPS 76 Primer – anniversary edition

https://github.com/rochus-keller/MUMPS/blob/main/docs/MUMPS_Primer.adoc
5•Rochus•1h ago•3 comments

Trump Cut a Billion-Dollar Mining Deal. His Sons Stand to Profit

https://www.nytimes.com/2026/06/28/world/europe/trump-lutnick-sons-kazakhstan.html
8•tcp_handshaker•1h ago•0 comments

After the AI Hype – What's Real, and What's Next – Richard Campbell – 2026

https://www.youtube.com/watch?v=uWnUnMphmPM
1•tcp_handshaker•1h ago•0 comments

Academic-writing kit for Claude Code

https://github.com/josefslerka/study-kit
4•josefslerka•1h ago•0 comments

Show HN: Meta Ads vs. ASA vs. GAC for indie apps (2026 data)

https://launchshots.app/blog/meta-ads-app-install-2026
3•okutan•1h ago•0 comments

The Scaling of PEFT: Towards Million Personal Models of Trillion Parameters

https://arxiv.org/abs/2606.02437
1•Anon84•1h ago•0 comments

A way to exclude sensitive files issue still open for OpenAI Codex

https://github.com/openai/codex/issues/2847
33•pikseladam•1h ago•21 comments

Starbucks Is One of the Largest Banks

https://www.msn.com/en-us/money/companies/starbucks-is-secretly-one-of-the-world-s-largest-banks/...
2•ColinWright•1h ago•0 comments