frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Testing AST or assembly output for a compiler

1•backslash_16•2h ago
Hi Hacker News,

I'm working on a c compiler from scratch and am in a bit of a deadzone figuring out how I can test the generated AST and assembly output. I'm specifically having a hard time finding something that is viable for a one person project and which is also useful.

I did some research on Clang and saw they use a custom Filecheck library. This looks incredible for a production grade compiler but for mine I'm not sure if I want to put in all of the effort (especially because my host language F# doesn't have a Filecheck lib and I would have to re-create it).

Same with the AST - the best I can think of is creating the nodes in my host code language. This is verbose.

What have you done to test and check your compiler output, any good recommendations for me? I'm happy to research or read anything. Please keep in mind I'm going for a good effort to reward ratio.

Oxlint JavaScript Plugin Support

https://voidzero.dev/posts/announcing-oxlint-js-plugins
1•kevinak•56s ago•0 comments

DocMind, Streamlit Application Leveraging LlamaIndex, LangGraph, and LLM

https://github.com/BjornMelin/docmind-ai-llm
1•nashashmi•2m ago•0 comments

Can Sonnet 4.5 hack a network?

https://www.incalmo.ai/blog/2025/10/01/sonnet_eval/
1•bsingerzero•2m ago•0 comments

Dependency on monopoly cloud providers a security vulnerability?

https://www.euronews.com/next/2025/10/20/huge-internet-outage-hits-mobile-apps-and-websites-such-...
1•DaveZale•3m ago•0 comments

AI Trading in Real Markets

https://nof1.ai/
1•hiddencost•3m ago•0 comments

The AI Cloud

https://rauchg.com/2025/the-ai-cloud#pages-to-agents
1•tamasnet•4m ago•0 comments

The Price of E. Coli

https://press.asimov.com/articles/price-of-ecoli
1•mailyk•9m ago•0 comments

Bedside Manners: Can empathy be taught in medicine?

https://harpers.org/archive/2025/10/bedside-manners-rachel-pearson-empathy-medical-education/
1•Vigier•10m ago•0 comments

Anthropic brings Claude Code to the web

https://techcrunch.com/2025/10/20/anthropic-brings-claude-code-to-the-web/
1•fatihkocnet•13m ago•1 comments

Most Accurate National IQs Possible

https://www.sebjenseb.net/p/most-accurate-national-iqs-possible
2•JumpCrisscross•14m ago•0 comments

Insights and Surprises from the 2025 DORA report

https://substack.com/inbox/post/176671189
1•mathattack•15m ago•0 comments

Ion: GraphQL on the backend (and everywhere else)

https://the-nerve-blog.ghost.io/ion-graphql-on-the-backend-an/
1•mprast•18m ago•0 comments

How to use infer keyword in TypeScript

https://www.geodev.me/blog/how-to-use-the-infer-keyword-in-typescript
1•icelandico_•22m ago•0 comments

To Fight ICE, Portland's Leaders Turn to What They Know Best: Zoning

https://www.nytimes.com/2025/10/20/us/politics/portland-ice.html
3•JumpCrisscross•23m ago•0 comments

Resonant Computing Manifesto

https://resonantcomputing.org/
2•herbertl•24m ago•0 comments

First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code

https://www.koi.ai/blog/glassworm-first-self-propagating-worm-using-invisible-code-hits-openvsx-m...
5•dnslavin•25m ago•0 comments

[Aristotle], On Trolling (2016)

https://philarchive.org/archive/BARAOT-9
1•aebtebeten•25m ago•0 comments

BofA Warns of Forced Stocks Selling If Credit Problems Persist

https://www.bloomberg.com/news/articles/2025-10-20/bofa-warns-of-forced-stocks-selling-if-credit-...
10•zerosizedweasle•27m ago•2 comments

Show HN: NativeBlend – Text to fully editable 3D Models that don't suck

https://native-blend-app.vercel.app/
1•addy999•33m ago•0 comments

What if AI worked like a forest?

https://worldsensorium.com/what-if-ai-worked-like-a-forest/
1•dnetesn•34m ago•0 comments

More Than a Feeling: How awe and wonder transform science and you

https://nautil.us/more-than-a-feeling-1242661/
1•dnetesn•34m ago•0 comments

Graying Hair May Reflect a Natural Defense Against Cancer Risk

https://www.ims.u-tokyo.ac.jp/imsut/en/about/press/page_00079.html
2•geox•36m ago•0 comments

Ask HN: How Do You Hire?

1•lazaruslong•39m ago•2 comments

Anthropic Sandbox Runtime (Srt)

https://github.com/anthropic-experimental/sandbox-runtime
2•lawrencechen•39m ago•0 comments

How YouTube algorithm manufactures consent

https://archive.org/details/youtube-icw
4•lr0•39m ago•2 comments

Go's experimental Green Tea garbage collector didn't help performance

https://www.dolthub.com/blog/2025-09-26-greentea-gc-with-dolt/
1•PaulHoule•39m ago•0 comments

Nix CI Benchmarks

https://garnix-io.github.io/benchmarks/
2•jkarni•40m ago•0 comments

China has 55% of the high-IQ working-age people

https://sofiechan.com/p/4571
15•speckx•40m ago•18 comments

Cancer patients who got a Covid vaccine lived much longer

https://www.sciencedaily.com/releases/2025/10/251019120503.htm
3•amichail•40m ago•0 comments

Europe's plan to ditch US tech is built on open source and it's gaining steam

https://www.zdnet.com/article/europes-plan-to-ditch-us-tech-giants-is-built-on-open-source-and-it...
3•CrankyBear•41m ago•0 comments