UBC CPSC Course Reviews
In this post I will yap about the CS courses that I have taken so far and I will mention what I like and dislike about each of them! Year 1 CPSC 110 The course is supposed to be a first year’s introduction to programming at UBC. I find it somewhat interesting as the course is taught using a functional programming language. In my opinion, this course is just an algorithms course in disguise but with Racket. ...
A late 2025 Goals.
Since I need ways to keep myself busy here’s things that I think I want to do this year. Get a job Ditch nvchad, and make my own config. Travel without a plan. Make 3 new friends. Learn compilers. Get good at Go. Finish 2 big personal projects. Learn more about distributed systems.
Implementing a Syntax Highlighter with Tree-Sitter.
One of the most important part of a text editor is having a syntax highlighting system. As such, I began looking into different implementations of how one might achieve syntax highlighting. I narrowed down how I would achieve this with either one of: A Lexer (Using a pre-made library or build one myself). An Abstract Syntax Tree (Using Tree Sitter). In terms of a lexer, it would read the entire file, concattenated as a string and then it would start parsing from there. This means that when we make a change in our file, we would have to concattenate each row again and reparse the file, this method seems inefficient unless you are using a data structure that allows fast string concattenations such as a rope. ...
STEP - WRITER.
This Post was Last Updated on: June 8, 2024 STEP-Writer is just my own take on writing a text editor, my hope is that as I continue working on this project it will eventually reach the point where I myself would use this application as my go to editor. Additionally, I wish to have this text editor work as a multi-user editor, this means that changes in the application is synced across various users. ...
Creating Procedurally Generated Rooms!
In the process of making a party game, I notice that most scenes and minigames that I make typically requires the creation of a room. Sometimes, each scenes and minigames require different room sizes depending on their gameplay, therefore rather than creating a room prefab, how about I create a tool that automatically generates a room for me. It sounds pretty cool in my opinion, so let’s do it 😎. ...