From: "Christopher Nelson" To: Subject: Re: Scripts Date: Mon, 7 Jun 1999 13:30:37 -0600 Message-ID: <01beb11c$39455bc0$bec2ddd0@thendren> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Reply-To: djgpp AT delorie DOT com >Does anyone know where I can get a good scripting tutorial?? I need to use >external files to tell the program to run specific functions, and I am >pretty sure I would need to know scripting for this. So for all those >experts, where did you learn scripting?? Thanks i wouldn't really consider "scripting" a thing in and of itself. creating any sort of system that reads flexible user commands in the form of a token/symbol relationship and acts on that information in a flowing manner would really fall under compiler design. if you want to get deep into the subject there is an excellent book call "Compiler Analysis and Design", the so-called dragon book, which gives as technical an overview of the main facets of this type of programming as any source i've yet seen. if you just want to write a scripting engine, then what you first must realize is that what you are doing is writing an interpreted language. there are various "hacky" ways of doing this, and then there's the "right" way: download Flex and Bison, read the documentation, walk yourself through the examples, make sure you understand the basic theory and the whole point behind it, then write your lexer spec and your parser grammar. -={C}=-