summaryrefslogtreecommitdiff
path: root/MLKEnvironment.h
blob: b10013779ac49279a2eabf9789edd894973192da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* -*- mode: objc; coding: utf-8 -*- */
/* Copyright 2008, Matthias Benkard. */

#import "MLKLispValue.h"

@class NSMutableDictionary, MLKLinkedList, MLKSymbol;


@interface MLKEnvironment : MLKLispValue
{
  MLKLinkedList *_bindings;
}

-(MLKEnvironment *) init;
-(MLKEnvironment *) initWithParent:(MLKEnvironment *)parent;

-(void) setBinding:(MLKSymbol *)symbol to:(id)value;
-(id) valueForBinding:(MLKSymbol *)symbol;
@end