Have never posted here before and just registered yesterday, although I have browsed the site a few times before. Love the handmade manifesto!
This seems like the right place to post about my language, called Gordon. It's a compiled imperative language similar to C. Here are some of its features:
- module system
- variadic functions
- simple struct inheritance
- simple polymorphism
- handy expression macros
- compile time execution
The compiler is 34k lines of code with blanks and comments and it's self-hosting (using LLVM). The standard library on the other hand has almost nothing in it yet, it's a little over 600 lines. There are currently no known bugs because I have fixed every bug that has occurred to me along the way. Only x86-64/Linux is currently supported. Oh, and there is no website :P
Here is some Gordon code to look at: https://gist.github.com/tjhann/f26dac0b7c99e850c210a56d61193620
One thing I wanted to make sure is to keep the compiler from being too tightly coupled with LLVM which is the primary reason it uses an intermediate representation (IR). The IR makes it fairly easy to make other backends for Gordon and I hope to finally have a C backend and be able to reboot from C.
I might need a lot of help with that though because I don't actually have a background in C, I come from D, which clearly shows in the syntax and feel. I always liked the core D, but D never provided the quality and stability I wanted. I sticked to a very small subset of it too – I'm not a big fan of metaprogramming.
The compiler and std: https://github.com/tjhann/gordon
Edit: I've got a little website now: https://tjhann.github.io/gordon-web/. For new users posting here, you may be shadow banned and nobody else can see your posts. I'm seeing a post from James indicated on the forums page but can't see the post.