Joined: 16 Feb 2006 Posts: 786 Location: Singapore
Posted: Thu Aug 06, 2009 8:15 am Post subject: [delphi] Code own program script
How do you make your own program script?
Like instead of me coding for all soft of situations the users might need, the user can code a script that only works on my program.
you need to parse the script from the buffer/file that the user has put it to. then you need to tokenise this content
the best way to do this is recursively. in fact it requires quite a bit of work to do it on most imperivative language unless you use this approach. at least the code is a lot harder to read afterwards.. i have previously written a parser/tokeniser in haskell ( this language basically has built in support for this though ) and also asm. if they're of any use to you then i could upload it but if you google tokeniser i think you'll find a lot of resources that will help you
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum