Posted by chomse@xxx.xxx (Franz-Leo Chomse) on 1999-05-25
On Fri, 21 May 1999 23:40:46 +0200 (MET DST), Matthias Carlsson <matthias@xxxxxx.xxx> wrote: >Could anyone give me some general info on script languages and how you >can make one by your own? Info sites would be great, code isn't necess- >ary, I just want to learn how it works. > >Thanks, A scripting language is just an interpreted language. so you need: 1. A parser A program module which diveds the script into tokens and classifies them 2. A lexical analyser A program module which takes the classified tokens and checks wether they confirm to the grammar of the scripting language 3. The real interpreter this program module which takes the output of the lexical analyser and executes the wanted command. The interpreter needs a suproutine which executes or simulates the wanted task for each command of the scripting language. Regards from Germany Franz-Leo
Previous post | Next post | Timeline | Home