mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 20:50:43 +00:00
281b683e14
standard, implemented in Ruamoko. Currently works for a few simple "Hello, world!" programs.
17 lines
291 B
Objective-C
17 lines
291 B
Objective-C
#ifndef __Lexer_h
|
|
#define __Lexer_h
|
|
#include "SchemeObject.h"
|
|
#include "Symbol.h"
|
|
|
|
@interface Lexer: Object
|
|
{
|
|
string source;
|
|
Symbol lparen;
|
|
Symbol rparen;
|
|
}
|
|
+ (id) newFromSource: (string) s;
|
|
- (id) initWithSource: (string) s;
|
|
- (SchemeObject) nextToken;
|
|
@end
|
|
|
|
#endif //__Lexer_h
|