Started working on my portfolio website! First time ever trying to make an actual website, yet alone a responsive one :react:
decided to write a brainfuck compiler with LLVM backend as my daily programming challenge! At the top you can see how my interpreter performs in comparison to the compiled version (it's 5 times slower!!!!!)
Didn’t do anything because I’ve been sick the past couple of days but here’s my pupper
How I spent my last day of summer vacation:
started writing official specification for my programming language but got bored already so back to programming!
I have finally put my programming language project on github and posted in on #ship, today's been a good day
One of very early drafts for a logo for my programming language, what do you guys think of it?
the address-of operator - hacked together but it kinda works if you use it with a literal so I'm happy with that I guess?
my own language is now compiling and running I'm so hyped
Learned very recently that being a student gives me unity pro for free; finally an excuse to get into game dev
writing custom syntax highlighting is basically just writing the parser you've already written but in JSON and not in code or regex
Today I’ve continued to work on code validation, implemented a very basic way to import foreign functions and just overall refined what I had thus far. I know I’ll have a lot of rewriting and refactoring to do if I ever want the public to use this language but it has to do as it’s for a programming language jam 😛
overall really happy with the progress I’m making
type inferring works oh my gosh I'm so hype
I take stuff like type inferring for granted when in reality it's much more complicated than one might think. I start appreciating compilers and code checkers more, even the basic ones, after building my own thing
For the first time ever I’ve built a lexer and a parser completely from scratch so now I can move on to actually fun parts of building a language
the parser is starting to come together
Decided to give writing my own language a shot but I’m still brainstorming over syntax and stuff like that, what do you guys think about this function definition syntax? You can either explicitly specify the return type and have a block for body or make it a single expression with the type inferred. Still not sure if I want to have the arguments list optional or not :think: