Skip to content

How do you make your own computer language?

I am a kid (less than 11 years) and I already know HTML, XHTML, XML, Javascript, Dbase III +,English, and French (A little)
I don’t want to make a scripting language, but a language like dBase 3+, or a language that uses a database .
How do I start?

37 Comments

  1. Rav wrote:

    I dare to disagree with the OP[1].

    1. Actually the prevailing majority of the most significant languages was designed by a single person (Python, Perl, C++, TCL, Rebol) or small teams (C, Java, AWK).

    2. The most popular implementation language is C, not the assembly language. Only the low level and computation intensive parts are likely to be re-written(sic!) in asm.

    The main reasons are:
    a. there is already well tested C compiler for (almost?) every operating system.
    b. the C compilers nowadays generate highly optimized and reliable executables.
    c. Assembly programming is wearisome and error-prone
    d. there are many tools designed for programming language implementation in C (like lexical analyzer generators etc.)

    3. Many compilers were built as "front-ends" on top of the system C compiler (gcc). Their sole function is conversion of the code written in your language of choice (FORTRAN, Objective-C etc.) to C and then compiling of the generated source(s) with C compiler.

    You may start with simple "#defines".

    For example:

    #include "stdio.h"
    #define countdown while(–
    #define begin ){
    #define end }

    int main(){
    int r;
    r = 10;
    countdown r
    begin
    printf("%d\n",r);
    end
    }

    will be translated to (simplified a bit):

    #include "stdio.h"
    int main(){
    int r;
    r = 10;
    while(–r){
    printf("%d\n",r);
    }
    }

    So — if you compile the source with gcc — it will be compiled to an executable file. When executed it will print out integers from 9 to 1

    For more complicated tasks you’ll have to use parser and lexical analyzer generators.

    Reading the codes of others will help greatly.

    [1] One point I must agree — design and implementation of a new language isn’t trivial. But it’s still "doable".

    Thursday, April 8, 2010 at 5:24 am | Permalink
  2. JohnW wrote:

    Most true programming languages are very very low level and written in Assembly. If you are truly thinking of writing your own programming language you’ll want to learn Assembly.

    This is pretty complex though, it would be fun for playing around with, but probably not great for actually programming in. Even opensource languages are written by thousands of developers together over years of time.

    Since you’ve already looked at those languages you’ve listed. Consider learning C#. Check out http://www.microsoft.com/express/vcsharp/ for a free download of the C# development environment and tons of tutorials and starter kits.

    Thursday, April 8, 2010 at 5:24 am | Permalink
  3. Hi, this is quite a nice blog on weight loss. I look forward to more of such posts in the near future.

    Tuesday, November 8, 2011 at 10:22 am | Permalink
  4. We are using Umbraco as our CMS offering. Mainly because it fits the type of client we are aiming at a certain price point. Also because it is the best .NET open source CMS that we found.

    They are smaller and don’t require so many features or fine grain control on security etc.

    But of course there are other clients who are prepared to pay for off the shelf features and the license fee that comes with Sitecore or Episerver.

    Right now Umbraco is helping us on our way. But as soon as that client comes along who needs that bit more and is prepared to pay the license fee for it, then that’s fine with us.

    Tuesday, November 8, 2011 at 11:28 pm | Permalink
  5. How to do a resume for a job is on the minds of many people. Resume creation is something that is very important and intimidating to many people.
    Learning how to do a resume is something that anyone can do. But few people really understand how to do a resume and cover letter that works for them in their job hunt.

    Saturday, November 12, 2011 at 4:25 pm | Permalink
  6. dell laptop wrote:

    Hello There. I found your blog the usage of msn. That is an extremely well written article. I will be sure to bookmark it and come back to learn more of your helpful info. Thank you for the post. I will definitely comeback.

    Friday, November 18, 2011 at 4:35 pm | Permalink
  7. dell laptop wrote:

    I was recommended this blog by way of my cousin. I am no longer certain whether this submit is written by way of him as no one else recognize such distinct approximately my difficulty. You’re wonderful! Thanks!

    Saturday, November 19, 2011 at 9:20 am | Permalink
  8. I have been checking out a few of your stories and i must say pretty clever stuff. I will definitely bookmark your blog.

    Saturday, November 19, 2011 at 4:34 pm | Permalink
  9. I conceive this site has got extremely fantastic composed content articles.

    Wednesday, November 23, 2011 at 9:31 pm | Permalink
  10. Fantastic beat ! I would like to apprentice at the same time as you amend your site, how can i subscribe for a weblog website? The account aided me a acceptable deal. I have been a little bit familiar of this your broadcast provided shiny clear concept

    Wednesday, November 23, 2011 at 10:38 pm | Permalink
  11. Incredibly nice layout and wonderful topic material , practically nothing else we want

    Friday, November 25, 2011 at 5:54 am | Permalink
  12. Surprisingly educative appreciate it, I do feel your current followers could possibly perhaps want even more reviews like this preserve the wonderful work.

    Friday, November 25, 2011 at 9:54 pm | Permalink
  13. Excellent beat ! I wish to apprentice even as you amend your site, how can i subscribe for a blog website? The account aided me a applicable deal. I have been tiny bit acquainted of this your broadcast offered vivid clear concept

    Saturday, November 26, 2011 at 2:00 pm | Permalink
  14. I used to be recommended this web site by way of my cousin. I’m no longer positive whether this submit is written by him as nobody else realize such specific about my problem. You’re amazing! Thank you!

    Sunday, November 27, 2011 at 12:00 pm | Permalink
  15. Hi there, You have performed an excellent job. I¡¦ll definitely digg it and in my view suggest to my friends. I’m sure they will be benefited from this web site.

    Sunday, November 27, 2011 at 3:51 pm | Permalink
  16. You could definitely see your expertise in the paintings you write. The sector hopes for even more passionate writers such as you who aren’t afraid to mention how they believe. At all times go after your heart.

    Sunday, November 27, 2011 at 9:19 pm | Permalink
  17. It’s really a great and helpful piece of info. I’m glad that you shared this useful information with us. Please keep us up to date like this. Thanks for sharing.

    Tuesday, November 29, 2011 at 12:57 am | Permalink
  18. I haven’t checked in here for some time since I thought it was getting boring, but the last handful of posts are genuinely awesome quality so I guess I’ll add you back to my daily bloglist. You deserve it my friend.

    Tuesday, November 29, 2011 at 6:14 am | Permalink
  19. Thanks for this post. I don’t know a large number of links to forums but my friends seem to be able to spend a lot of time on them that’s for sure.

    Tuesday, November 29, 2011 at 9:19 pm | Permalink
  20. I am quite interesting in this topic hope you will elaborate more on it in future posts.

    Wednesday, November 30, 2011 at 6:09 am | Permalink
  21. I must say that overall I am very taken with this site. It is apparent that you know you subject matter and you are passionate about it. I wish I had got your ability to write. I have bookmarked your site and look forward to more updates.|

    Wednesday, November 30, 2011 at 11:14 am | Permalink
  22. I cant believe the amount of wonderful information you have on your blog. I’ve learned a great deal from it. Will be coming back soon.

    Wednesday, November 30, 2011 at 9:30 pm | Permalink
  23. healthguide wrote:

    Hey! I simply would like to give an enormous thumbs up for the good information you’ve got right here on this post. I can be coming back to your blog for extra soon.

    Saturday, December 3, 2011 at 11:08 am | Permalink
  24. Hiya! I simply want to give a huge thumbs up for the good information you’ve got here on this post. I can be coming back to your blog for more soon.

    Saturday, December 3, 2011 at 5:21 pm | Permalink
  25. Howdy! I just would like to give an enormous thumbs up for the good data you might have here on this post. I might be coming back to your blog for extra soon.

    Sunday, December 4, 2011 at 7:52 am | Permalink
  26. mobile wrote:

    Hiya! I just want to give an enormous thumbs up for the good data you’ve here on this post. I might be coming again to your blog for extra soon.

    Monday, December 5, 2011 at 5:53 am | Permalink
  27. Howdy! I simply wish to give a huge thumbs up for the nice info you’ve gotten right here on this post. I might be coming back to your weblog for extra soon.

    Monday, December 5, 2011 at 7:14 am | Permalink
  28. Howdy! I just wish to give a huge thumbs up for the nice information you’ve got right here on this post. I shall be coming back to your weblog for extra soon.

    Monday, December 5, 2011 at 1:04 pm | Permalink
  29. Hey! I simply want to give a huge thumbs up for the nice data you may have here on this post. I will be coming again to your weblog for more soon.

    Monday, December 5, 2011 at 2:21 pm | Permalink
  30. Howdy! I simply want to give an enormous thumbs up for the nice info you’ve here on this post. I shall be coming back to your blog for extra soon.

    Tuesday, December 6, 2011 at 3:55 am | Permalink
  31. Hi there! I just would like to give an enormous thumbs up for the great data you might have right here on this post. I will probably be coming again to your weblog for more soon.

    Tuesday, December 6, 2011 at 6:28 am | Permalink
  32. geek help wrote:

    Hey! I simply want to give a huge thumbs up for the good data you’ve gotten here on this post. I will probably be coming back to your weblog for extra soon.

    Tuesday, December 6, 2011 at 7:51 am | Permalink
  33. Good day! I simply want to give an enormous thumbs up for the nice data you’ve gotten right here on this post. I will probably be coming back to your blog for extra soon.

    Tuesday, December 6, 2011 at 3:53 pm | Permalink
  34. Good day! I simply would like to give an enormous thumbs up for the good data you’ve got here on this post. I will probably be coming again to your blog for more soon.

    Wednesday, December 7, 2011 at 7:41 am | Permalink
  35. metaphysics wrote:

    I used to be suggested this web site by way of my cousin. I am no longer sure whether this publish is written by way of him as no one else realize such detailed about my problem. You’re incredible! Thank you!

    Wednesday, December 7, 2011 at 8:41 pm | Permalink
  36. Good day! I just would like to give an enormous thumbs up for the nice info you will have right here on this post. I shall be coming back to your blog for extra soon.

    Monday, December 12, 2011 at 7:33 am | Permalink
  37. Hi there! I simply would like to give an enormous thumbs up for the good data you could have right here on this post. I can be coming again to your weblog for more soon.

    Wednesday, December 14, 2011 at 3:43 pm | Permalink

Post a Comment

Your email is never published nor shared.