40
aritzh
7y

My own programming language (still WIP). I got SO excited when I found recursion worked, I even got the simplest factorial recursive function wrong. And then again, once arrays worked, bubble sort it was. I shit you not, once I saw all the numbers printed in order, I had to stand up and walk or I would have jumped out of the chair in excitement.

In case someone is interested, I use LLVM for the backend.

Comments
  • 5
    I'm interested to see an example of this language :)
  • 1
    @Hedgepig for now it looks exactly like C, but I have plans to change it slightly. Here's a snippet, though:

    int factorial(int n) {
    if (n <= 1) return 1;
    else return n * factorial(n - 1);
    }
  • 6
    Did you get very excited or did you get Stack Overflow excited? Fuck me. I interpreted SO as Stack Overflow.
  • 1
    Maybe senior officer excited? 8) Anyway, congrats! It's not like you write a programming language every day (well maybe you do literally at the moment, but you know what I mean) 😁
Add Comment