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

Biopolymer

https://en.wikipedia.org/wiki/Biopolymer
1•peter_d_sherman•47s ago•0 comments

Nobel Prize in Physiology or Medicine 2026

https://www.nobelprize.org/prizes/medicine/
1•marc__1•57s ago•0 comments

Mold Linker Version 3.0.0 Release – Rewritten in Rust

https://github.com/rui314/mold/releases/tag/v3.0.0
1•roflcopter69•59s ago•0 comments

Is Mathematics Over, or Just Graduating?

https://docs.google.com/document/d/e/2PACX-1vTSh-pyNP3Gi99WMmsinnLmE9V5CDI0HEm6WGbIPMNt3V5SGlClHF...
1•nvtop•1m ago•0 comments

Show HN: SuperLocalMemory – Features Jev/Laya as Judges on Every Recall

https://github.com/qualixar/superlocalmemory
1•vpbhardwaj•4m ago•0 comments

Europe's new robotics unicorn: Germany's RobCo hits $1B valuation

https://techfundingnews.com/europes-new-robotics-unicorn-germanys-robco-hits-1b-valuation/
1•dachworker•4m ago•0 comments

Incoming El Niño Is So Extreme It Doesn't Have a Scientific Name

https://insideclimatenews.org/news/29092026/record-breaking-el-nino-grows-in-pacific/
1•thelastgallon•9m ago•0 comments

Resolving the block universe paradox: Cross-species time equation

https://github.com/tycedhanna13-prog/block-universe-time-perception
1•tycehanna•11m ago•0 comments

Discovery for domains and evidence for incoming agents

https://nessgate.com/
1•nessgate•11m ago•0 comments

Garbage Collection: Generational? Incremental? Both

https://blog.python.org/2026/09/language-summit-2026-garbage-collection-generational-incremental-...
1•rbanffy•12m ago•0 comments

How to build an AI-native software factory

https://www.theaithinker.com/p/how-to-build-an-ai-native-software
1•adamfaik•13m ago•0 comments

People hate AI, so why can't they get enough?

https://www.technologyreview.com/2026/10/05/1145682/people-really-hate-ai-so-why-cant-they-get-en...
2•joozio•15m ago•0 comments

AI agents are rewriting the economics of computing

https://ig.ft.com/ai-tokens/
2•AnodicElegy•17m ago•1 comments

Constrain the Agent, Not the User

https://www.research.autodesk.com/blog/constrain-agent-not-user/
1•stellar_jay•19m ago•0 comments

Olivetti P101 and a Truncation Error – By Peter G. Madsen

https://www.goto10retro.com/p/olivetti-p101-and-a-truncation-error
1•rbanffy•20m ago•0 comments

What's going on with AI token price deflation?

https://www.ft.com/content/96184ef4-05be-467c-9d9c-745e21dad31a
1•AnodicElegy•22m ago•1 comments

Micron's Numbers Show Why HBM4 Memory Is Worth 15X Its Weight in Gold

https://www.nextplatform.com/store/2026/10/02/microns-numbers-show-why-hbm4-memory-is-worth-15x-i...
1•rbanffy•26m ago•0 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
3•tosh•31m ago•0 comments

Birdstar – Go outside. Find the birds. Draw the stars

https://birdstar.app/
1•pkaeding•32m ago•1 comments

The Empire Never Ended

https://classautonomy.info/the-empire-never-ended/
1•ndsipa_pomu•33m ago•0 comments

Show HN: EarWing, an open source hardware device for transcription

1•nl•33m ago•0 comments

Russia hospitalizes almost 200 people after researcher's death from plague

https://www.cnbc.com/2026/10/05/suspected-plague-cases-reported-in-russias-irkutsk-region.html
1•cramer4next•35m ago•0 comments

Redot Engine – Multi-platform 2D and 3D game engine

https://github.com/Redot-Engine/redot-engine
1•modinfo•38m ago•0 comments

Show HN: Free Claude prompt that decides if a cold email should be sent at all

https://pfoerringer.gumroad.com/free-claude-prompt-cold-email
1•CherryAI•40m ago•0 comments

Press Release: Nobel Prize in Physiology or Medicine 2026

https://www.nobelprize.org/prizes/medicine/2026/press-release/
6•Anon84•42m ago•5 comments

Evaluating Front End Parser Architecture with CppDepend: A Deep Dive into EDG

https://www.cppdepend.com/blog/evaluating-front-end-parser-architecture-edg/
3•cppfirst•42m ago•0 comments

Show HN: AcruxCore – version and trace the prompts and tools your agents use

https://github.com/AcruxCore/AcruxCore
1•aidotguru•50m ago•0 comments

There are 25% more psychotherapy sessions at 53 minutes than at 52

https://www.trytwofold.com/insights/53-minute-billing-threshold
1•ragswag•50m ago•0 comments

Vampires Biology and Evolution [video]

https://www.youtube.com/watch?v=wEOUaJW05bU
1•adamgordonbell•50m ago•0 comments

Norway to propose temporary ban on AI glasses in some public places

https://www.reuters.com/technology/norway-propose-temporary-ban-ai-glasses-some-public-places-202...
1•jmsflknr•52m ago•0 comments