Activity

tvixeries

After a few days I managed to finally finish the debugger for my language. I got honestly so burned out with writing in C that I wanted to have it done as fast as I could. The website is just there to show my paper about the language with the data gathered from the debugger. It is absolutely my final farewell to the coding in C language. I wanted this project to be big and glorious after being absolutely absorbed by this language for past few years of my life, after I was introduced by it in my elementary school. After 4 years being absolutely autistic over this language and reading everything I could, I am done. I have been reading about AI lately and math beneath it is absolutely beautiful, though I do not understand almost anything about it at all. With the end of this era in my life I would like to thank Why Programs Fail: A Guide to Systematic Debugging, The Art of Debugging with GDB, DDD, and Eclipse, Crafting Interpreters (once again), Guide to Advanced Empirical Software Engineering and mostly ChatGPT, which helped me storm through this project, helping me debug stuff, make the concepts easier to implement in my code and organize my work. It also greatly helped with analysing the outputs of my debugger, and I couldn’t do it without it. Goodbye C, Welcome Python… Long Live the King

Attachment
0
tvixeries

I tried to write some of that debugger and I can proudly say it works. Just a little incorrectly. I was surprised that a debugger is basically a mini interpreter so it shouldn’t take very long to make it

Attachment
0
tvixeries

I wanted to go to sleep early, but here we are… 6 AM…. Anyways, here is a website interpreter. GG

Attachment
0
tvixeries

Finally finished! It works, still have a lot features to implement, but for now it’s a basic scripting language, which I am very proud of. I am absolutely amazed that I managed to do this in such a short time. Thank God I am sick and could spend literally from 7 AM to 4 AM on this project. Now I want the code to be highlighted and just more optimized, but that’s for another time for sure.

Attachment
0
tvixeries

Tried fixing objects and implementing arrays, but broke the language completely. Here are some debug lines

Attachment
0
tvixeries

Alright, so we fixed some of the problems with object creation, as they all were stored as a null objects, now they just can’t figure out how to loop etc. I would like to try to make arrays possible in this unholy language. Oh and btw I don’t know how it works in Vim, but I literally was writing these fixes for 4 hours and it logged half of that time somehow, but it’s alright, I guess

Attachment
0
tvixeries

Alright chat, I am cooked. I did what a typical small C compiler would do, but as a interpreter with dynamic typing and all that. And it absolutely does not work. I’ll try though

Attachment
1

Comments

tvixeries
tvixeries 8 days ago

Also I changed to using notepad– instead of VIM, so I sacrificed some time for more clarity in my workflow (I can see more code or sum, idk, just felt more visible)