Please sign in to access this page

QuackScript!

QuackScript!

10 devlogs
16h 55m
•  Ship certified
Created by Ian

QuackScript is a fun, duck-themed programming language designed to add personality to coding. It features playful mechanics like a "duck mood" that influences execution and quirky built-in functions, making programming both enjoyable and unique.

Timeline

Ship 1

1 payout of shell 279.0 shells

Ian

about 1 year ago

Ian • Covers 10 devlogs and 16h 55m
Earned sticker

Added some new features (and finally some quirky ones!) and created a nice-looking website. I'm ready to submit, let's hope I get some votes :D

Update attachment

After what felt like a trillion hours, but was only one and a half, I managed to add RETURN, CONTINUE, and BREAK statements to the langauge!

Update attachment
Earned sticker

I forgot to devlog for the past.. forever! But I'm back now. After procrastinating for a month, I added Strings, Lists, Built-in Functions, and Multi-line statements in one day! I'm getting so close to finishing this :D
Anyway plan is to finish off with some more features, and make a website to run it!

Update attachment

I added functions which took way too long, over 2 hours and 300 lines of code! Luckily pain is part of the problem, and after repeating that about 20 times, I got back my motivation. Anyway that should hopefully be the last devlog today. I'm probably going to finish all the basic functions tomorrow and start making some custom quirky features ;)

Update attachment

I added FOR loops and WHILE loops, which were surprisingly simple but sooo time consuming. I also reached over 1000 lines of code, which feels like a big achievement! :D

Update attachment

I added comparison variables like == or AND, and also added IF, ELSE, and ELIF statements. What I found about this was that I made them expresions, meaning you could use them like this:
VAR age = 19
VAR price = IF age >= 20 THEN 40 ELSE 20
price = 20

Update attachment

I added variables to my programming language! It wasn't too hard, however currently they use the word VAR, which I think kind of sucks, so I need to figure out something else to call it!

Update attachment

FINALLY! Something worked right without needing years of debugging. I created an interpreter which actually let me do operations instead of staring at them! Tomorrow I'm probably going to add file support and add some features like variables and functions. I also added my favorite type of error, runtime errors with traceback that no one understands!

Update attachment

Making the parser was supposed to be simple, as I was following a tutorial, however I got hit with so many errors! Luckily they were all due to my horrible syntax, but else than that it was quite satisfying seeing the end result! I got the parser to create almost like a tree of which operation to run. I also made it use order of operations and support parentheses!

Update attachment

I finally got around to building a lexer for my OS, it’s the part that figures out what every single character means and even catches errors for me. Honestly, I was feeling pretty proud... until I hit the most ridiculous roadblock. I forgot to add an underscore in a variable name. Yep, one tiny missing character that had me stuck in the same loop for hours. I was so close to losing my mind!

Update attachment