Inspiration

Acording to the National Education Policy 2020, coding will be taught to students from 6th grade itself. Imagine a 12 years old trying to learn C++. Will they understand iostream or void main? No. The current solutions in the market like Whitehat Jr or Scratch leave much to be desired. Hence, we decided to tackle this problem. We thought, how can we teach coding to children in such a way that it is not overwhelming but interesting? The best way to learn something new, is to associate it with something something you already love. So we created a programming language for what kids and adults love alike! Harry Potter. So we created a Brand New Programming Language for new programmers!

What it does

PotterCode is a programming language with syntax inspired by Harry Potter Universe. The aim is to cultivate an interest in coding and learning programming concepts through applied coding. We have added many many nuances and even taken care of those unfamiliar with Harry Potter, like python like syntax and close resemblance to English language. So the language is easy to understand.

How I built it

We made a PotterCode transpiler, that takes the program as input and converts it to a javascript file. The parser is made using Peg.js and the transpiler is written in javascript. Nodejs takes care of the backend and HTML, CSS, Embedded JS and Bootstrap are used for frontend.

Challenges I ran into

Designing the syntax for a brand new programming language was a colossal task. It took a lot of our time and also the transpiler and the parser did not match each other, creating a huge problem. We also had a few hiccups with custom fonts. In the we didn't give up and come over the problems.

Accomplishments that I'm proud of

The amount of work we did in this small amount of time is our greatest accomplishment. We are really proud of how unique and useful our Idea is.

What I learned

Making a new language is no joke! A lot of theory of computation goes into it. Coming up with a comfortable and welcoming UI taught us about quality of life for the user. Now our concepts are stronger than ever and we have a great project!

What's next for PotterCode

We have built a proof of concept and we'd like to scale it to diffrent themes like Avengers, Shinchan and GOT, to reach an even wider audience.

We would like to add advanced data structures and advanced maths to make it an even more functional.

We would like to add drag and Drop options for a younger audience.

PS: I really implore the judges to read the documentation.md file or visit the documentation page of our website on local host. To truly understand the beauty of this product, reading documentation is a must.

PPS: If selected for the next round, we will be able to deploy the project in no time!

Thank you very much!

Built With

Share this project:

Updates