- 1

How do I create My own Programming Language?

I want to create A speed programming language like Swift How do i Create it ?

23rd Mar 2021, 5:54 AM
Chris mathew joy
Chris mathew joy - avatar
7 odpowiedzi
+ 4
There are many resources here in your preferred language that teach everything from scratch. Keep in mind that what is taught there *won't help you create a language like Swift*, it will only teach you the basics of lexers and parsers. https://github.com/danistefanovic/build-your-own-x#build-your-own-programming-language
23rd Mar 2021, 7:12 AM
XXX
XXX - avatar
+ 2
Hope this helps you
23rd Mar 2021, 6:05 AM
Atul [Inactive]
0
Google it ..
23rd Mar 2021, 5:58 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
Thank for answers which softwares i can use to create programming language
24th Mar 2021, 12:48 PM
Chris mathew joy
Chris mathew joy - avatar
0
Chris mathew joy progamming languages are created using other programming languages. There is no other software that can create a language for you. However, there are softwares/frameworks that can make the job easier by doing some work for you. For example, GNU Bison is a parser generator. You specify the grammar of your language, and GNU Bison creates a program (in C, C++ or Java) that parses the code into a syntax tree. See: https://en.m.wikipedia.org/wiki/GNU_Bison Some framworks like the LLVM code generation framework do the job of generating machine code for you. See: https://llvm.org/docs/CodeGenerator.html
24th Mar 2021, 1:16 PM
XXX
XXX - avatar
0
wait, you can do that? Well, what are you gonna name it? How much code have you learnt? If possible, it will take a while to even be able to start it up
24th Mar 2021, 7:31 PM
Clay
Clay - avatar