
NanoWar wrote:It's always good to know the problems of a programming language and what you really hate about it. Then you can try to change that.
What I dislike about ASM is the register poverty. I really want to abtract these away. And the nonexistence of function parameters (or lack of methods of documentation/discovery) annoys me.
HASM should introduce functions and implement register spilling.
We can make this a collaborative project on github since we now have an organization on github.
What I'm thinking right now is very much a C-like language, but I'm very unsure.
Some constructions just don't feel necessary/relevant that are in C, so it's likely to be a Bare-Minimum-C if anything like C at all..
What do we want and/or need?
- Functions
- Register Spilling
- Macros
- Speed/Size Optimizations
- Good code readability
I guess we'll need to consider a lot/few more things before we start working on HASM, like what language we are implementing this in, cross-compilation, libraries and so forth.
Last edited by add on 09 November 2017, 13:26, edited 1 time in total.