Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> How To Add A Scripting Language To A Program ?
yungblood
post Aug 27 2005, 04:40 PM
Post #11


Member - Active Contributor
Group Icon

Group: Members
Posts: 84
Joined: 7-June 05
From: Antioch, California
Member No.: 5,943



m^e:
Thanks for the tips. I really appreciate it.!

-YB

Go to the top of the page
 
+Quote Post
mitchellmckain
post Jan 3 2008, 03:06 AM
Post #12


Premium Member
Group Icon

Group: [HOSTED]
Posts: 369
Joined: 28-April 05
From: Salt Lake City, Utah
Member No.: 4,500



QUOTE(miCRoSCoPiC^eaRthLinG @ Aug 22 2005, 07:25 PM) *
I think you should read up some articles on creating an interpreter. That should help you crack the nut. First of all - unlike compiler, you have no need to write lexical & syntactical analyzers i.e. parsers - you can address the code line-by-line .. and then act accordingly. All scripting languages use some sort of an interpreter running in the background. So I'd say interpreter is the way to go..

Check out some basic articles on it - they might help:
1. http://www.javaworld.com/javaworld/jw-05-1...05-indepth.html
2. http://memphis.compilertools.net/interpreter.html
3.http://www.tldp.org/HOWTO/Linux-Gamers-HOWTO/interpreters.html
4. Also check out this book: http://www.amazon.com/exec/obidos/tg/detai...488159?v=glance



I thought the whole point of his question was to avoid writing an interpreter himself. I added a scripting feature to my program (relspace), but I certainly did not try to imitate any previous scripting language but tailored it to the scripting needs of my program (and frankly to my own preferences). But I guess that if you want to make your program more friendly to the user, making it use a something more like a standard scripting language would be better. However, is it possible that you might run into copyright problems if you choose one that is not in the public domain?

This post has been edited by mitchellmckain: Jan 3 2008, 03:07 AM
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Your Most Favourite Computer Language(84)
  2. Basic C++ Language(19)
  3. Google Adsense(24)
  4. Clicksor(7)
  5. Do You Program/code Your Own Games(11)
  6. Online Multiplayer Game(16)
  7. True Free Design Program?(16)
  8. Wuts A Good Game Maker Program?(12)
  9. VB.NET: Switch Regional Language Automatically(1)
  10. Does Anyone Code Using Turing(2)
  11. Favorite Graphics Program?(64)
  12. What Language Is Linux Written In ?(15)
  13. Ideas For Using VB To Program Nokia S60 Phones(8)
  14. Which Virus-protection Program Is The Best?(18)
  15. A Free Graphic Design Program That Could Equal Photoshop?(35)
  1. Gba Game Program(5)
  2. Ahh! Big Mistake! How Do I Get This Program Back?(17)
  3. Good Program To Use(8)
  4. Best Free Anti-virus Program(17)
  5. Graphic Design Program(7)
  6. Unity 3d(0)
  7. Best Program To Tune Up An Old Computer?(9)
  8. Increase Your Knowledge Of Html Language(11)
  9. In Your Opinion, The Best P2p Program.(1)
  10. Who Is No. 1 Actor In India (all Language Including Bollywood)?(1)
  11. Designing A Summer Running Program(1)
  12. C++ Meters To Feet And Feet To Meters Program(0)


 



- Lo-Fi Version Time is now: 8th September 2008 - 03:02 AM