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

There are no borders or boundaries on our planet (2023)

https://stargazingguy.co.uk/2023/05/02/there-are-no-borders-or-boundaries-on-our-planet/
1•ssernikk•1m ago•0 comments

Rust for C# and .NET developers guide by Microsoft

https://microsoft.github.io/rust-for-dotnet-devs/latest/
2•AbuAssar•3m ago•0 comments

New Futex Syscalls for Helping Valve's ARM64 Gaming Ambitions

https://www.phoronix.com/news/FUTEX-Robust-List2-Syscalls
1•renehsz•5m ago•0 comments

GLiNER2.5-Decide and Jev: a decision model you run, and one you call

https://soniqo.audio/blog/gliner-decide-vs-jev
1•aufklarer•8m ago•0 comments

I Taught the Iliad to Chinese Teenagers (2021)

https://scholars-stage.org/how-i-taught-the-iliad-to-chinese-teenagers/
1•Tomte•11m ago•0 comments

Retrieval Practice: The Most Powerful Learning Strategy You're Not Using (2017)

https://www.cultofpedagogy.com/retrieval-practice/
1•Tomte•12m ago•0 comments

Show HN: Gigantua – A Black Hole in your Browser

https://claude.ai/artifact/XmWGFtQPgn8aJvU193Ksf8
2•robotsmakelove•15m ago•0 comments

A Maintainer in Residence: Scott Schafer for the Cargo Team

https://blog.rust-lang.org/2026/09/22/announcing-a-maintainer-in-residence-scott-schafer-for-the-...
1•hnisjafx40•17m ago•0 comments

Show HN: I built an AR App that overlays makeup tutorials live on your face

https://urartist.app/
2•Vicmed13•19m ago•3 comments

Scoop: Top AI companies probing security incidents

https://www.axios.com/2026/09/26/openai-anthropic-thousands-ai-security-incidents
1•nsoonhui•19m ago•0 comments

Advice to a Beginning Software Engineer

https://www.seangoedecke.com/advice-to-a-beginning-software-engineer/
1•ingve•20m ago•0 comments

M-5 Did Not Go Insane

https://palhereford.substack.com/p/no-m-5-did-not-go-insane
1•p-hereford•22m ago•0 comments

What is an AI sandbox, and why do AI agents keep escaping them?

https://madrobot.blog/2026/09/27/what-is-an-ai-sandbox-why-ai-agents-escape/
2•AIfanboy•22m ago•0 comments

DXing at Galactic Scale

https://daily.hamweekly.com/2026/09/dxing-at-galactic-scale-seti-search-for-extraterrestrial-inte...
1•slow_typist•23m ago•0 comments

Show HN: Chuks v0.2.0-RC.2: 45 bugs a test suite didn't find, real programs did

https://chuks.org/blog/chuks-v020-rc2-what-the-candidate-found/
1•princeLex•25m ago•0 comments

Ask HN: Is answering GitHub issues with AI without declaring it a big deal?

1•LelouBil•27m ago•0 comments

Sonifying Audio Transformers with Attention Tape Heads

https://michaelchinen.com/2026/09/26/audio-attention-tape-heads/
1•mchinen•29m ago•0 comments

An open letter to Scott Alexander

https://quillette.substack.com/p/an-open-letter-to-scott-alexander
2•mellosouls•30m ago•0 comments

Australia's Deputy PM Defends Data Security After OpenAI Hack

https://www.bloomberg.com/news/articles/2026-09-27/australia-s-deputy-pm-defends-data-security-af...
2•sbulaev•30m ago•1 comments

OpenAI pauses training of latest models after agents probed US Government sites

https://apnews.com/article/ai-openai-anthropic-agents-rogue-hack-2f8a2b9024d4f06793bcca12f8089d20
2•ml-student•30m ago•0 comments

Do whatever you want. You don't need to choose. You don't have to win or lose

1•ndnchrkdbck•31m ago•0 comments

Reflect Orbital, Sunlight on Demand?

https://www.reflectorbital.com
1•birdboat00•32m ago•0 comments

Majority of YouTube comments seem AI generated to me now

1•217•33m ago•2 comments

Local LLM extraction plugin for Obsidian (100% offline)

https://github.com/wessteq/revenue-auditor.
1•Pharwek•36m ago•0 comments

Rezzmo – an AI-native communication app with live AI during calls

http://rezzmo.com/
3•abdulazizslim•37m ago•0 comments

Differences Between `Foldl` and `Foldr`

https://blog.haskell.org/foldl-and-foldr/
1•g0xA52A2A•37m ago•0 comments

Rusty thoughts on "Parse, don't validate"

https://eli.thegreenplace.net/2026/rusty-thoughts-on-parse-dont-validate/
2•ingve•37m ago•0 comments

Show HN: Maniac Mansion Reconstructed in 3D from Its Original Screens

https://github.com/s-macke/maniac-mansion-3d
1•s-macke•38m ago•0 comments

Apostate: An open-source, verifiable antidetect Chromium fork

https://github.com/heretic-tech/apostate
1•ccheshirecat•43m ago•2 comments

The Jobs Matrix for AI: Four Boxes Instead of Forty Tools

https://age-of-product.com/jobs-matrix-ai/
1•swolpers•43m ago•0 comments