P
Piotr 'Zenobius' Baranowski
Hello
I'm new to programming under C#.
I have question about suggestions, how to write a simple script
language, that can handle operations like 'if' statement.
Whats better, operating on variables [ like 'if a>b foo() else goo() ],
or maybe predefined functions [ like if(getA()>getB()) foo() else goo()]
And how to handle script interpretating, or optimising scripts speed?
Like compiling text to some type of ' native' program code.
I'm thinking about fast and simple script language, that will allow to
make templates of behavior in game [ change AI ].
I'm new to programming under C#.
I have question about suggestions, how to write a simple script
language, that can handle operations like 'if' statement.
Whats better, operating on variables [ like 'if a>b foo() else goo() ],
or maybe predefined functions [ like if(getA()>getB()) foo() else goo()]
And how to handle script interpretating, or optimising scripts speed?
Like compiling text to some type of ' native' program code.
I'm thinking about fast and simple script language, that will allow to
make templates of behavior in game [ change AI ].