How do you make a programming language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 34

How do you make a programming language?

I thought of this when I was thinking of really hard challenges to do.

8th Feb 2017, 11:43 PM
Daniel
Daniel - avatar
27 Answers
+ 13
by using a programming language to create it. preferably a low level one
9th Feb 2017, 1:28 AM
Ahri Fox
Ahri Fox - avatar
+ 8
Start learning the very basic languages, such as BASIC. Then you can make a derivative language from it. ¯\_(ツ)_/¯ Good luck.
10th Feb 2017, 6:26 AM
Kev
Kev - avatar
+ 7
Depends on what you want. If you want to create a interpreter there are many tutorials and it's fairly easy with many langauges. If you want compiler for your language then you need to know pretty low level languages such as assembly and it's a pain. Either one you choose it's a great learning experience.
9th Feb 2017, 5:00 PM
~Q~
~Q~ - avatar
+ 7
<EN-US> To make a programming language you need to take a base of some existing programming paradigm (but not necesary if you dont want), do a lexic, sintactic and semantic analisis. You can start by reading some book or tutorial about compilers and automata, it will help you a lot; actually there are too many information about to how to create a programming language, you just need to investigate every phase of analisis to build your own compiler/interpreter. <ES-MX> Para poder realizar un lenguaje de programación debes tomar como base algún paradigma ya existente (aunque no es necesario), realizar análisis léxico, análisis sintáctico y análisis semántico. Un buen inicio es leer sobre teoría de compiladores y autómatas ya que realmente te ayudará de mucho; actualmente hay mucha información sobre el tema, sólo es cosa de investigar cada una de las fases del análisis para tu compilador y/o interprete.
13th Feb 2017, 1:51 AM
Jaime Alexis García Hinojosa
Jaime Alexis García Hinojosa - avatar
+ 6
+Daniel "Are there any foreign programming languages?" If you mean non-english based languages, yes there are, like Lexico (Spanish), GOST (Russian), and Chinese BASIC (Chinese). Here is the full list: http://research.omicsgroup.org/index.php/Non-English-based_programming_languages
12th Feb 2017, 1:36 PM
Dalhats Laudzafata Avicena
Dalhats Laudzafata Avicena - avatar
+ 4
good question
11th Feb 2017, 4:51 PM
Daniel Fernandes
Daniel Fernandes - avatar
+ 3
make programmimg language is not to hard butdude to make a programming language you hava to study a lot and research .
12th Feb 2017, 12:50 PM
sameer sahu
sameer sahu - avatar
+ 2
agreed
10th Feb 2017, 11:13 AM
Husnain Masoud
Husnain Masoud - avatar
+ 2
this is gonna be fun
11th Feb 2017, 11:42 AM
Daniel
Daniel - avatar
+ 2
we create new languages by using theory of computational language logics after learning theory of computation we can make our own programming language with predefined syntax nd a compiler to check them and an executable file
13th Feb 2017, 5:52 AM
Abhishek yadav
Abhishek yadav - avatar
+ 2
just google "esoteric language programing" :-O
13th Feb 2017, 6:05 AM
Alfredo Ponce Zarate
Alfredo Ponce Zarate - avatar
+ 2
Definitely it's a difficult challenge you thought of, but for creating a programming language you need to know basic laws of theory of computations to create logical structure of your language. further by using these theories you need to construct your own compiler
14th Feb 2017, 12:57 PM
Anurag Singhal
Anurag Singhal - avatar
+ 1
All u have to do is to first create a documentation for your language then create it's compiler by using C or C++ that's it.
12th Feb 2017, 7:59 AM
Retik Singh
+ 1
Friend they call that anxiety, when you want to eat a mango at the apex of the tree before you leaner to climb, yaah I believe u can cheat by throwing stones at it but not every stone will be a catch. I felt the same when it was my first touch on C!!!!
13th Feb 2017, 4:37 PM
Kahuma Solomon
Kahuma Solomon - avatar
+ 1
try making a language based on python
14th Feb 2017, 1:13 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
0
first you learn this languages.then select the sector you want to craete is web development of app development
11th Feb 2017, 2:18 PM
abhishek
abhishek - avatar
0
are there any foreign programming languages? I was just wondering.
11th Feb 2017, 4:54 PM
Daniel
Daniel - avatar
0
What languages can be used for socket programming apart from c,Java?
11th Feb 2017, 5:51 PM
Reka Jeyachandran
Reka Jeyachandran - avatar
0
java , html, css, php
14th Feb 2017, 10:29 AM
Akhilesh kumar Chakrawal
0
for fun and because i will stude this
14th Feb 2017, 12:48 PM
mrRobot_
mrRobot_ - avatar