Can you create your own language | SoloLearn: Learn to code for FREE!

+17

Can you create your own language

9/4/2020 11:24:43 PM

Tindan Sandow

49 Answers

New Answer

+42

iOS is not a language it is an operating system. Microsoft is not a language it is a corporation. Android is not a language it is a platform. Yes it is possible to create your own compiled or interpreted computer language. This requires knowledge of lexical analysis, parsers, grammars and syntax. These are advanced subjects that require very high standards of code quality and software engineering.

+37

Martin Taylor so here i am , interested in knowing how to create a language, looks up lexical analysis, finds term Deterministic finite automata, wth is this, clicks link, sees bunch of crazy math symbols ive only seen a couple of with a bunch of words ive never heard, closes webpage, realizes how little i still know, back to regular programming lol

+15

This is hopeless. Good luck with your operating language.

+14

An operating system is not a language. The operating system may have a command line shell that executes a Read Evaluate Print Loop (REPL) but that is not the same as a programming language. A shell that has scripting capabilities will implement many of the features of an interpreter. Not all operating systems contain a shell. Yes an operating system is software, but so is Microsoft Paint. Neither of them is a programming language.

+11

It seems you are misunderstanding the difference between the two. Do you want to know how to make a language or an operating system?

+10

No it's not.

+10

Tindan Sandow. Actually an operating system is made from programming languages which are abstract representations of machine language, which is an abstract representation of binary, which in itself is an abstraction of the presence or lack of electricity on billions of transistors that we refer to as bits connected in specific circuits determined by engineers that make the hardware, and while an OS and a programming language are governed by an overarching set of rules that is where the similarity stops, what you are saying is basically a dog and a crocodile are the same because they have four legs.

+9

Why would you want to create your own laguage ? There are so many existing technologies already. What is missing ?

+8

@Robert Atkins There's only one thing more difficult to write than a compiler and that's an operating system, or so they say. I've written small embedded operating systems but I wouldn't even attempt writing a compiler. Bugs are not acceptable in either.

+6

Tindan Sandow you asked about creating a language.

+6

You can. But i wouldn’t dare. I would rather try to understand and find a way why i need one and resolve rather than reinventing. IMO more language creates conflicts even when they have same purpose. I think it should evolve not reinvent. Just a thought

+5

Dadson Wamuiga Matu please stop spamming your link.

+4

Creating a programming language is a bit harder even using high level languages like python. And usually most of high level programming languages are built using C or Assembly (and may be in machine language?). In assembly it is extremely hard. But I'm not discouraging you. Create it using high level languages then translate it to low levels.

+4

Tindan Sandow It is possible but it will be a low level programming language. You can invent an interpreter as in it can make people understand a programming language. Or Google it

+3

Robert Atkins if you're interested about creating a programming language, you can go on github. Look for 'build your own x', scroll down to the section 'programming languages', and you'll see some tutorials and interesting links.

+2

Tindan Sandow there is a suggestion ,use description to define your question is detail not comments✌️

+2

And an operating system is a language

+2

The operating system has an order or sequence that every code follows For example a Logical AND operator (&&) it's written like (a && b) not )&&ab( and for English we can have a sentence like "I am going to School" not "To going I am School" so in hindsight they are the same

+2

Dadson Wamuiga Matu please use the q&a as it is intended which is for questions concerning codes related issues, not advertising. Not only are you offtopic but being disrespectful to the poster and those whom are trying to help them. Please remove all your YouTube posted comments. Thanks and happy coding. https://www.sololearn.com/discuss/1316935/?ref=app https://code.sololearn.com/Wv5gTHy1N6Ji/?ref=app

+2

we had a project using C; its about an OS. Actually one can write his OS but there are a lot of things to b3ar in mind. Look, hardware, software(system and third party) all these are nasty phases you should think. And "Language " is also the same think in programming era. You should understand the deep walls and caves of programming, mathematics and physics. NB: I can assure you that one can definitely make his OS (sth in sandbox😂) or language.