frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Axis – A systems programming language with Python syntax

https://github.com/AGDNoob/axis-lang
8•AGDNoob•3h ago

Comments

AGDNoob•3h ago
I built AXIS as a learning project in compiler design. It compiles directly to x86-64 machine code without LLVM, has zero runtime dependencies (no libc, direct syscalls), and uses Python-like syntax. Currently Linux-only, ~1500 lines of Python. All test programs compile and run. The one-line installer works: curl -fsSL https://raw.githubusercontent.com/AGDNoob/axis-lang/main/ins... | bash It's very early (beta), but I'd love feedback on the design and approach!
rzzzwilson•2h ago
Where is the "python syntax"?
AGDNoob•2h ago
Yeah that's fair. It's got "fn main()", types like "i32", and uses braces. More Rust-like than Python to be honest. The "Python-like" part is mostly wishful thinking about readability. Should've just called it "minimalist systems language" or something
rzzzwilson•2h ago
I was hoping for no {}, just indentation, but ...
AGDNoob•2h ago
Yeah braces made the parser way simpler for a first attempt. Significant whitespace is on the maybe-list but honestly seems scary to implement correctly
zahlman•2h ago
I feel like Python-style indentation should be much easier to parse intuitively (preprocess the line, count leading levels of indentation) than by fully committing to formal theory. Not theoretically optimal and not "single-pass" but is that really the bottleneck?
AGDNoob•1h ago
Yeah, that’s fair. Conceptually it’s not that hard if you’re willing to do a proper preprocess pass and generate INDENT and DEDENT tokens. For this first version I mostly optimized for not shooting myself in the foot, braces gave me very explicit block boundaries, simpler error handling, and a much easier time while bringing up the compiler and codegen. Significant whitespace is definitely interesting long term, but for a v0 learning project I wanted something boring and robust first. Once the core stabilizes, revisiting indentation based blocks would make a lot more sense
zahlman•1h ago
Fair enough.

Might I suggest that now is a good time to try and make a concrete wish-list of syntax features you'd like to see, and start drafting examples of how you'd like the code to look?

nine_k•1h ago
Indent-based syntax is relatively simple to parse. You basically need two pieces of state: are you in indent-sensitive mode (not inside a literal, not inside a parenthesized expression), and what indentation did the previous line have. Then you can easily issue INDENT and DEDENT tokens, which work exactly like "{" and "}". The actual Python parser does issue these tokens.

Actually Haskell has both indent-based and curlies-based syntax, and curlies freely replace indentation, and vice versa (but only as pairs).

hresvelgr•1h ago
I suspect that was in the initial prompt that was used to generate this and the LLM decided Rust syntax was preferable.
metadat•1h ago
Yes, it looks almost exactly like Rust. Expectations violation! :)
nine_k•1h ago
> 4. No Magic – No hidden allocations, no garbage collector, no virtual machine

I assume also "5. No stdlib"? Will it be even able to print("Hello world") not by doing a direct write() syscall?

AGDNoob•21m ago
Right now there’s intentionally no stdlib, so yes, printing would ultimately boil down to a direct write syscall. The idea is that the core language stays as thin as possible and anything higher level lives on top of that, either as compiler intrinsics or a very small stdlib later. For the MVP I wanted to make the boundary explicit instead of pretending there’s no syscall underneath. So “Hello world” will work, but in a very boring, low level way at first
hresvelgr•1h ago
It's my belief that the author has almost entirely used an LLM to put this together. Tailor engagement accordingly.
didip•1h ago
How do you know this? It looks more like some kid’s homework
kej•27m ago
It's definitely odd that someone who allegedly wrote a complete compiler in Python would describe something that is obviously Rust syntax as Python-like.

There's a ridiculous amount of tech in a disposable vape

https://blog.jgc.org/2026/01/theres-ridiculous-amount-of-tech-in.html
113•abnercoimbre•1d ago•74 comments

ASCII Clouds

https://caidan.dev/portfolio/ascii_clouds/
68•majkinetor•2h ago•10 comments

A 40-line fix eliminated a 400x performance gap

https://questdb.com/blog/jvm-current-thread-user-time/
196•bluestreak•6h ago•39 comments

Every GitHub object has two IDs

https://www.greptile.com/blog/github-ids
154•dakshgupta•13h ago•44 comments

1000 Blank White Cards

https://en.wikipedia.org/wiki/1000_Blank_White_Cards
32•eieio•2h ago•3 comments

Show HN: OSS AI agent that indexes and searches the Epstein files

https://epstein.trynia.ai/
33•jellyotsiro•3h ago•13 comments

Show HN: Cachekit – High performance caching policies library in Rust

https://github.com/OxidizeLabs/cachekit
18•failsafe•2h ago•0 comments

vLLM large scale serving: DeepSeek 2.2k tok/s/h200 with wide-ep

https://blog.vllm.ai/2025/12/17/large-scale-serving.html
69•robertnishihara•13h ago•7 comments

The truth behind the 2026 J.P. Morgan Healthcare Conference

https://www.owlposting.com/p/the-truth-behind-the-2026-jp-morgan
127•abhishaike•10h ago•28 comments

The $LANG Programming Language

124•dang•4h ago•22 comments

The Emacs Widget Library: A Critique and Case Study

https://www.d12frosted.io/posts/2025-11-26-emacs-widget-library
32•whacked_new•1d ago•4 comments

Handling secrets (somewhat) securely in shells

https://linus.schreibt.jetzt/posts/shell-secrets.html
18•todsacerdoti•4d ago•10 comments

Are two heads better than one?

https://eieio.games/blog/two-heads-arent-better-than-one/
140•evakhoury•12h ago•40 comments

Sei (YC W22) Is Hiring a DevOps Engineer (India/In-Office/Chennai/Gurgaon)

https://www.ycombinator.com/companies/sei/jobs/Rn0KPXR-devops-platform-ai-infrastructure-engineer
1•ramkumarvenkat•4h ago

AI will compromise your cybersecurity posture

https://rys.io/en/181.html
8•gmays•1h ago•2 comments

The Gleam Programming Language

https://gleam.run/
22•Alupis•2h ago•3 comments

No management needed: anti-patterns in early-stage engineering teams

https://www.ablg.io/blog/no-management-needed
124•tonioab•10h ago•153 comments

The Tulip Creative Computer

https://github.com/shorepine/tulipcc
200•apitman•12h ago•44 comments

Agonist-Antagonist Myoneural Interface

https://www.media.mit.edu/projects/agonist-antagonist-myoneural-interface-ami/overview/
45•kaycebasques•4d ago•2 comments

AI generated music barred from Bandcamp

https://old.reddit.com/r/BandCamp/comments/1qbw8ba/ai_generated_music_on_bandcamp/
670•cdrnsf•10h ago•485 comments

Exa-d: How to store the web in S3

https://exa.ai/blog/exa-d
13•willbryk•4h ago•0 comments

Why we built our own background agent

https://builders.ramp.com/post/why-we-built-our-background-agent
70•jrsj•1d ago•8 comments

How to make a damn website (2024)

https://lmnt.me/blog/how-to-make-a-damn-website.html
165•birdculture•11h ago•51 comments

When hardware goes end-of-life, companies need to open-source the software

https://www.marcia.no/words/eol
221•Marciplan•6h ago•66 comments

Show HN: Microwave – Native iOS app for videos on ATproto

https://testflight.apple.com/join/cVxV1W3g
21•sinned•11h ago•3 comments

Scott Adams has died

https://www.youtube.com/watch?v=Rs_JrOIo3SE
844•ekianjo•13h ago•1353 comments

Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

https://marketplace.visualstudio.com/items?itemName=Nogic.nogic
95•davelradindra•10h ago•36 comments

Show HN: Axis – A systems programming language with Python syntax

https://github.com/AGDNoob/axis-lang
8•AGDNoob•3h ago•16 comments

Stop using natural language interfaces

https://tidepool.leaflet.pub/3mcbegnuf2k2i
11•steveklabnik•2h ago•2 comments

We can't have nice things because of AI scrapers

https://blog.metabrainz.org/2025/12/11/we-cant-have-nice-things-because-of-ai-scrapers/
328•LorenDB•7h ago•176 comments