Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
http://lisperator.net/pltut/
This is javasceipt but the theory is the same. I once made a lamguage in C# -
maladiec295yHey, basically you do need to know by yourself what you want to write. An interpreter or a whole compiler.
A very fast quickstart:
https://programiz.com/article/...
If you do stand out only for interpreter there are a lot of guides out there.
If we would talk about compiler itself, then you definetly need assembly/machine code knowledge.
Also, dont forget:
http://matt.might.net/articles/...
:) It is not that hard to write a fully functioning interpreter. It is a very hard work to write a whole compiler. (Writting a simplistic OS kernel in this place is probably even easier than writing a whole compiler)
Just my 2cents. -
@maladiec Thank you friend, Your articles are great as well as other resources people have mentioned on my question.
By taking help from all of these resources I will try to create a programming language that compile to JavaScript.
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
(heading)How a programming language is created? Because I want to make my own.(heading)
I am learning C and next I will learn C++, SQL,DS&A, Assembley, Lex&Yacc,Operating Systems, Computer Arcticture, Computer Networks because I think it's enough for my goal. The only reason I am learning this, to make my own C++ clone with my own knowledge. But I really don't know how can I create my own programming language like C++ from scratch. Like what are the first steps to began with. As I know that C, first step is Preprocessor then Compiler then Assembler then (Loader/Linker).
Anyone please give me a step by step guide like learn this language first then this then this. So I can finally reach that amount of knowledge which I can implement to create my own programming language like C++.
question
how to
compiler
assembley
c
c++