Programming Language

This is a discussion on Programming Language within the C Programming forums, part of the General Programming Boards category; i want to make programming language someone know from where i can get tutorials on this subject ?...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    30

    Programming Language

    i want to make programming language someone know from where i can get tutorials on this subject ?

  2. #2
    No
    Guest
    The Dragon book"Compilers: Principles, Techniques and Tools", I here is good.
    You will probably have to get this one from Amazon. Making your
    own complete programming language is very hard, a less ambitious goal
    would be like making a BASIC interpreter.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    30
    and how can i make a basic interpreter

  4. #4
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    interpreters are simple. you read in the file (which is plain text) and have some statements like

    if(strcmp(buffer, "print")==0)
    printf("whatever");

    ....you get the idea.

  5. #5
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    There's a series of tutorials for implementing a sripting language near the bottom of this page.

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    30
    there is another method?

  7. #7
    aurė entuluva! mithrandir's Avatar
    Join Date
    Aug 2001
    Posts
    1,209
    http://www.hof.net/~gbasic/

    GBASIC is a BASIC interpreter written in C. You d/l the source code at this site. It's not much, but it may give you and idea of how to get started.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 01:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 05:48 AM

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