frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Draxl, agent-native source code with stable AST node IDs

https://github.com/draxl-org/draxl
3•rndhouse•2h ago
Hello,

I’m building Draxl, a source format for a world where code is edited by millions of agents.

AI agents will produce far more code than humans do today. Rebased branches, concurrent edits, and long-lived forks will become much more common. Code management needs more precise control at that scale.

Draxl embeds stable AST node IDs directly in the source, so tools can target syntax by identity instead of by line position. Here’s a small example:

Here is a small example:

  @m1 mod demo {
    @d1 /// Add one to x.
    @f1[a] fn add_one(@p1[a] x: @t1 i64) -> @t2 i64 {
      @c1 // Cache the intermediate value.
      @s1[a] let @p2 y = @e1 (@e2 x + @l1 1);
      @s2[b] @e3 y
    }
  }
The syntax is:

  @id[rank]->anchor
* `@id` gives the next node a stable identity

* `[rank]` orders siblings inside ranked slots

* `->anchor` attaches detached docs or comments to an existing sibling id

The same code lowers to ordinary Rust:

  mod demo {
      /// Add one to x.
      fn add_one(x: i64) -> i64 {
          // Cache the intermediate value.
          let y = (x + 1);
          y
      }
  }
In Draxl, functions, statements, expressions, docs, and comments can all carry stable IDs. Ordered siblings carry explicit ranks. Detached docs and comments can carry explicit anchors.

That lets a tool say "replace expression `@e3`" or "insert a statement into `@f1.body[ah]`" instead of "change these lines near here."

That should make semantic replay more reliable under heavy concurrent editing. It should also reduce false merge conflicts and localize real ones more precisely.

It also opens up other uses. You could attach ownership, policy, or review metadata directly to AST nodes.

I’m interested in early feedback: does this source model feels useful, and whether editing code this way seems like a better fit for agent-heavy workflows. Where are the best places on the internet to discuss this sort of thing?

Connect with me: https://x.com/rndhouse

DOGE employee stole Social Security data and put it on a thumb drive

https://techcrunch.com/2026/03/10/doge-employee-stole-social-security-data-and-put-it-on-a-thumb-...
3•elsewhen•2m ago•1 comments

Claude Opus 4.6 generated a YouTube poop video with a single prompt

https://twitter.com/josephdviviano/status/2031196768424132881
1•dokdev•2m ago•1 comments

Build a "Deep Data" MCP Server to Connect LLMs to Your Local Database in 10min

https://root-ai.beehiiv.com/p/build-a-deep-data-mcp-server-to-connect-llms-to-your-local-database...
1•mehdikbj•4m ago•0 comments

Aaron Swartz and the Return of Jottit

https://jottit.org/
1•shanselman•5m ago•1 comments

A Special AMD Ryzen AM5 Motherboard for Linux / Open-Source Enthusiasts

https://www.phoronix.com/review/msi-pro-b850p-wifi
2•RachelF•5m ago•0 comments

Side questions with /btw in Claude Code

https://code.claude.com/docs/en/interactive-mode
1•mfiguiere•7m ago•0 comments

Mathematics is undergoing the biggest change in its history

1•Stratoscope•8m ago•0 comments

SaaSpocalypse Now

https://hantverkskod.se/2026/03/01/saaspocalypse/
1•mosura•9m ago•0 comments

Classifying email providers of 2000 Swiss municipalities via DNS

https://mxmap.ch/
1•notmine1337•11m ago•0 comments

I Ching or Book of Changes

https://iching.r053.org/
1•tzury•12m ago•0 comments

I Got Root on Meta AI's Infrastructure Using a Chat Prompt

https://netguard24-7.com/blog/meta-ai-root
1•cybrdude•12m ago•0 comments

Chemists thought phosphorus had shown all its cards–until it surprised them

https://phys.org/news/2026-02-chemists-thought-phosphorus-shown-cards.html
1•PaulHoule•12m ago•0 comments

How to start coding with AI agents

https://www.paralect.com/academy/product-engineer/ai-agents-coding
1•igorkrasnik•13m ago•0 comments

Zero Point Energy

https://twitter.com/EagleworksSonny/status/2031128667019972616
1•Flere-Imsaho•14m ago•0 comments

Show HN: Repovex – GitHub repo health scores for your whole org

https://repovex.com
1•calminferno•20m ago•0 comments

Front End Memory Leaks: 500-Repo Static Analysis and 5-Scenario Benchmark Study

https://stackinsight.dev/blog/memory-leak-empirical-study/
1•nadis•23m ago•0 comments

Visual plasticity and exercise revisited: No evidence for a "cycling lane"

https://jov.arvojournals.org/article.aspx?articleid=2737222
2•amadeuspagel•25m ago•0 comments

Google and Tesla think we're managing the electrical grid all wrong

https://techcrunch.com/2026/03/10/google-and-tesla-think-were-managing-the-electrical-grid-all-wr...
1•jnord•25m ago•0 comments

I've no technical background, hope someone finds this interesting

https://github.com/aleflow420/rinoa
1•aleflow420•25m ago•0 comments

GLP-1 drugs push U.S. consumers toward spicy foods, lifting sauce makers

https://www.reuters.com/business/healthcare-pharmaceuticals/sauce-spice-makers-attract-deal-inter...
2•petethomas•25m ago•0 comments

Television and computer use and dementia risk in older adults

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.71259
3•amadeuspagel•27m ago•0 comments

Modern Compiler Design: C Implementation Details [pdf] (2004)

https://www.cs.usfca.edu/~galles/compilerdesign/cimplementation.pdf
2•turtleyacht•28m ago•1 comments

Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet

https://twitter.com/tplr_ai/status/2031388295972929720
2•rzk•28m ago•0 comments

Dox with Grok

https://mattsayar.com/dox-with-grok/
2•ohjeez•30m ago•2 comments

Ask HN: What's your favorite "what would SWEs do in 1-3 year from now?"

1•itissid•33m ago•0 comments

The Situation: Thinking About Anthropic's Red Lines

https://www.lawfaremedia.org/article/the-situation--thinking-about-anthropic-s-red-lines
2•hn_acker•34m ago•0 comments

Military AI Policy by Contract: The Limits of Procurement as Governance

https://www.lawfaremedia.org/article/military-ai-policy-by-contract--the-limits-of-procurement-as...
3•hn_acker•36m ago•0 comments

Ask HN: How to "make it" as a newlygrad/junior?

2•kartoffelsaft•38m ago•1 comments

Credit Bureaus Are Leaving More Mistakes on Frustrated Consumers' Reports

https://www.propublica.org/article/credit-report-mistakes-cfpb-experian-transunion
5•hn_acker•39m ago•2 comments

They Feel Bugs Inside Them. Doctors Don't Know Why

https://www.nytimes.com/2026/03/09/opinion/diagnosis-delusional-infestation-bugs.html
3•bookofjoe•39m ago•1 comments