interpreter

This is a discussion on interpreter within the C Programming forums, part of the General Programming Boards category; Hi, we are taking a course about writing a C-like language interpreter, so does any one know a link or ...

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    18

    interpreter

    Hi,

    we are taking a course about writing a C-like language interpreter,
    so does any one know a link or some documents about that.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,744
    Your lecture notes and/or textbook?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    18
    No ,we have to search the web and about the subject and then write the interpreter,I tried to search the internet but I didn't get much,
    so would you help me.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,744
    Search the web for "compiler construction".
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,614
    I made an example of how an interpreter (or parser) works some time ago:
    #define question
    You could read the thread it's related to if you need further understanding on how it works.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Interpreter Features Question
    By audinue in forum C Programming
    Replies: 0
    Last Post: 10-19-2008, 07:29 AM
  2. Unix Command Interpreter Help
    By ashford74 in forum C Programming
    Replies: 14
    Last Post: 09-26-2008, 03:28 AM
  3. Replies: 0
    Last Post: 04-06-2007, 04:55 PM
  4. Interpreter?
    By swgh in forum C++ Programming
    Replies: 6
    Last Post: 06-10-2005, 12:15 PM
  5. Most pointless idea ever: Interpreter
    By Trauts in forum C++ Programming
    Replies: 5
    Last Post: 02-09-2003, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21