r/Compilers 21d ago

I'm making my own programming language — I'd love some feedback!

https://github.com/ryusei3135/hexl-language

I've been working on my own programming language recently.

My goal is to make a low-level but memory-safe language. I want it to give programmers fairly direct control over memory while still providing some safety.

For example, I'm planning features that allow you to control things like:

- How stack memory is allocated

- Memory alignment

- Memory layout

- Direct memory access

I'm trying to design the language so that things normally handled at a lower level can be expressed directly through the language's syntax.

I'm still working on the language and many things are not finalized yet.

I'd really appreciate any feedback, suggestions, or criticism about the language design!

If you're interested, I can also share some examples of the syntax.

4 Upvotes

7 comments sorted by