aboutsummaryrefslogtreecommitdiffstats
path: root/LispSymbol.h
blob: 50bdbb6e7203379987fd9e362f8636751a92b0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  LispSymbol.h
//  Moxie
//
//  Created by Brian Cully on Tue Sep 07 2004.
//  Copyright (c) 2004 Brian Cully. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LispSymbol : NSObject <NSCopying>
{
    NSString *theName;
}
+ (LispSymbol *)symbolT;
+ (LispSymbol *)symbolNIL;
+ (LispSymbol *)symbolNamed: (NSString *)aName;

- (id)initWithName: (NSString *)aName;
- (NSString *)lispForm;
@end

@interface LispSymbol (Accessors)
- (NSString *)name;
- (void)setName: (NSString *)aName;
@end

@interface LispSymbol (Comparators)
- (BOOL)isEqualToString: (NSString *)aString;
@end