frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Gene – a Lisp-like language built around a generic "Gene" data type

https://github.com/gene-lang/gene
1•gcao•2h ago
Hi HN — I’ve been working on Gene, a general-purpose, homoiconic language with a Lisp-like surface syntax, but with a core data model that’s intentionally not just “lists all the way down”.

What’s unique: the Gene data type

Gene’s central idea is a single unified structure that always carries (1) a type, (2) key/value properties, and (3) positional children:

(type ^prop1 value1 ^prop2 value2 child1 child2 ...)

The key point is that the type, each property name, each property value, and each child can themselves be any Gene data. Everything composes uniformly. In practice this is powerful and liberating: you can build rich, self-describing structures without escaping to a different “meta” representation, and the AST and runtime values share the same shape.

This isn’t JSON, and it isn’t plain S-expressions: type + properties + children are first-class in one representation, so you can attach structured metadata without wrapper nodes, and build DSLs / transforms without inventing a separate annotation system.

Dynamic + general-purpose (FP and OOP)

Gene aims to be usable for “regular programming,” not only DSLs:

* FP-style basics: fn, expression-oriented code, and an AST-friendly representation

* OOP support: class, new, nested classes, namespaces (still expanding coverage)

* Runtime/tooling: bytecode compiler + stack VM in Nim, plus CLI tooling (run, eval, repl, parse, compile)

Macro-like capability: unevaluated args + caller-context evaluation

Gene supports unevaluated arguments and caller-context evaluation (macro-like behavior). You can pass expressions through without evaluating them, and then explicitly evaluate them later in the caller’s context when needed (e.g., via primitives such as caller_eval / fn! for macro-style forms). This is intended to make it easier to write DSL-ish control forms without hardcoding evaluation rules into the core language.

Optional local LLM backend via llama.cpp

I also added an optional local LLM backend: Gene has a genex/llm namespace that can call local GGUF models through llama.cpp via FFI (primarily because I wanted local inference without external services).

Repo: https://github.com/gene-lang/gene

I’d love feedback on:

* whether the “type/props/children” core structure feels compelling vs plain s-exprs,

* the macro/unevaluated-args ergonomics (does it feel coherent?),

* and what would make the project most useful next (stdlib, interop, docs, performance, etc.).

Silicon 'postage stamp' implant instantly emails your thoughts to AI

https://newatlas.com/medical-devices/silicon-implant-emails-thoughts-ai/
1•breve•1m ago•0 comments

List of Former Footlights Members

https://en.wikipedia.org/wiki/List_of_former_Footlights_members
1•zeristor•3m ago•0 comments

Visualization of influenza A virus entry into cells using virus-view AFM

https://www.pnas.org/doi/10.1073/pnas.2500660122
1•PaulHoule•8m ago•0 comments

(Nature) Economic inequality does not equate to poor well-being or mental health

https://twitter.com/nature/status/2006455318247604723
1•outrun86•8m ago•0 comments

Show HN: Tasker – An open-source desktop agent for browser and OS automation

https://automatewithtasker.com/
7•schnetzlerjoe•10m ago•0 comments

Neovim plugin to view Claude Code changes

https://github.com/johnernaut/claude-files.nvim
1•johnernaut•11m ago•1 comments

Show HN: Gfcli: A tool to search and install Google Fonts via terminal

https://github.com/tinsever/google-font-cli
1•tin7•12m ago•0 comments

Mock LLM APIs locally with real-world streaming physics

https://vidai.uk/platform/mock/
1•nagug•12m ago•1 comments

How have founders been successful at finding quality beta testers?

1•Megafeeder•14m ago•0 comments

The Year America's Economic Edge Evaporated

https://www.bloomberg.com/opinion/articles/2026-01-01/us-stock-market-and-gdp-lost-its-edge-in-2025
2•xqcgrek2•15m ago•1 comments

What an open lab can build with TPUs, Jax, and a little persistence

https://opensource.googleblog.com/2025/12/training-marin-32b-what-an-open-lab-can-build-with-tpus...
1•reqo•16m ago•0 comments

Why high-cardinality labels stress metrics databases

https://last9.io/blog/why-high-cardinality-metrics-break/
1•nishantmodak•17m ago•1 comments

Fixing My System76 Laptop in 20 Minutes or Less

https://danielmangum.com/posts/fix-system76-laptop-20-min/
1•hasheddan•17m ago•0 comments

The Role of Raw Power in Intelligence (1976) [pdf]

https://stacks.stanford.edu/file/druid:ws563sd6050/ws563sd6050.pdf
1•marc__1•19m ago•0 comments

World Historical Atlas

https://foxy-null.github.io/history-page/index.html?lang=en
1•smartmic•20m ago•1 comments

A website to destroy all websites

https://henry.codes/writing/a-website-to-destroy-all-websites/
1•g0xA52A2A•27m ago•1 comments

Linux is good now; to feel like you actually own your PC, put Linux on it

https://www.pcgamer.com/software/linux/im-brave-enough-to-say-it-linux-is-good-now-and-if-you-wan...
31•Vinnl•29m ago•3 comments

Om Malik – What DeepSeek Means for Everyone

https://crazystupidtech.com/2025/02/02/what-deepseek-means-for-everyone/
1•rmason•30m ago•1 comments

A Mexican Couple in California Plans to Self-Deport–and Leave Their Kids Behind

https://www.newyorker.com/magazine/2026/01/12/a-mexican-couple-in-california-plans-to-self-deport...
1•mitchbob•32m ago•1 comments

Reasons to Love the Field of Programming Languages

https://danilafe.com/blog/i_love_programming_languages/
2•todsacerdoti•33m ago•0 comments

Statically Linking PipeWire

https://gamesbymason.com/blog/2025/statically-linking-pipewire/
1•10000truths•37m ago•0 comments

Show HN: Yet Another Screenshot Tool?

https://capturl.com/blog/why-capturl
1•crigout•37m ago•0 comments

ProPublica: Investigations you may have missed this year

https://www.propublica.org/article/propublica-investigations-you-may-have-missed-2025
3•noleary•39m ago•0 comments

Rapid development to test new business ideas using notebooks

https://world.hey.com/apetrov/rapid-development-to-test-new-business-ideas-using-notebooks-bf80400c
3•apetrov•41m ago•0 comments

Data Science Weekly – Issue 632

https://datascienceweekly.substack.com/p/data-science-weekly-issue-632
1•sebg•42m ago•0 comments

What Ever Happened to Getting to First Base?

https://www.theatlantic.com/family/archive/2025/09/gen-z-sex-dating-language/684357/
2•llmslave2•43m ago•0 comments

Apple reportedly cuts production of Vision Pro headset after poor sales

https://www.theguardian.com/technology/2026/jan/01/apple-reportedly-cuts-production-vision-pro-he...
9•devonnull•44m ago•2 comments

Om Malik – China's EV Boom Is Bad for U.S..Tech

https://crazystupidtech.com/2025/03/16/chinas-ev-boom-is-bad-for-u-s-tech/
5•rmason•45m ago•1 comments

Show HN: Testing how symbolic framing affects LLMs

1•Daladim•46m ago•1 comments

Show HN: CamPrompter – Transparent Teleprompter with UVC Hardware Control

https://camprompter.dnyantra.com/
1•mayurkakade•46m ago•0 comments