frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Neatify – A universal scriptable formatter using Tree-sitter/Rust/Rhai

https://github.com/neatify-tech/neatify
2•its-a-new-world•1h ago

Comments

its-a-new-world•1h ago
I've been programming for 20 years, handcrafting tool after tool in a bunch of different languages.

With the advent of LLM-assisted coding, the landscape has shifted. I find myself surrounded by "generated" code in a wider variety of languages and formats than ever before. The specific output depends on the model, the prompt, and the tool orchestration. Keeping this polyglot soup consistent using traditional formatters proved impossible. Most formatters are either limited to a handful of languages or are so opinionated that you’re stuck with their "one true way."

So, I built Neatify.

Neatify is a universal, scriptable engine for formatting and linting. It’s built on three core pillars:

- Rust core for raw speed

- Tree-sitter for high-fidelity, syntax-agnostic parsing.

- Rhai as a lightweight scripting layer to define the logic.

In Neatify, the "opinion" isn't hardcoded into a binary with a few configuration toggles to tweak. It's just a script. If you can describe your style to an LLM, it can generate a Rhai script to enforce it via Neatify.

A few notes on the project:

- Performance: I spent significant time on performance finetuning. A 7,000-line Java file that initially took minutes to process now formats in ~800ms. But there is still room for improvement.

- AI-Orchestrated: To keep with the spirit of the project, I architected this in Rust and Rhai —languages I hadn't used before— working in close coordination with AI. It’s been an experiment in "Architect-led" development.

- License: LGPL-3.0

I’d love to hear your thoughts on the "formatter-as-script" approach!

A numerical investigation of H-air lifted flames in swirling fuel injectors

https://www.sciencedirect.com/science/article/pii/S0010218025004985
1•PaulHoule•1m ago•0 comments

When Human Activity Dropped During Covid-19 Methane Emissions Spiked

https://www.smithsonianmag.com/smart-news/when-human-activity-dropped-during-covid-19-methane-emi...
1•stevenjgarner•2m ago•0 comments

GPT-5.3-Codex-Spark is now in research preview

https://twitter.com/OpenAI/status/2022009582210715925
2•tosh•3m ago•0 comments

Hylo: A Systems Programming Language Focused on Value Semantics and Generics

https://hylo-lang.org/
1•birdculture•3m ago•0 comments

Show HN: DB Pro Studio – A self-hosted, collaborative database client

https://www.dbpro.app/studio
1•upmostly•3m ago•0 comments

We're in an Exponential

https://www.augmentcode.com/blog/we-re-in-an-exponential
1•thesleepypanda•5m ago•0 comments

Show HN: A deterministic adversarial puzzle system

https://hashclue.com/paper
1•cartographus•7m ago•0 comments

How a Pencil-Purchasing U.S. Bureaucrat Ended Up Shaking Hands with Putin

https://www.wsj.com/politics/national-security/how-a-pencil-purchasing-u-s-bureaucrat-ended-up-sh...
1•impish9208•8m ago•1 comments

Show HN: Hybrid Semantic Grep for Claude Code

https://github.com/lightonai/next-plaid
1•raphaelty•8m ago•0 comments

Voice-controlled AI OpenClaw agent manipulating 3D game engine in real-time

https://twitter.com/PlayingInCanvas/status/2022008924950700510
1•astressence•8m ago•0 comments

Analysis: China's CO2 emissions have now been 'flat or falling' for 21 months

https://www.carbonbrief.org/analysis-chinas-co2-emissions-have-now-been-flat-or-falling-for-21-mo...
2•ceejayoz•9m ago•0 comments

Border Officials Caused El Paso Closure by Firing Anti-Drone Laser

https://www.nytimes.com/2026/02/11/us/trump-administration-el-paso-airspace-closure-questions.html
1•ripe•9m ago•1 comments

A Proof of the Collatz Conjecture

https://github.com/inem/collatz
1•inem•9m ago•0 comments

Protein Discovered That Reverses Brain Aging in the Lab

https://www.science.org/doi/10.1126/sciadv.ady5905
1•stevenjgarner•9m ago•1 comments

GPT-5.3-Codex-Spark

https://twitter.com/i/status/2022009582210715925
2•denysvitali•11m ago•0 comments

New Era of MySQL Community Engagement

https://blogs.oracle.com/mysql/new-era-of-mysql-community-engagement
1•theodorejb•11m ago•0 comments

Creating Fake Files and Binaries

https://fzakaria.com/2026/02/11/creating-massively-huge-fake-files-and-binaries
1•ingve•11m ago•0 comments

Brave launches most powerful search API for AI to date

https://brave.com/blog/most-powerful-search-api-for-ai/
1•XzetaU8•11m ago•0 comments

New tool exposes scale of fake research flooding cancer science

https://www.qut.edu.au/news?id=203173
1•taubek•12m ago•0 comments

GPT‑5.3‑Codex‑Spark

https://openai.com/index/introducing-gpt-5-3-codex-spark/
22•meetpateltech•12m ago•5 comments

From AI burnout to AI native: the 5-level blueprint to using agents

https://www.theneuron.ai/explainer-articles/ai-burnout-to-native-5-level-blueprint/
1•swolpers•15m ago•0 comments

Show HN: Workledger – Your offline first engineering notebook

https://workledger.org/
1•recvonline•15m ago•0 comments

Hibiki-Zero:real-time and multilingual speech translation model

https://kyutai.org/blog/2026-02-12-hibiki-zero
1•pain_perdu•16m ago•0 comments

Show HN: A video agent with Canvas2D code-gen and generative capabilities

https://gliadirector.com/?referral=hn1000
1•vickyliin•17m ago•0 comments

GLM-5 with mlx-lm on single 512GB M3 Ultra in Q4

https://twitter.com/awnihannun/status/2022007608811696158
1•tosh•18m ago•0 comments

Views on Mastra's SOTA Memory

1•manthangupta109•19m ago•0 comments

I'm skipping Carnival to port my AI CMS to English (Pre-selling integration)

https://739088950838.gumroad.com/l/uvdnia
1•eliasolie•20m ago•1 comments

Show HN: ListofDisks – hard drive price index across 7 retailers not just Amazon

2•listofdisks•20m ago•0 comments

Resently – macOS menu bar app that sets your Slack status by Wi-Fi network

https://apps.apple.com/se/app/presently/id6504904260?mt=12
1•netdigger•20m ago•1 comments

News publishers limit Internet Archive access due to AI scraping concerns

https://www.niemanlab.org/2026/01/news-publishers-limit-internet-archive-access-due-to-ai-scrapin...
3•mellosouls•21m ago•0 comments