mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-22 11:01:06 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@21720 72102866-910b-0410-8b05-ffd578937521
27 lines
561 B
Objective-C
27 lines
561 B
Objective-C
/**
|
|
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
|