I
Ingo Schasiepen
Hi there,
i'm evaluating if c# is suited to replace a script language. Most of
the elements of this language can be replaced with a c#-library, but
it also has some realtime-like elements. E.g., in this language, the
following code is possible:
{
Int32 i=0;
OnEvent ( ... )
{
Print (i);
}
}
Whenever a certain event occurs, the specified code is executed in a
seperate thread (something similar exists in pearl (not perl) or other
realtime languages).
Of course this can be achieved with c#, but the user (which is used to
the old script language) should be able to write c#-code which looks
nearly the same as the example above.
Does anybody have an idea how this can be done?
Bye,
Ingo
i'm evaluating if c# is suited to replace a script language. Most of
the elements of this language can be replaced with a c#-library, but
it also has some realtime-like elements. E.g., in this language, the
following code is possible:
{
Int32 i=0;
OnEvent ( ... )
{
Print (i);
}
}
Whenever a certain event occurs, the specified code is executed in a
seperate thread (something similar exists in pearl (not perl) or other
realtime languages).
Of course this can be achieved with c#, but the user (which is used to
the old script language) should be able to write c#-code which looks
nearly the same as the example above.
Does anybody have an idea how this can be done?
Bye,
Ingo