How can I create a simple programming language for a friend?

0
3
Asked By CoolBreeze99 On

I'm looking to build a very basic programming language for my friend to help them get started with coding since they struggle with traditional programming languages (and to be honest, I'm not a pro either). I thought a simple language could make things easier, especially because I want them to be able to write code without relying on AI tools like ChatGPT. I would love guidance on how to create some kind of translator that could convert inputs from my new language into Python or another more challenging language. Thanks for any help! (P.S. I know I made some spelling mistakes, so please cut me some slack; I'm in a hurry!)

3 Answers

Answered By LearningPathFinder On

Just stick with Python! Seriously, if your friend just wants to write some code that works, Python is user-friendly and versatile. Starting with it might save you both a lot of trouble in the long run.

SupportiveBuddy88 -

Absolutely! Python is a great choice. It can handle a lot of scenarios, so it's worth getting them to give it a shot.

Answered By TechNewbie On

If Python feels too complex for your friend, I’d suggest starting with Scratch first. It’s a lot more visual and can help with understanding basic programming concepts. Once they’re comfortable, transitioning to Python might be easier.

CodeCraftFan -

That's a fair point, but Scratch might frustrate him because it can feel limiting for more advanced projects. Any alternatives?

Answered By SkepticalCoder42 On

Honestly, I think the idea of creating a new programming language might not be the best route. Most people run into issues not because of the languages themselves but due to the problem-solving skills required in programming. It might be more effective to help your friend learn using existing resources rather than building something from scratch that's just going to add to the confusion.

CuriousMind88 -

I see what you mean! Learning existing languages can make a huge difference. How does creating a new language even help someone who’s feeling frustrated with programming?

RageQuitter23 -

True, but my friend has a tough time with the syntax and punctuation in most languages. He rages at them and would rather do something simple.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.