mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
adba6b26dc
- Boolean type (no support in lexer yet) - Conditionals - Defines (only work correctly at top level) - More core builtins (apply, cons, car, cdr) - Variable-argument functions - Incremental garbage collection - Garbage collection fixes - Other misc bugs fixed
18 lines
359 B
Objective-C
18 lines
359 B
Objective-C
#ifndef __Lexer_h
|
|
#define __Lexer_h
|
|
#include "SchemeObject.h"
|
|
#include "Symbol.h"
|
|
|
|
@interface Lexer: SchemeObject
|
|
{
|
|
string source;
|
|
string filename;
|
|
integer linenum;
|
|
}
|
|
+ (id) newFromSource: (string) s file: (string) f;
|
|
- (id) initWithSource: (string) s file: (string) f;
|
|
- (SchemeObject) nextToken;
|
|
- (integer) lineNumber;
|
|
@end
|
|
|
|
#endif //__Lexer_h
|