I tried to create a programming language... in python
The author shares their experience of creating a programming language using Python. They chose Python for its simplicity and ease of use, despite having previously worked with C++. The article introduces 'pyp lang', a basic programming language designed to perform calculations from input files.
- ▪The author decided to explore Python after learning it in a university course.
- ▪Pyp lang is described as a fancy calculator that processes input from files.
- ▪The article details the setup of the programming environment and the code structure for pyp lang.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3948638) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Jamie Posted on May 24 I tried to create a programming language... in python #python #learning #beginners #programming I know you're wondering, why Python? Out of all other programming languages that exist? Just why? Well, I chose it because it was simple, easy to use, and kinda intuitive, seeing that it felt like natural language to me. I also just learned it in a course I was pursuing in university and decided to give it a shot.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).