For example, your while-loops here
https://github.com/AGDNoob/axis-lang/blob/main/code_generato...
look like they might not be able to nest, since they assume the condition is always in eax and the loop doesn't push it down. So you'll need some kind of register allocation, which is a terrible pain in x86.
Also, I think it's worth coming up with an opinion about what other system programming languages are missing. And do the minimum work to provide that as a proof of concept, rather than trying to build a competitor to Zig right out of the gate. For example, maybe you have a perspective on a datastructure that should be a first class citizen, or maybe you've discovered the next best construct since async. Having that kind of vision might help focus the effort.
Actually Haskell has both indent-based and curlies-based syntax, and curlies freely replace indentation, and vice versa (but only as pairs).
That’s enough for INDENT, but for DEDENT you also need a stack of previous indentation levels. That’s how, when the amount of indentation decreases, you know how many DEDENTs to emit.
The requirement for a stack means that Python’s lexical grammar is not regular.
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?
# Parameter in Stack-Slots laden (für MVP: nur Register-Args)
# Semantic Analyzer markiert Params mit is_param=True
# Wir müssen jetzt die first 6 Args aus Registern laden
# TODO: Implementiere Parameter-Handling
# for now: Params bleiben in Registern (keine lokalen Vars mit gleichem Namen)
Also I love that I can understand all of this comment without actually understanding German.I assume also "5. No stdlib"? Will it be even able to print("Hello world") not by doing a direct write() syscall?