clovis 0 Report post Posted June 11, 2005 hey is there a way to create a new language, like are there any programs or anything? Share this post Link to post Share on other sites
bob3695 0 Report post Posted June 11, 2005 Well, there are no programs that i know of. One thing you could do is learn C++ or any other low-mid level language and write a program to reconize commands and do certain things. If you want to make a language that you compile the programs with you will need to go learn ASM and do a lot of coding. It is possible to make a language but it is very difficult and it will take a long time unless you have a team of like 10+ people working on it. Share this post Link to post Share on other sites
yungblood 0 Report post Posted June 11, 2005 do you want to create a simple scripting language, or do you want to make something more complex? either is possible, but if you want to be able to compile programs made with your language, it will be extremely difficult. If you want to be able to do scripting, it might be easier to tie a scripting language out there to whatever you are making. I have worked with a scripting language named "TCL" tied to several different programs.YB Share this post Link to post Share on other sites
vizskywalker 0 Report post Posted June 12, 2005 all a programming language is is a set of instructions and a compiler or interpreter that turns those instructions into machine code in some form or another. any language can be used to write any other language.~Viz Share this post Link to post Share on other sites
FearfullyMade 0 Report post Posted June 13, 2005 I'm not an expert on this, but here is my understanding of what you would need to create a language.Like vizskywalker said, all you need to create your own language is make up the rules and syntax and then write a compiler that will take the code and turn it into something that can be run by the computer. For example, a C++ compiler takes your code and breaks it into assembly, and eventually bytecode. Your compiler would have to something similar. I guess you could have your compiler translate your code to C++ and then use a C++ compiler to do the rest. That might work and it could be a little easier since you wouldn't have to work with assembly (I think). As far as the rules and syntax goes, you can do whatever you want, just remember the more complicated you make it, the harder it will be to write your compiler.I always thought it would be cool to create my own language, but I don't know if I'll ever get around to it. Good luck, and I hope you succeed. Share this post Link to post Share on other sites
iGuest 3 Report post Posted June 14, 2005 I have thought of this before, but with the introduction of the XML series, it hardly seems the point. Being able to put in your own format of coding then backing it up with information behind it is as good as it will get.Or you could always take a pre-existing language and modify it to your needs, remember that you need to have the appropriate files to containt information (e.g. .dll and .sys). Share this post Link to post Share on other sites
vizskywalker 0 Report post Posted June 15, 2005 If anyone wants to learn more about creating a new language, I'm in the process of creating a new language from scratch, using assembly. I should have some assembly tutorials forthcoming, so lack of assembly knowledge is not a problem. I can always use more hands, if you are interested see antilost.org, as I will soon have the language project hosted there.~Viz Share this post Link to post Share on other sites
Esmaeel Ibraheem 0 Report post Posted March 27, 2006 guess you could have your compiler translate your code to C++ and then use a C++ compiler to do the rest. That might work and it could be a little easier the same idea I have.. I want to make a parser to check the syntax and after that translate "my" language to C++ and the C++ compiler will do the rest...but my problem is : I want my language to be in Arabic, (Right to left lang).does any one have Ideas that can deliver me to the "barrier tat I will face!"!Sorry for my Bad English!! Share this post Link to post Share on other sites
evought 0 Report post Posted March 27, 2006 Well, there are no programs that i know of. One thing you could do is learn C++ or any other low-mid level language and write a program to reconize commands and do certain things. If you want to make a language that you compile the programs with you will need to go learn ASM and do a lot of coding. It is possible to make a language but it is very difficult and it will take a long time unless you have a team of like 10+ people working on it.  If you are really interested in this sort of thing, you need to read the "Dragon Book". It is a computer science classic and is still the best source. Be aware that creating a language is not hard (relatively), but making a good and useful one is. The biggest problem is coming up with a grammar and syntax which is simple enough to be easy to learn and complex enough to do what it has to do. You also need to balance ease of use, elegance, consistency, and orthogonality. In general, getting it right takes about ten years of careful testing and feedback. This is one of the reasons that Java has had a lot of growing pains: it was not fully cooked when released. In the early days of a language you want a relatively small group of dedicated users who are willing to deal with you breaking their code on a regular basis to fix language problems. When a language is released to the public early, the temptation is to leave the mistakes in rather than break a lot of other people's code. Share this post Link to post Share on other sites
Fixxxer 0 Report post Posted August 19, 2006 So much I know, the best way to make good language is to learn yacc, bison (which you have on some pragramming oriented linux distros like slackware), and to read Chomsky's articles on language, semantic, syntax and description of language. That is just small step in understendig language making.But what kind of language you want to make, what's ideal you searching for and what will your language have that other languages don't? Share this post Link to post Share on other sites
SKYISHIGH(ro) 0 Report post Posted October 24, 2006 hy all,first of all please excuse my bad english, i will try to write as correct as i can. here is the problem, i must make an parser, and maybe a small compiler for school an until now i searched a lot after a tutorial or a website where to find some documentation. as fixxxer wrote it is more easy to learn yacc and to make this "new" language. but if i must create the language in Borland Delphi 5, which is your advise? and probably i didn't understood, but fixxer can you be more exactly on who is Chomsky's?(and to read Chomsky's articles on language, semantic, syntax and description of language)thanks and best regards, Share this post Link to post Share on other sites
ignite 0 Report post Posted November 17, 2006 hy all,first of all please excuse my bad english, i will try to write as correct as i can. here is the problem, i must make an parser, and maybe a small compiler for school an until now i searched a lot after a tutorial or a website where to find some documentation. as fixxxer wrote it is more easy to learn yacc and to make this "new" language. but if i must create the language in Borland Delphi 5, which is your advise? and probably i didn't understood, but fixxer can you be more exactly on who is Chomsky's?(and to read Chomsky's articles on language, semantic, syntax and description of language)thanks and best regards,There is pascal version of lexx/yacc. I personally did exactly same thing: wrote simple pascal-like interpreter in Delphi 5. Not too hard, really. Share this post Link to post Share on other sites
Levis 0 Report post Posted November 23, 2006 If anyone wants to learn more about creating a new language, I'm in the process of creating a new language from scratch, using assembly. I should have some assembly tutorials forthcoming, so lack of assembly knowledge is not a problem. I can always use more hands, if you are interested see antilost.org, as I will soon have the language project hosted there.~Viz Well im pretty young, i think i can dedicated my life for the next ten years to create a new language. Hey i might be written in books if its good enough lol. Give me a PM and ill help you out on starting the stream lining process. Share this post Link to post Share on other sites
sujith 0 Report post Posted November 23, 2006 From what you are saying can I make a BASIC language syntax to do stuff in C++ (generate C++ source code) compiler@vizskywalkerYour site is returning an ERROR while visiting.Please fix that Share this post Link to post Share on other sites
vizskywalker 0 Report post Posted November 26, 2006 @vizskywalkerYour site is returning an ERROR while visiting.Please fix thatSo, antilost.org was a new open source web site that some of the Xisto members were putting together. I didn't have control of the site, so I don't know why it is down. As such, within a couple of weeks, I will be posting assembly tutorials here at Xisto.~Viz Share this post Link to post Share on other sites