Skip to content

@anshswaroop

Ansh Swaroop

@anshswaroop

Computerphile and always curious about how things work

Computerphile and always curious about how things work

Skill iconJavaScript
Skill iconC++
Skill iconNodejs
Skill iconGit
Computer Architecture

Kanpur, India

Hello, I'm Ansh Swaroop

I'm an engineering student passionate about low-level programming, compiler design, and computer architecture. I love exploring how things work under the hood — from CPU design to high-level abstractions.


🧠 About Me

  • 🔭 Built Lancelot-M1, a 16-bit custom CPU designed from scratch.
  • 💡 Developed Suzaku, compiler for Lancelot-M1. Which converts my Mid to High level language Asplund into machine code of Lancelot-M1.
  • 🤝 Contributed to OpenCV, improving and fixing video processing functionality.
  • ⚙️ Skilled in C, C++, Java, Python, JavaScript, and computer organization concepts.
  • 🎯 Always curious about the science and logic behind everything.

💻 Featured Projects

⚔️ Lancelot-M1 (16-bit CPU)

A custom-designed CPU built entirely from logic-level principles.

  • Supports 16-bit instructions and stack-based function calls.
  • Designed to execute programs written in the Asplund high-level language.
  • Focused on simplicity, hardware-level understanding, and expandability.

🐉 Suzaku Compiler

A high-level language and compiler for Lancelot-M1, inspired by C but simpler.

  • Supports functions, recursion, arrays, and stack-based variables.
  • Includes a macro system and static global variable management.
  • Semi-interpreted design for flexibility and easier debugging.

🧩 OpenCV Contribution

Contributed to the OpenCV open-source library, focusing on:

  • Fixing minor bugs and improving core module stability.
  • Enhancing code readability and test reliability.

📫 Connect With Me


#include<curiosity.h>