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

To Read Code or Not: What Both Strategy Visionaries and Code Purists Get Wrong

https://shrsv.hexmos.com/post/to-read-code-or-not
1•atomicnature•39s ago•0 comments

Show HN: I spent a month turning LinkedIn into software

https://www.bulaev.net/p/i-spent-a-month-turning-linkedin
1•sbulaev•49s ago•0 comments

You Need Two Systems for Running an Algorithmic Trading Strategy

https://www.tradingreality.com/p/why-you-need-two-systems-for-running
1•TradingReality•1m ago•0 comments

Show HN: LogoTeddy – Animate logos with AI (no templates)

https://logoteddy.com/
1•humphrey_liu•1m ago•0 comments

Show HN: I Am Hosting Amalia – The First Portuguese LLM

https://iaamalia.com/
1•wbemaker•2m ago•0 comments

China detains US scientist who studied North Korea nuclear tests

https://www.bbc.com/news/articles/cqx1xdn3g4eo
1•tartoran•2m ago•0 comments

AI Lays Bare the Authoritarianism of Modern Work. Time to Rethink Education

https://www.techpolicy.press/ai-lays-bare-the-authoritarianism-of-modern-work-time-to-rethink-edu...
1•cdrnsf•3m ago•0 comments

Ask HN: What company could create an iOS/Android competitor worth adopting?

1•pwython•3m ago•0 comments

Another Day, Another Ban: Brussels Blocks Right-Wing Protest

https://europeanconservative.com/articles/news/another-day-another-ban-brussels-blocks-right-wing...
1•nickslaughter02•4m ago•0 comments

Ask HN: Is HN comments used to train AI models?

2•roschdal•6m ago•0 comments

Ethiopia's Airport Will Transform a Continent [video]

https://www.youtube.com/watch?v=GPh5xtXWwT8
1•surprisetalk•6m ago•0 comments

The Chickens and the Bulls (2012)

https://slate.com/human-interest/2012/07/the-chickens-and-the-bulls-the-rise-and-incredible-fall-...
1•robtherobber•6m ago•0 comments

Show HN: An MCP to create and call Playwright scripts as tools on your extension

https://reduck.ai/
1•DanyWin•7m ago•0 comments

Show HN: StyleSeed – a design-rules engine so AI agents stop building generic UI

https://github.com/bitjaru/styleseed
1•bitjaru0402•11m ago•0 comments

Chiplet3D: Pin- and Thermal-Aware 3D Chiplet Floorplanning

https://arxiv.org/abs/2607.09742
1•rbanffy•12m ago•0 comments

Nuvo – biological age tracker using wearable data and blood biomarkers

https://nuvolongevity.com/
2•fireflylabs•13m ago•0 comments

Elon Musk quietly buys a $1 billion gas turbine company to power Grok

https://electrek.co/2026/07/14/musk-buys-gas-turbine-company-apr-energy-grok/
5•Brajeshwar•13m ago•0 comments

NovaForge AI – Free AI, PDF, Image and Developer Tools in One Place

https://novaforge-ai.pages.dev
3•rrrpro123•13m ago•15 comments

AI's $5.8T Buildout Needs Every Bond Flavor It Can Sell

https://www.bloomberg.com/opinion/articles/2026-07-14/ai-s-5-8-trillion-buildout-needs-every-bond...
1•lesbarclays•13m ago•0 comments

Show HN: InferAll – One API for OpenAI, Anthropic, Google, Nvidia Nim

https://inferall.ai/?src=hn
1•TaylorM492•14m ago•0 comments

All2md: PDF, Docx, PPTX, HTML, Email and 40 More to Markdown – Python+CLI+MCP

https://github.com/thomas-villani/all2md
1•tom-villani•14m ago•1 comments

US House of Representatives takes step to make daylight saving time permanent

https://www.bbc.com/news/articles/cz9l9venjd8o
1•throw0101d•15m ago•1 comments

Show HN: 18KB ls alternative in no_std rust and Libc

https://crates.io/crates/fli-tool
2•tracyspacy•17m ago•0 comments

Title: Show HN: OpenMarkdown – A Markdown editor you and your agent co-edit

https://openmarkdown.dev/
1•XUEYANZ•18m ago•0 comments

GitHub Is Capping the AI Pull Request Flood

https://www.vincentschmalbach.com/github-capping-ai-pull-request-flood/
1•vincent_s•19m ago•0 comments

Tutorial: Algebraic Foundations Powering FlashAttention

https://riftstack.ai/research/learning-flashattention-the-hard-way-part-1
1•gkapur•19m ago•1 comments

Show HN: Ranking 19 LLMs on Flutter code by compile pass and hidden-test pass 1

https://nativevibe.dev/flutter-benchmark
1•GeorgiKadrev•19m ago•0 comments

Study: Lower-skilled workers earn more in an AI world

https://siepr.stanford.edu/news/study-lower-skilled-workers-earn-more-ai-world
1•rustoo•23m ago•0 comments

Show HN: Production-grade LangGraph template

https://github.com/brescou/langgraph-agent-stack
1•Brescou•24m ago•0 comments

Show HN: Fast NF4 dequantization Triton kernel (1.41x faster than bitsandbytes)

https://github.com/Griffith-7/nf4-triton-kernel
1•Griffith-7•24m ago•0 comments