- 4
Developing a new language
What does it takes for some one to develop it own programing language
6 ответов
+ 8
you can write your own programming language using another language like C ++, node.js. To write your own language, you need perfect knowledge of another language. I've seen one-hour tutorials on creating my own programming language using node.js on Russian YouTube
+ 2
few days ago, I saw someone asking the same question and now it's not even a few weeks to get another question like that.
+ 2
You would require following 2 things :-
1) your new language's design including it's syntax, grammer, tokens etc
2) A compiler to implement those rules and translate your language to the machine lang. ( This in itself is a massive accomplishment )
Rest is creation and maintenance of language standard libraries and different tools like text editors to support it, which would only matter if you are creating it for commercial purposes which most probably you are not.
+ 1
To create a language that you would expect to be used by developers, you'll need a lot of experience and a team, and it might take years to become stable and known.
If you wamt to create one for learning and/or a personal project, I suggest you check out the resources in the "Build your own programming language" section in the build-your-own-x github repository.
https://build-your-own-x.vercel.app/#build-your-own-programming-language
Github repo:
https://github.com/danistefanovic/build-your-own-x#build-your-own-programming-language
Simon Sauter
"And it definitely takes an attitude people who ask questions like yours here usually don't have"
why? I don't see how the OP asked a bad question, especially one from where you can judge their 'attitude'.
- 1
It takes a lot of skill and work. And it definitely takes an attitude people who ask questions like yours here usually don't have.
- 1
@Jan Markus,
Please, I would suggest not jumping to a conclusion (and frankly being a little vulgar), before knowing reasons. I am sure it is one of the extremely many possibilities for a justified reason to do so.
Could you please refrain from such comments in the future, and help make Sololearn a fun and non judgmental environment.