Please sign in to access this page
What if France was the country who invented coding? How would this change coding languages today?
Embark on a journey of linguistic challenges to become French (trust) by using this totally certified coding language that includes (mostly?) everything you need!
Pookstir
Check their projects out: Mycor, Wolf Interpreter, Surface Circuits
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Changed up looks for the website, so now it looks more like a finished product (I wish this took a lot less time than it did, but I'm pretty new to bootstrap and havent done web development for a long time
time: ~2h
i've decided that my current wants for this project exceeds my current skill level, and i've been going about it the wrong way since the beginning (especially with the differences between how my code compiles and how a more professional language would compile its code)
Instead, I am tweaking my goal to only include variable references, some built in functions, and printing
Adding numbers wouldn't work with a + sign, but instead through an inbuilt function for ease of implementation
Also the code will be a bit messy due to how i've coded the program, and I don't see another way to make it better other than to restart (which is something i really don't want to do, especially as my motivation falls from struggling so much)
added functions for int() and str()!
added addition and the ability to chain functions!
added subtraction, just note that negatives must be defined as sub(0,n) instead of -n due to normal operators (5+5) being not implemented
added division and multiplication, which supports string multiplication
fixed \n so it'd actually work while printing
error handling!
Took a long while to determine the correct way to handle variables, but now finally have the framework and now I can support variable referencing and \ within strings!
What I struggled with for this part was overthinking about how I would implement inbuilt functions, such as String(), which led to a lot of time spent wasted. Additionally, the order of the if statements was pretty important in regards to function
I'm excited to later be able to add support to basic functions, and then be able to use different operations, such as a*50
The bug was indeed not fixed, and doing a string with operators next to eachother would raise an error
Decided to scrap all my current code after trying to fix it and start out with variables and a new token system
added variables!!
update styling a bit
researched and found out about a way to make the code truly run async
added print function and operations with strings, and +,-,*,/
image
The most difficult part for sure was getting the order I should check for each operation to ensure that arithmetic errors don't happen
TIME: ~3h 30m
Added javascript code that runs after hitting the button with a good basis for expansion later on
found out that a for loop thats really long could cause the page to freeze, so I'll be trying to fix that next session.
TIME: 45m
Just started making everything look 100x better, which took a LOT of time looking at documentation to figure out how to get a certain look, especially with how long its been since I've done web development
Ended up adding a header navbar and started adding boxes to input code and for the output, however, I will be focusing on the functionality next rather than looks
Realized I don't even need to use flask (and could instead just use JS), but this will be restructured during the next session!
TIME: ~1h45m
Started by brainstorming ideas
Then, I started with doing quite a bit of research on how I would be able to bring my idea to a website, especially since downloading code and running it yourself is pretty annoying, so including a way to run custom code online would drastically improve QoL
I eventually settled on using Flask and React, and through the documentation, I was able to successfully install these two frameworks and get the website working
In order to use API with the backend, I created a page at the address /api/test, which when went to returned:
image
image
Initally when trying to then push this code onto Github, I ran into an issue
After restructuring the repo to have a frontend and backend folder, the node_modules folder was no longer correctly referenced in .gitignore, causing there to be a problem with file sizes being too big
Since I didn't know much about react, I didn't originally know that node_modules was supposed to be in .gitignore, but after asking, I determined that it would be the best possible thing I could try (and it worked)
time: ~2h