libs-steptalk/Languages/MyLanguage/MyLanguageEngine.m

28 lines
561 B
Mathematica
Raw Normal View History

/**
MyLanguageEngine
@COPYRIGHT@
Written by: @AUTHOR@
Date: @DATE@
*/
#import "MyLanguageEngine.h"
@implementation MyLanguageEngine
- (id) interpretScript:(NSString *)aScript
inContext:(STContext *)context
{
id retval = nil;
/* execute the code sourceCode using environment env */
/* use [env objectDictionary] to get environment objects
(see STContext documentation or header file to see what you can do) */
/* retval = return value from the interpreter; */
return retval;
}
@end