Thread: i want to make a compiler!!!

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    12

    Question i want to make a compiler!!!

    Hi, i am new bie here, i want to know that how a compiler is created and what lies the difference between a 4th and a 5th generation language, i heard that sanskrit is the best language in which a compiler can be written and the world's most forthcoming next generation languages will be more simpler, less code requiring than the ones which need today and will their compiler be written in sanskrit.

    plz help me in finding an answer to my question!!!

    nishant.

  2. #2
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    1. Have you any previous programming experience?
    2. If you have then is it sufficient enough to write a compiler?
    3. Why?

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    As this is not C++ specific, I have moved it to the Tech board.

    i want to know that how a compiler is created
    Search the Web on phrases like "compiler construction" and "compiler design".

    what lies the difference between a 4th and a 5th generation language
    Search the Web for those terms.

    i heard that sanskrit is the best language in which a compiler can be written
    Sanskrit is not a programming language, though I have read an article that it does have some relationship to object oriented programming. I wonder how I found that article
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by nishu1988 View Post
    i heard that sanskrit is the best language in which a compiler can be written and the world's most forthcoming next generation languages will be more simpler, less code requiring than the ones which need today and will their compiler be written in sanskrit.
    Yeah and pigs will fly, all taxes will be eliminated, and there will be world peace.

    A good start would be to get a computer science degree. Take a compiler construction course if one is offered.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    36
    I created a crude scripting compiler/interpreter after just 6 months of programming.
    FrancoisSoft
    FrancoisSoft on the Web
    If you stare at a computer for 5 minutes you might be a nerdneck.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trying to make a KenGen ( for a game tool )
    By lonewolfy in forum C# Programming
    Replies: 4
    Last Post: 03-28-2007, 08:23 AM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  3. OpenScript2.0 Compiler
    By jverkoey in forum C++ Programming
    Replies: 3
    Last Post: 10-30-2003, 01:52 PM
  4. Compiler Design... Anyone That Can Help!
    By ComputerNerd888 in forum C++ Programming
    Replies: 3
    Last Post: 09-27-2003, 09:48 AM
  5. how to make files
    By quiksilver9531 in forum C++ Programming
    Replies: 6
    Last Post: 02-22-2002, 06:44 PM