IMPORTANT: Please read our Guide To Quality Writing before you begin posting!

Dismiss Notice
Please note that we are only approving writers from the US, UK and Canada at this time.

Trying to write my own programing language. What do I need.

Discussion in 'Programming' started by KyleVardy, Jul 21, 2020.

  1. KyleVardy

    KyleVardy New Member

    Joined:
    Jul 21, 2020
    Posts:
    7
    Likes Received:
    0
    Gender:
    Male
    Location:
    Canada
    Hey all. Me and my friend are creating our own programing language in python. We just want to know some necessities that we need for our programing language to be useable. For example things like print and hashmaps or arreys. Thanks for the help.
     
  2. aubryWrites

    aubryWrites New Member

    Joined:
    Oct 14, 2020
    Posts:
    20
    Likes Received:
    0
    Gender:
    Male
    Location:
    Cameroun
    Hello!

    First of all, you do not create your own programming language in Python, Python is a programming language, and your create your application using Python programming language, its IDLE (that you can download at https://www.python.org/downloads/) to have all the basic libraries of the language, an IDE like PYCharm, that comes with features to help writes a clean code. You might need an editor to write some functions (modules) aside while you focus on the main function in the IDE (Sublime Text, VIM or Notepad++ are good editors).

    Now, if your application is intended for Mobile phones use, use Kivy as your framework; if it is for web use, Django or Flask are the frameworks you need; if it is for desktop use, create your application with your IDE and compiled it with Pyinstaller (it will generate a YourProgram.exe that you can install in Windows).

    For examples of Hash Map program in Python, go to Stackoverflow and make a search, it a 90% efficient website for any basic program sample you might look for, before creating your own very complicated program.

    Chill!
     
  3. KyleVardy

    KyleVardy New Member

    Joined:
    Jul 21, 2020
    Posts:
    7
    Likes Received:
    0
    Gender:
    Male
    Location:
    Canada
    Hey there i'm trying to write my own programing language for fun not because its better or easier, but thank you for the reply. I know python c++ c# and java already.
     
  4. aubryWrites

    aubryWrites New Member

    Joined:
    Oct 14, 2020
    Posts:
    20
    Likes Received:
    0
    Gender:
    Male
    Location:
    Cameroun
    That is nice!

    To create, your own language, choose your language Paradigm (compiled or interpreted), create your syntax (based on Assembler to be sure your are close enough to what the hardware easily understand), build your compiler/interpreter (eventually in C, C++ or Java), create a handful of useful libraries (depending on the domain you want it to be used for) and make sure some editors support your language by collaborating with them... Last, bring enough people to use your language and test its limits, so you can improve on it.
     

Share This Page