From cad01f32f911f1129675063cf0f1f57049c40116 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Thu, 28 Aug 2008 18:28:25 +0200 Subject: Listener: Execute code after reading it. --- GNUmakefile | 3 +- MLKFileHandleStream.m | 2 +- MLKLLVMCompiler.mm | 4 +- MLKListenerController.h | 2 + MLKListenerController.m | 50 ++- MLKToiletApplicationController.h | 27 ++ MLKToiletApplicationController.m | 27 ++ MainMenu.nib/classes.nib | 6 + MainMenu.nib/info.nib | 2 +- MainMenu.nib/keyedobjects.nib | 800 +++++++++++++++++++--------------- MainMenu.nib/objects.nib | Bin 8073 -> 8185 bytes Toilet Lisp-Info.plist | 32 ++ Toilet Lisp.xcodeproj/project.pbxproj | 156 ++++++- 13 files changed, 739 insertions(+), 372 deletions(-) create mode 100644 MLKToiletApplicationController.h create mode 100644 MLKToiletApplicationController.m create mode 100644 Toilet Lisp-Info.plist diff --git a/GNUmakefile b/GNUmakefile index 1990162..86b2711 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -140,7 +140,8 @@ toilet_OBJC_LIBS += -Lobj -ltoilet-llvm $(LLVM_LDFLAGS) endif -ToiletLisp_OBJC_FILES = MLKListenerController.m ToiletLisp_main.m +ToiletLisp_OBJC_FILES = MLKListenerController.m MLKToiletApplicationController.m \ + ToiletLisp_main.m #ToiletLisp_LOCALIZED_RESOURCE_FILES = MainMenu.nib Credits.rtf ToiletLisp_RESOURCE_FILES = MainMenu.nib Credits.rtf #ToiletLisp_MAIN_MODEL_FILE = MainMenu.gorm diff --git a/MLKFileHandleStream.m b/MLKFileHandleStream.m index 2376dc0..456cddd 100644 --- a/MLKFileHandleStream.m +++ b/MLKFileHandleStream.m @@ -70,7 +70,7 @@ { if (_closeWhenDone) { - [_fileHandle close]; + [_fileHandle closeFile]; } LDESTROY (_fileHandle); [super dealloc]; diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm index 4a672a0..b40d4d0 100644 --- a/MLKLLVMCompiler.mm +++ b/MLKLLVMCompiler.mm @@ -518,6 +518,8 @@ static Constant args.begin(), args.end(), [MLKPrintToString(_head) UTF8String]); + call->setCallingConv(CallingConv::C); + call->setTailCall(true); // XXX if ([_context functionIsInline:_head]) @@ -539,7 +541,7 @@ static Constant FunctionType *ftype = FunctionType::get (PointerTy, argtypes, true); Function *function = Function::Create (ftype, Function::InternalLinkage, - "", + "a_lisp_closure_body", module); Function::arg_iterator args = function->arg_begin(); diff --git a/MLKListenerController.h b/MLKListenerController.h index 6e12a8f..ef54d19 100644 --- a/MLKListenerController.h +++ b/MLKListenerController.h @@ -31,6 +31,8 @@ + (void)initialize; +- (void)initialiseInterpreter; + - (void)writeChar:(unichar)ch; - (void)writeString:(NSString *)string; diff --git a/MLKListenerController.m b/MLKListenerController.m index 28e556b..3db8772 100644 --- a/MLKListenerController.m +++ b/MLKListenerController.m @@ -19,6 +19,9 @@ #import "MLKListenerController.h" #import "MLKDynamicContext.h" +#import "MLKLexicalContext.h" +#import "MLKLexicalEnvironment.h" +#import "MLKInterpreter.h" #import "MLKPackage.h" #import "MLKReader.h" #import "util.h" @@ -30,6 +33,12 @@ ensure_symbols(); } +- (void) initialiseInterpreter +{ + [inputField setStringValue:@"(load \"init.lisp\")"]; + [self submit:self]; +} + - (IBAction)submit:(id)sender { id object; @@ -85,6 +94,8 @@ [statusText setStringValue:@"Compiling and executing."]; NS_DURING { + int i; + NSArray *results; NSDictionary *vars = [NSDictionary dictionaryWithObjectsAndKeys: self, QUERY_IO, self, ERROR_OUTPUT, @@ -102,11 +113,38 @@ activeHandlerEnvironment:nil]; [newctx pushContext]; - // ... + results = [MLKInterpreter eval:object + inLexicalContext:[MLKLexicalContext globalContext] + withEnvironment:[MLKLexicalEnvironment globalEnvironment]]; + + for (i = 0; i < [results count]; i++) + { + id result = denullify ([results objectAtIndex:i]); + + [text beginEditing]; + attrs = [NSDictionary dictionaryWithObjectsAndKeys: + [NSColor purpleColor], NSForegroundColorAttributeName, nil]; + NSAttributedString *response = + LAUTORELEASE ([[NSAttributedString alloc] initWithString:MLKPrintToString(result) + attributes:attrs]); + [text appendAttributedString:response]; + [[text mutableString] appendString:@"\n"]; + } } NS_HANDLER { - // ... + NSString *bare_msg = [NSString stringWithFormat: + @"Caught an unhandled exception.\nName: %s\nReason: %s\n", + [[localException name] UTF8String], + [[localException reason] UTF8String]]; + + [text beginEditing]; + attrs = [NSDictionary dictionaryWithObjectsAndKeys: + [NSColor redColor], NSForegroundColorAttributeName, nil]; + NSAttributedString *response = + LAUTORELEASE ([[NSAttributedString alloc] initWithString:MLKPrintToString(object) + attributes:attrs]); + [text appendAttributedString:response]; } NS_ENDHANDLER; @@ -114,14 +152,6 @@ LDESTROY (newctx); [statusText setStringValue:@"Ready."]; - [text beginEditing]; - attrs = [NSDictionary dictionaryWithObjectsAndKeys: - [NSColor purpleColor], NSForegroundColorAttributeName, nil]; - NSAttributedString *response = - LAUTORELEASE ([[NSAttributedString alloc] initWithString:MLKPrintToString(object) - attributes:attrs]); - [text appendAttributedString:response]; - [[text mutableString] appendString:@"\n"]; [text endEditing]; diff --git a/MLKToiletApplicationController.h b/MLKToiletApplicationController.h new file mode 100644 index 0000000..93ea972 --- /dev/null +++ b/MLKToiletApplicationController.h @@ -0,0 +1,27 @@ +/* -*- mode: objc; coding: utf-8 -*- */ +/* Toilet Lisp, a Common Lisp subset for the Étoilé runtime. + * Copyright (C) 2008 Matthias Andreas Benkard. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#import + +@interface MLKToiletApplicationController : NSObject +{ + IBOutlet id initialListener; +} + +- (void)applicationDidFinishLaunching:(NSNotification *)notification; +@end diff --git a/MLKToiletApplicationController.m b/MLKToiletApplicationController.m new file mode 100644 index 0000000..7fc581b --- /dev/null +++ b/MLKToiletApplicationController.m @@ -0,0 +1,27 @@ +/* -*- mode: objc; coding: utf-8 -*- */ +/* Toilet Lisp, a Common Lisp subset for the Étoilé runtime. + * Copyright (C) 2008 Matthias Andreas Benkard. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#import "MLKToiletApplicationController.h" +#import "MLKListenerController.h" + +@implementation MLKToiletApplicationController +- (void)applicationDidFinishLaunching:(NSNotification *)notification +{ + [initialListener initialiseInterpreter]; +} +@end diff --git a/MainMenu.nib/classes.nib b/MainMenu.nib/classes.nib index df8a2e2..0488826 100644 --- a/MainMenu.nib/classes.nib +++ b/MainMenu.nib/classes.nib @@ -13,6 +13,12 @@ submitButton = id; }; SUPERCLASS = NSObject; + }, + { + CLASS = MLKToiletApplicationController; + LANGUAGE = ObjC; + OUTLETS = {initialListener = id; }; + SUPERCLASS = NSObject; } ); IBVersion = 1; diff --git a/MainMenu.nib/info.nib b/MainMenu.nib/info.nib index 31b1358..96c66da 100644 --- a/MainMenu.nib/info.nib +++ b/MainMenu.nib/info.nib @@ -3,7 +3,7 @@ IBDocumentLocation - 20 311 356 240 0 0 1280 1002 + 8 485 356 240 0 0 1280 1002 IBEditorPositions 29 diff --git a/MainMenu.nib/keyedobjects.nib b/MainMenu.nib/keyedobjects.nib index 5b6bfa5..d37321c 100644 --- a/MainMenu.nib/keyedobjects.nib +++ b/MainMenu.nib/keyedobjects.nib @@ -11,32 +11,32 @@ $class CF$UID - 514 + 523 NSAccessibilityConnectors CF$UID - 511 + 520 NSAccessibilityOidsKeys CF$UID - 512 + 521 NSAccessibilityOidsValues CF$UID - 513 + 522 NSClassesKeys CF$UID - 402 + 408 NSClassesValues CF$UID - 403 + 409 NSConnections @@ -51,39 +51,39 @@ NSFramework CF$UID - 6 + 5 NSNamesKeys CF$UID - 377 + 383 NSNamesValues CF$UID - 378 + 384 NSNextOid - 345 + 349 NSObjectsKeys CF$UID - 293 + 299 NSObjectsValues CF$UID - 376 + 382 NSOidsKeys CF$UID - 404 + 410 NSOidsValues CF$UID - 405 + 411 NSRoot @@ -100,7 +100,7 @@ $class CF$UID - 5 + 4 NSClassName @@ -108,25 +108,7 @@ 3 - - $class - - CF$UID - 4 - - NS.string - NSApplication - - - $classes - - NSMutableString - NSString - NSObject - - $classname - NSMutableString - + NSApplication $classes @@ -140,11 +122,21 @@ $class CF$UID - 4 + 6 NS.string IBCocoaFramework + + $classes + + NSMutableString + NSString + NSObject + + $classname + NSMutableString + $class @@ -219,7 +211,7 @@ $class CF$UID - 4 + 6 NS.string View @@ -541,7 +533,7 @@ $class CF$UID - 4 + 6 NS.string ; Welcome to Toilet Lisp. @@ -1376,7 +1368,7 @@ $class CF$UID - 4 + 6 NS.string @@ -2011,6 +2003,14 @@ CF$UID 291 + + CF$UID + 293 + + + CF$UID + 297 + @@ -2070,22 +2070,22 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 341 + 347 NSName CF$UID - 343 + 349 NSTitle CF$UID - 340 + 346 Minimize @@ -2150,7 +2150,7 @@ $class CF$UID - 4 + 6 NS.string performMiniaturize: @@ -2223,7 +2223,7 @@ $class CF$UID - 4 + 6 NS.string arrangeInFront: @@ -2285,17 +2285,17 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 348 + 354 NSTitle CF$UID - 347 + 353 Toilet Lisp Help @@ -2304,7 +2304,7 @@ $class CF$UID - 4 + 6 NS.string showHelp: @@ -2371,22 +2371,22 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 300 + 306 NSName CF$UID - 316 + 322 NSTitle CF$UID - 298 + 304 Quit Toilet Lisp @@ -2395,7 +2395,7 @@ $class CF$UID - 4 + 6 NS.string terminate: @@ -2461,7 +2461,7 @@ $class CF$UID - 4 + 6 NS.string orderFrontStandardAboutPanel: @@ -2585,7 +2585,7 @@ 175 - Hide NewApplication + Hide Toilet Lisp hide: $class @@ -2704,17 +2704,17 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 332 + 338 NSTitle CF$UID - 330 + 336 Check Spelling as You Type @@ -2776,17 +2776,17 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 321 + 327 NSTitle CF$UID - 320 + 326 Undo @@ -2795,7 +2795,7 @@ $class CF$UID - 4 + 6 NS.string undo: @@ -2859,7 +2859,7 @@ $class CF$UID - 4 + 6 NS.string copy: @@ -2923,7 +2923,7 @@ $class CF$UID - 4 + 6 NS.string checkSpelling: @@ -2987,7 +2987,7 @@ $class CF$UID - 4 + 6 NS.string paste: @@ -3049,17 +3049,17 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 336 + 342 NSTitle CF$UID - 334 + 340 Stop Speaking @@ -3123,7 +3123,7 @@ $class CF$UID - 4 + 6 NS.string cut: @@ -3187,7 +3187,7 @@ $class CF$UID - 4 + 6 NS.string showGuessPanel: @@ -3251,7 +3251,7 @@ $class CF$UID - 4 + 6 NS.string redo: @@ -3315,7 +3315,7 @@ $class CF$UID - 4 + 6 NS.string selectAll: @@ -3544,17 +3544,17 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 328 + 334 NSTitle CF$UID - 327 + 333 Find… @@ -3969,7 +3969,7 @@ $class CF$UID - 5 + 4 NSClassName @@ -4094,6 +4094,65 @@ submitButton + + $class + + CF$UID + 276 + + NSDestination + + CF$UID + 280 + + NSLabel + + CF$UID + 296 + + NSSource + + CF$UID + 294 + + + + $class + + CF$UID + 4 + + NSClassName + + CF$UID + 295 + + + MLKToiletApplicationController + initialListener + + $class + + CF$UID + 276 + + NSDestination + + CF$UID + 294 + + NSLabel + + CF$UID + 298 + + NSSource + + CF$UID + 2 + + + delegate $class @@ -4104,7 +4163,7 @@ CF$UID - 294 + 300 CF$UID @@ -4120,7 +4179,7 @@ CF$UID - 333 + 339 CF$UID @@ -4144,7 +4203,7 @@ CF$UID - 350 + 356 CF$UID @@ -4180,7 +4239,7 @@ CF$UID - 329 + 335 CF$UID @@ -4188,7 +4247,7 @@ CF$UID - 356 + 362 CF$UID @@ -4200,7 +4259,7 @@ CF$UID - 317 + 323 CF$UID @@ -4212,7 +4271,7 @@ CF$UID - 315 + 321 CF$UID @@ -4224,7 +4283,7 @@ CF$UID - 367 + 373 CF$UID @@ -4232,7 +4291,7 @@ CF$UID - 363 + 369 CF$UID @@ -4240,19 +4299,19 @@ CF$UID - 297 + 303 CF$UID - 314 + 320 CF$UID - 305 + 311 CF$UID - 359 + 365 CF$UID @@ -4260,7 +4319,7 @@ CF$UID - 344 + 350 CF$UID @@ -4288,7 +4347,7 @@ CF$UID - 337 + 343 CF$UID @@ -4296,7 +4355,7 @@ CF$UID - 354 + 360 CF$UID @@ -4312,11 +4371,11 @@ CF$UID - 323 + 329 CF$UID - 306 + 312 CF$UID @@ -4328,15 +4387,19 @@ CF$UID - 322 + 328 + + + CF$UID + 307 CF$UID - 301 + 348 CF$UID - 342 + 294 CF$UID @@ -4352,7 +4415,7 @@ CF$UID - 324 + 330 CF$UID @@ -4364,7 +4427,7 @@ CF$UID - 309 + 315 CF$UID @@ -4372,7 +4435,7 @@ CF$UID - 302 + 308 @@ -4380,22 +4443,22 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 296 + 302 NSName CF$UID - 349 + 355 NSTitle CF$UID - 295 + 301 REPL @@ -4409,19 +4472,19 @@ CF$UID - 297 + 303 CF$UID - 317 + 323 CF$UID - 337 + 343 CF$UID - 344 + 350 @@ -4434,7 +4497,7 @@ NSAction CF$UID - 299 + 305 NSKeyEquiv @@ -4446,7 +4509,7 @@ NSMenu CF$UID - 294 + 300 NSMixedImage @@ -4468,7 +4531,7 @@ NSTitle CF$UID - 298 + 304 Toilet Lisp @@ -4487,23 +4550,23 @@ CF$UID - 301 + 307 CF$UID - 302 + 308 CF$UID - 305 + 311 CF$UID - 306 + 312 CF$UID - 314 + 320 CF$UID @@ -4519,7 +4582,7 @@ CF$UID - 315 + 321 CF$UID @@ -4574,7 +4637,7 @@ NSKeyEquiv CF$UID - 304 + 310 NSKeyEquivModMask 1048576 @@ -4598,7 +4661,7 @@ NSTitle CF$UID - 303 + 309 Preferences… @@ -4650,7 +4713,7 @@ NSAction CF$UID - 308 + 314 NSKeyEquiv @@ -4679,12 +4742,12 @@ NSSubmenu CF$UID - 309 + 315 NSTitle CF$UID - 307 + 313 Services @@ -4693,29 +4756,29 @@ $class CF$UID - 313 + 319 NSMenuItems CF$UID - 311 + 317 NSName CF$UID - 312 + 318 NSTitle CF$UID - 310 + 316 $class CF$UID - 4 + 6 NS.string Services @@ -4825,7 +4888,7 @@ NSAction CF$UID - 319 + 325 NSKeyEquiv @@ -4837,7 +4900,7 @@ NSMenu CF$UID - 294 + 300 NSMixedImage @@ -4859,7 +4922,7 @@ NSTitle CF$UID - 318 + 324 Edit @@ -4868,7 +4931,7 @@ $class CF$UID - 4 + 6 NS.string Edit @@ -4891,7 +4954,7 @@ CF$UID - 322 + 328 CF$UID @@ -4919,19 +4982,19 @@ CF$UID - 323 + 329 CF$UID - 324 + 330 CF$UID - 329 + 335 CF$UID - 333 + 339 @@ -5024,7 +5087,7 @@ NSAction CF$UID - 326 + 332 NSKeyEquiv @@ -5058,7 +5121,7 @@ NSTitle CF$UID - 325 + 331 Find @@ -5067,7 +5130,7 @@ $class CF$UID - 4 + 6 NS.string Find @@ -5111,7 +5174,7 @@ NSAction CF$UID - 331 + 337 NSKeyEquiv @@ -5145,7 +5208,7 @@ NSTitle CF$UID - 330 + 336 Spelling @@ -5181,7 +5244,7 @@ NSAction CF$UID - 335 + 341 NSKeyEquiv @@ -5215,7 +5278,7 @@ NSTitle CF$UID - 334 + 340 Speech @@ -5247,7 +5310,7 @@ NSAction CF$UID - 339 + 345 NSKeyEquiv @@ -5259,7 +5322,7 @@ NSMenu CF$UID - 294 + 300 NSMixedImage @@ -5281,7 +5344,7 @@ NSTitle CF$UID - 338 + 344 Window @@ -5290,7 +5353,7 @@ $class CF$UID - 4 + 6 NS.string Window @@ -5313,7 +5376,7 @@ CF$UID - 342 + 348 CF$UID @@ -5371,7 +5434,7 @@ NSAction CF$UID - 346 + 352 NSKeyEquiv @@ -5383,7 +5446,7 @@ NSMenu CF$UID - 294 + 300 NSMixedImage @@ -5405,7 +5468,7 @@ NSTitle CF$UID - 345 + 351 Help @@ -5414,7 +5477,7 @@ $class CF$UID - 4 + 6 NS.string Help @@ -5443,22 +5506,22 @@ NSMaxSize CF$UID - 375 + 381 NSMinSize CF$UID - 374 + 380 NSScreenRect CF$UID - 373 + 379 NSViewClass CF$UID - 353 + 359 NSWTFlags -260571136 @@ -5467,12 +5530,12 @@ NSWindowClass CF$UID - 352 + 358 NSWindowRect CF$UID - 351 + 357 NSWindowStyleMask 7 @@ -5484,7 +5547,7 @@ NSWindowView CF$UID - 354 + 360 {{436, 486}, {394, 245}} @@ -5492,7 +5555,7 @@ $class CF$UID - 4 + 6 NS.string NSWindow @@ -5501,7 +5564,7 @@ $class CF$UID - 4 + 6 NS.string View @@ -5515,7 +5578,7 @@ NSFrame CF$UID - 372 + 378 NSNextResponder @@ -5525,7 +5588,7 @@ NSSubviews CF$UID - 355 + 361 @@ -5538,19 +5601,19 @@ CF$UID - 356 + 362 CF$UID - 359 + 365 CF$UID - 363 + 369 CF$UID - 367 + 373 @@ -5563,24 +5626,24 @@ NSCell CF$UID - 358 + 364 NSEnabled NSFrame CF$UID - 357 + 363 NSNextResponder CF$UID - 354 + 360 NSSuperview CF$UID - 354 + 360 NSvFlags 256 @@ -5604,12 +5667,12 @@ NSContents CF$UID - 298 + 304 NSControlView CF$UID - 356 + 362 NSSupport @@ -5631,24 +5694,24 @@ NSCell CF$UID - 361 + 367 NSEnabled NSFrame CF$UID - 360 + 366 NSNextResponder CF$UID - 354 + 360 NSSuperview CF$UID - 354 + 360 NSvFlags 256 @@ -5672,12 +5735,12 @@ NSContents CF$UID - 362 + 368 NSControlView CF$UID - 359 + 365 NSSupport @@ -5702,24 +5765,24 @@ ersersion NSCell CF$UID - 365 + 371 NSEnabled NSFrame CF$UID - 364 + 370 NSNextResponder CF$UID - 354 + 360 NSSuperview CF$UID - 354 + 360 NSvFlags 256 @@ -5743,12 +5806,12 @@ ersersion NSContents CF$UID - 366 + 372 NSControlView CF$UID - 363 + 369 NSSupport @@ -5771,24 +5834,24 @@ ersersion NSCell CF$UID - 369 + 375 NSEnabled NSFrame CF$UID - 368 + 374 NSNextResponder CF$UID - 354 + 360 NSSuperview CF$UID - 354 + 360 NSvFlags 256 @@ -5812,17 +5875,17 @@ ersersion NSContents CF$UID - 370 + 376 NSControlView CF$UID - 367 + 373 NSSupport CF$UID - 371 + 377 NSTextColor @@ -5909,7 +5972,7 @@ ersersion CF$UID - 317 + 323 CF$UID @@ -5921,7 +5984,7 @@ ersersion CF$UID - 344 + 350 CF$UID @@ -5933,7 +5996,7 @@ ersersion CF$UID - 324 + 330 CF$UID @@ -5949,7 +6012,7 @@ ersersion CF$UID - 354 + 360 CF$UID @@ -5957,11 +6020,11 @@ ersersion CF$UID - 329 + 335 CF$UID - 294 + 300 CF$UID @@ -5977,7 +6040,7 @@ ersersion CF$UID - 333 + 339 CF$UID @@ -5985,7 +6048,7 @@ ersersion CF$UID - 354 + 360 CF$UID @@ -5993,7 +6056,7 @@ ersersion CF$UID - 354 + 360 CF$UID @@ -6001,7 +6064,7 @@ ersersion CF$UID - 294 + 300 CF$UID @@ -6013,7 +6076,7 @@ ersersion CF$UID - 354 + 360 CF$UID @@ -6021,7 +6084,7 @@ ersersion CF$UID - 294 + 300 CF$UID @@ -6033,11 +6096,11 @@ ersersion CF$UID - 337 + 343 CF$UID - 297 + 303 CF$UID @@ -6049,7 +6112,7 @@ ersersion CF$UID - 294 + 300 CF$UID @@ -6057,7 +6120,7 @@ ersersion CF$UID - 350 + 356 CF$UID @@ -6099,6 +6162,10 @@ ersersion CF$UID 136 + + CF$UID + 2 + CF$UID 160 @@ -6125,7 +6192,7 @@ ersersion CF$UID - 306 + 312 CF$UID @@ -6147,103 +6214,103 @@ ersersion CF$UID - 280 + 350 CF$UID - 91 + 365 CF$UID - 363 + 362 CF$UID - 302 + 159 CF$UID - 159 + 280 CF$UID - 344 + 198 CF$UID - 154 + 335 CF$UID - 8 + 118 CF$UID - 198 + 154 CF$UID - 356 + 182 CF$UID - 19 + 123 CF$UID - 342 + 308 CF$UID - 182 + 373 CF$UID - 123 + 136 CF$UID - 294 + 15 CF$UID - 153 + 183 CF$UID - 359 + 300 CF$UID - 329 + 2 CF$UID - 350 + 101 CF$UID - 2 + 369 CF$UID - 183 + 8 CF$UID - 367 + 110 CF$UID - 136 + 356 CF$UID - 110 + 19 CF$UID - 15 + 153 CF$UID @@ -6251,11 +6318,15 @@ ersersion CF$UID - 101 + 348 CF$UID - 118 + 91 + + + CF$UID + 294 @@ -6269,196 +6340,200 @@ ersersion CF$UID - 281 + 385 CF$UID - 379 + 386 CF$UID - 380 + 387 CF$UID - 381 + 388 CF$UID - 382 + 281 CF$UID - 383 + 389 CF$UID - 384 + 389 CF$UID - 10 + 390 CF$UID - 385 + 391 CF$UID - 386 + 392 CF$UID - 387 + 393 CF$UID - 388 + 394 CF$UID - 389 + 395 CF$UID - 390 + 396 CF$UID - 391 + 398 CF$UID - 388 + 399 CF$UID - 392 + 400 CF$UID - 385 + 401 CF$UID - 166 + 402 CF$UID - 393 + 403 CF$UID - 394 + 10 CF$UID - 395 + 387 CF$UID - 396 + 166 CF$UID - 386 + 404 CF$UID - 398 + 405 CF$UID - 399 + 406 CF$UID - 400 + 405 CF$UID - 401 + 407 + + + CF$UID + 295 - NSButton - NSTextField11 - 121 - 1111 $class CF$UID - 4 + 6 NS.string 1 + NSTextField1 + NSTextField2 + 1111 + NSMenuItem + NSTextField1 $class CF$UID - 4 + 6 NS.string 2 - NSMenuItem - NSTextField2 - NSTextView + NSMenuItem2 + NSTextField11 + 121 + NSTextField111 $class CF$UID - 4 + 397 - NS.string - - NSMenuItem2 - NSTextField11 + + $classes + + NSNull + %NSNull + NSObject + + $classname + NSNull + + NSScrollView2 + NSMenu $class CF$UID - 4 + 6 NS.string MainMenu - NSTextField1 $class CF$UID - 4 + 6 NS.string File's Owner - NSMenu - NSTextField111 + NSTextField + NSTextField11 + NSTextView $class CF$UID - 397 + 6 + NS.string + - - $classes - - NSNull - %NSNull - NSObject - - $classname - NSNull - - NSScrollView2 NSMenuItem1 - NSTextField - NSTextField1 + NSButton $class @@ -6495,7 +6570,11 @@ ersersion CF$UID - 309 + 315 + + + CF$UID + 297 CF$UID @@ -6527,15 +6606,15 @@ ersersion CF$UID - 354 + 360 CF$UID - 344 + 350 CF$UID - 314 + 320 CF$UID @@ -6563,7 +6642,7 @@ ersersion CF$UID - 337 + 343 CF$UID @@ -6583,11 +6662,11 @@ ersersion CF$UID - 359 + 365 CF$UID - 315 + 321 CF$UID @@ -6595,7 +6674,7 @@ ersersion CF$UID - 294 + 300 CF$UID @@ -6611,7 +6690,7 @@ ersersion CF$UID - 323 + 329 CF$UID @@ -6619,7 +6698,7 @@ ersersion CF$UID - 301 + 307 CF$UID @@ -6655,7 +6734,7 @@ ersersion CF$UID - 363 + 369 CF$UID @@ -6663,7 +6742,7 @@ ersersion CF$UID - 350 + 356 CF$UID @@ -6679,7 +6758,7 @@ ersersion CF$UID - 306 + 312 CF$UID @@ -6723,11 +6802,11 @@ ersersion CF$UID - 367 + 373 CF$UID - 356 + 362 CF$UID @@ -6739,7 +6818,7 @@ ersersion CF$UID - 333 + 339 CF$UID @@ -6747,7 +6826,7 @@ ersersion CF$UID - 342 + 348 CF$UID @@ -6759,7 +6838,7 @@ ersersion CF$UID - 297 + 303 CF$UID @@ -6791,7 +6870,7 @@ ersersion CF$UID - 317 + 323 CF$UID @@ -6807,7 +6886,7 @@ ersersion CF$UID - 329 + 335 CF$UID @@ -6829,6 +6908,10 @@ ersersion CF$UID 232 + + CF$UID + 294 + CF$UID 183 @@ -6843,7 +6926,7 @@ ersersion CF$UID - 324 + 330 CF$UID @@ -6851,11 +6934,11 @@ ersersion CF$UID - 302 + 308 CF$UID - 322 + 328 CF$UID @@ -6867,7 +6950,11 @@ ersersion CF$UID - 305 + 293 + + + CF$UID + 311 CF$UID @@ -6919,30 +7006,6 @@ ersersion NS.objects - - CF$UID - 406 - - - CF$UID - 407 - - - CF$UID - 408 - - - CF$UID - 409 - - - CF$UID - 410 - - - CF$UID - 411 - CF$UID 412 @@ -7207,10 +7270,6 @@ ersersion CF$UID 477 - - CF$UID - 71 - CF$UID 478 @@ -7239,6 +7298,10 @@ ersersion CF$UID 484 + + CF$UID + 71 + CF$UID 485 @@ -7343,11 +7406,48 @@ ersersion CF$UID 510 + + CF$UID + 511 + + + CF$UID + 512 + + + CF$UID + 513 + + + CF$UID + 514 + + + CF$UID + 515 + + + CF$UID + 516 + + + CF$UID + 517 + + + CF$UID + 518 + + + CF$UID + 519 + 337 201 130 + 348 241 196 212 @@ -7430,6 +7530,7 @@ ersersion 210 57 233 + 346 200 37 336 @@ -7439,6 +7540,7 @@ ersersion 206 340 235 + 347 143 2 343 diff --git a/MainMenu.nib/objects.nib b/MainMenu.nib/objects.nib index fca9a90..b5e5314 100644 Binary files a/MainMenu.nib/objects.nib and b/MainMenu.nib/objects.nib differ diff --git a/Toilet Lisp-Info.plist b/Toilet Lisp-Info.plist new file mode 100644 index 0000000..1af2080 --- /dev/null +++ b/Toilet Lisp-Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDocumentTypes + + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.yourcompany.Toilet Lisp + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 0.1 + CFBundleShortVersionString + Toilet Lisp Technology Preview + CFBundleName + Toilet Lisp + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + NSHumanReadableCopyright + Copyright © 2008, Matthias Andreas Benkard + + diff --git a/Toilet Lisp.xcodeproj/project.pbxproj b/Toilet Lisp.xcodeproj/project.pbxproj index ce27887..c71a51a 100644 --- a/Toilet Lisp.xcodeproj/project.pbxproj +++ b/Toilet Lisp.xcodeproj/project.pbxproj @@ -159,6 +159,57 @@ A7A85EC40E669ADA00021916 /* ToiletKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7E5C3EB0E21689F00A01D81 /* ToiletKit.framework */; }; A7A85ED10E669B5800021916 /* libtoilet-llvm.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A745C3500E607C6600C43A04 /* libtoilet-llvm.a */; }; A7A85F370E66AA8400021916 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = A7A85F360E66AA8400021916 /* Credits.rtf */; }; + A7A860250E66FEFB00021916 /* MLKBinaryStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8601B0E66FEFB00021916 /* MLKBinaryStream.h */; }; + A7A860260E66FEFB00021916 /* MLKBinaryStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7A8601C0E66FEFB00021916 /* MLKBinaryStream.m */; }; + A7A860270E66FEFB00021916 /* MLKBinaryStreamCharacterStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8601D0E66FEFB00021916 /* MLKBinaryStreamCharacterStream.h */; }; + A7A860280E66FEFB00021916 /* MLKBinaryStreamCharacterStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7A8601E0E66FEFB00021916 /* MLKBinaryStreamCharacterStream.m */; }; + A7A860290E66FEFB00021916 /* MLKCharacterStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8601F0E66FEFB00021916 /* MLKCharacterStream.h */; }; + A7A8602A0E66FEFB00021916 /* MLKCharacterStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7A860200E66FEFB00021916 /* MLKCharacterStream.m */; }; + A7A8602B0E66FEFB00021916 /* MLKFileHandleStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A860210E66FEFB00021916 /* MLKFileHandleStream.h */; }; + A7A8602C0E66FEFB00021916 /* MLKFileHandleStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7A860220E66FEFB00021916 /* MLKFileHandleStream.m */; }; + A7A8602D0E66FEFB00021916 /* MLKStreamStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A860230E66FEFB00021916 /* MLKStreamStream.h */; }; + A7A8602E0E66FEFB00021916 /* MLKStreamStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7A860240E66FEFB00021916 /* MLKStreamStream.m */; }; + A7A8603E0E6700D000021916 /* MLKToiletApplicationController.m in Sources */ = {isa = PBXBuildFile; fileRef = A7A8603D0E6700D000021916 /* MLKToiletApplicationController.m */; }; + A7A860800E67058900021916 /* array.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A787112C0E4C456C00A7191F /* array.lisp */; }; + A7A860810E67058900021916 /* control-flow.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834010E477B76005D64E0 /* control-flow.lisp */; }; + A7A860820E67058900021916 /* defun-0.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834020E477B76005D64E0 /* defun-0.lisp */; }; + A7A860830E67058900021916 /* defun-1.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834030E477B76005D64E0 /* defun-1.lisp */; }; + A7A860840E67058900021916 /* destructuring-bind.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834040E477B76005D64E0 /* destructuring-bind.lisp */; }; + A7A860850E67058900021916 /* evaluation.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834050E477B76005D64E0 /* evaluation.lisp */; }; + A7A860860E67058900021916 /* ffi.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A787138B0E4EFF8A00A7191F /* ffi.lisp */; }; + A7A860870E67058900021916 /* init.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834060E477B76005D64E0 /* init.lisp */; }; + A7A860880E67058900021916 /* list-functions-2.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834070E477B76005D64E0 /* list-functions-2.lisp */; }; + A7A860890E67058900021916 /* list-functions.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834080E477B76005D64E0 /* list-functions.lisp */; }; + A7A8608A0E67058900021916 /* numbers.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A834090E477B76005D64E0 /* numbers.lisp */; }; + A7A8608B0E67058900021916 /* package.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A787138C0E4EFF8A00A7191F /* package.lisp */; }; + A7A8608C0E67058900021916 /* reader.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8340A0E477B76005D64E0 /* reader.lisp */; }; + A7A8608D0E67058900021916 /* sharpsign.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8340B0E477B76005D64E0 /* sharpsign.lisp */; }; + A7A8608E0E67058900021916 /* string.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A787138D0E4EFF8A00A7191F /* string.lisp */; }; + A7A8608F0E67058900021916 /* types.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8340C0E477B76005D64E0 /* types.lisp */; }; + A7A860900E67058900021916 /* util.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8340D0E477B76005D64E0 /* util.lisp */; }; + A7A860940E6705B300021916 /* array.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835670E477C26005D64E0 /* array.lisp */; }; + A7A860950E6705B300021916 /* character.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835680E477C26005D64E0 /* character.lisp */; }; + A7A860960E6705B300021916 /* clos.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835690E477C26005D64E0 /* clos.lisp */; }; + A7A860970E6705B300021916 /* condition.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8356A0E477C26005D64E0 /* condition.lisp */; }; + A7A860980E6705B300021916 /* cons.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8356B0E477C26005D64E0 /* cons.lisp */; }; + A7A860990E6705B300021916 /* core.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8356C0E477C26005D64E0 /* core.lisp */; }; + A7A8609A0E6705B300021916 /* data-and-control.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8356D0E477C26005D64E0 /* data-and-control.lisp */; }; + A7A8609B0E6705B300021916 /* do.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8356E0E477C26005D64E0 /* do.lisp */; }; + A7A8609C0E6705B300021916 /* eval.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8356F0E477C26005D64E0 /* eval.lisp */; }; + A7A8609D0E6705B300021916 /* hash-table.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835700E477C26005D64E0 /* hash-table.lisp */; }; + A7A8609E0E6705B300021916 /* init.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835710E477C26005D64E0 /* init.lisp */; }; + A7A8609F0E6705B300021916 /* loop.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835720E477C26005D64E0 /* loop.lisp */; }; + A7A860A00E6705B300021916 /* package.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835730E477C26005D64E0 /* package.lisp */; }; + A7A860A10E6705B300021916 /* printer.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835740E477C26005D64E0 /* printer.lisp */; }; + A7A860A20E6705B300021916 /* reader.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835750E477C26005D64E0 /* reader.lisp */; }; + A7A860A30E6705B300021916 /* sequence.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835760E477C26005D64E0 /* sequence.lisp */; }; + A7A860A40E6705B300021916 /* share-2.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835770E477C26005D64E0 /* share-2.lisp */; }; + A7A860A50E6705B300021916 /* share.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835780E477C26005D64E0 /* share.lisp */; }; + A7A860A60E6705B300021916 /* stand-in.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A835790E477C26005D64E0 /* stand-in.lisp */; }; + A7A860A70E6705B300021916 /* stream.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8357A0E477C26005D64E0 /* stream.lisp */; }; + A7A860A80E6705B300021916 /* string.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8357B0E477C26005D64E0 /* string.lisp */; }; + A7A860A90E6705B300021916 /* symbol.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8357C0E477C26005D64E0 /* symbol.lisp */; }; + A7A860AA0E6705B300021916 /* testbed.lisp in CopyFiles */ = {isa = PBXBuildFile; fileRef = A7A8357D0E477C26005D64E0 /* testbed.lisp */; }; A7B6D0C20E22094F006F6A21 /* MLKStringOutputStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B6D0C00E22094F006F6A21 /* MLKStringOutputStream.h */; }; A7B6D0C30E22094F006F6A21 /* MLKStringOutputStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7B6D0C10E22094F006F6A21 /* MLKStringOutputStream.m */; }; A7E5C43E0E21695800A01D81 /* MLKBinding.h in Headers */ = {isa = PBXBuildFile; fileRef = A7E5C3F80E21695700A01D81 /* MLKBinding.h */; }; @@ -208,8 +259,6 @@ A7E5C4710E21695800A01D81 /* MLKSemicolonReader.m in Sources */ = {isa = PBXBuildFile; fileRef = A7E5C42B0E21695700A01D81 /* MLKSemicolonReader.m */; }; A7E5C4720E21695800A01D81 /* MLKSingleFloat.h in Headers */ = {isa = PBXBuildFile; fileRef = A7E5C42C0E21695700A01D81 /* MLKSingleFloat.h */; }; A7E5C4730E21695800A01D81 /* MLKSingleFloat.m in Sources */ = {isa = PBXBuildFile; fileRef = A7E5C42D0E21695700A01D81 /* MLKSingleFloat.m */; }; - A7E5C4740E21695800A01D81 /* MLKStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7E5C42E0E21695700A01D81 /* MLKStream.h */; }; - A7E5C4750E21695800A01D81 /* MLKStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7E5C42F0E21695700A01D81 /* MLKStream.m */; }; A7E5C4760E21695800A01D81 /* MLKStringInputStream.h in Headers */ = {isa = PBXBuildFile; fileRef = A7E5C4300E21695700A01D81 /* MLKStringInputStream.h */; }; A7E5C4770E21695800A01D81 /* MLKStringInputStream.m in Sources */ = {isa = PBXBuildFile; fileRef = A7E5C4310E21695700A01D81 /* MLKStringInputStream.m */; }; A7E5C4780E21695800A01D81 /* MLKStringReader.h in Headers */ = {isa = PBXBuildFile; fileRef = A7E5C4320E21695700A01D81 /* MLKStringReader.h */; }; @@ -436,6 +485,64 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + A7A8607E0E67051B00021916 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 6; + files = ( + A7A860800E67058900021916 /* array.lisp in CopyFiles */, + A7A860810E67058900021916 /* control-flow.lisp in CopyFiles */, + A7A860820E67058900021916 /* defun-0.lisp in CopyFiles */, + A7A860830E67058900021916 /* defun-1.lisp in CopyFiles */, + A7A860840E67058900021916 /* destructuring-bind.lisp in CopyFiles */, + A7A860850E67058900021916 /* evaluation.lisp in CopyFiles */, + A7A860860E67058900021916 /* ffi.lisp in CopyFiles */, + A7A860870E67058900021916 /* init.lisp in CopyFiles */, + A7A860880E67058900021916 /* list-functions-2.lisp in CopyFiles */, + A7A860890E67058900021916 /* list-functions.lisp in CopyFiles */, + A7A8608A0E67058900021916 /* numbers.lisp in CopyFiles */, + A7A8608B0E67058900021916 /* package.lisp in CopyFiles */, + A7A8608C0E67058900021916 /* reader.lisp in CopyFiles */, + A7A8608D0E67058900021916 /* sharpsign.lisp in CopyFiles */, + A7A8608E0E67058900021916 /* string.lisp in CopyFiles */, + A7A8608F0E67058900021916 /* types.lisp in CopyFiles */, + A7A860900E67058900021916 /* util.lisp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A7A860920E67059900021916 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = Sacla; + dstSubfolderSpec = 6; + files = ( + A7A860940E6705B300021916 /* array.lisp in CopyFiles */, + A7A860950E6705B300021916 /* character.lisp in CopyFiles */, + A7A860960E6705B300021916 /* clos.lisp in CopyFiles */, + A7A860970E6705B300021916 /* condition.lisp in CopyFiles */, + A7A860980E6705B300021916 /* cons.lisp in CopyFiles */, + A7A860990E6705B300021916 /* core.lisp in CopyFiles */, + A7A8609A0E6705B300021916 /* data-and-control.lisp in CopyFiles */, + A7A8609B0E6705B300021916 /* do.lisp in CopyFiles */, + A7A8609C0E6705B300021916 /* eval.lisp in CopyFiles */, + A7A8609D0E6705B300021916 /* hash-table.lisp in CopyFiles */, + A7A8609E0E6705B300021916 /* init.lisp in CopyFiles */, + A7A8609F0E6705B300021916 /* loop.lisp in CopyFiles */, + A7A860A00E6705B300021916 /* package.lisp in CopyFiles */, + A7A860A10E6705B300021916 /* printer.lisp in CopyFiles */, + A7A860A20E6705B300021916 /* reader.lisp in CopyFiles */, + A7A860A30E6705B300021916 /* sequence.lisp in CopyFiles */, + A7A860A40E6705B300021916 /* share-2.lisp in CopyFiles */, + A7A860A50E6705B300021916 /* share.lisp in CopyFiles */, + A7A860A60E6705B300021916 /* stand-in.lisp in CopyFiles */, + A7A860A70E6705B300021916 /* stream.lisp in CopyFiles */, + A7A860A80E6705B300021916 /* string.lisp in CopyFiles */, + A7A860A90E6705B300021916 /* symbol.lisp in CopyFiles */, + A7A860AA0E6705B300021916 /* testbed.lisp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ @@ -521,6 +628,18 @@ A7A85D5A0E668CA700021916 /* ToiletLisp_main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ToiletLisp_main.m; sourceTree = ""; }; A7A85DDF0E668E1500021916 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; A7A85F360E66AA8400021916 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = ""; }; + A7A8601B0E66FEFB00021916 /* MLKBinaryStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKBinaryStream.h; sourceTree = ""; }; + A7A8601C0E66FEFB00021916 /* MLKBinaryStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKBinaryStream.m; sourceTree = ""; }; + A7A8601D0E66FEFB00021916 /* MLKBinaryStreamCharacterStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKBinaryStreamCharacterStream.h; sourceTree = ""; }; + A7A8601E0E66FEFB00021916 /* MLKBinaryStreamCharacterStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKBinaryStreamCharacterStream.m; sourceTree = ""; }; + A7A8601F0E66FEFB00021916 /* MLKCharacterStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKCharacterStream.h; sourceTree = ""; }; + A7A860200E66FEFB00021916 /* MLKCharacterStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKCharacterStream.m; sourceTree = ""; }; + A7A860210E66FEFB00021916 /* MLKFileHandleStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKFileHandleStream.h; sourceTree = ""; }; + A7A860220E66FEFB00021916 /* MLKFileHandleStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKFileHandleStream.m; sourceTree = ""; }; + A7A860230E66FEFB00021916 /* MLKStreamStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKStreamStream.h; sourceTree = ""; }; + A7A860240E66FEFB00021916 /* MLKStreamStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKStreamStream.m; sourceTree = ""; }; + A7A8603C0E6700D000021916 /* MLKToiletApplicationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKToiletApplicationController.h; sourceTree = ""; }; + A7A8603D0E6700D000021916 /* MLKToiletApplicationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKToiletApplicationController.m; sourceTree = ""; }; A7B6D0C00E22094F006F6A21 /* MLKStringOutputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKStringOutputStream.h; sourceTree = ""; }; A7B6D0C10E22094F006F6A21 /* MLKStringOutputStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKStringOutputStream.m; sourceTree = ""; }; A7E5C3EB0E21689F00A01D81 /* ToiletKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ToiletKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -574,8 +693,6 @@ A7E5C42B0E21695700A01D81 /* MLKSemicolonReader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKSemicolonReader.m; sourceTree = ""; }; A7E5C42C0E21695700A01D81 /* MLKSingleFloat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKSingleFloat.h; sourceTree = ""; }; A7E5C42D0E21695700A01D81 /* MLKSingleFloat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKSingleFloat.m; sourceTree = ""; }; - A7E5C42E0E21695700A01D81 /* MLKStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKStream.h; sourceTree = ""; }; - A7E5C42F0E21695700A01D81 /* MLKStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKStream.m; sourceTree = ""; }; A7E5C4300E21695700A01D81 /* MLKStringInputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKStringInputStream.h; sourceTree = ""; }; A7E5C4310E21695700A01D81 /* MLKStringInputStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MLKStringInputStream.m; sourceTree = ""; }; A7E5C4320E21695700A01D81 /* MLKStringReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MLKStringReader.h; sourceTree = ""; }; @@ -745,6 +862,12 @@ A7E5C48C0E2169CE00A01D81 /* Headers */ = { isa = PBXGroup; children = ( + A7A8601B0E66FEFB00021916 /* MLKBinaryStream.h */, + A7A8601D0E66FEFB00021916 /* MLKBinaryStreamCharacterStream.h */, + A7A8601F0E66FEFB00021916 /* MLKCharacterStream.h */, + A7A860210E66FEFB00021916 /* MLKFileHandleStream.h */, + A7A860230E66FEFB00021916 /* MLKStreamStream.h */, + A72BC70B0E65EA1100486804 /* MLKListenerController.h */, A72E9E6D0E5220B700BDE40F /* MLKLexicalContext-MLKLLVMCompilation.h */, A72E9E370E51CB0500BDE40F /* MLKCompiledClosure.h */, A78713840E4EFF5D00A7191F /* MLKForm.h */, @@ -787,7 +910,6 @@ A7E5C4280E21695700A01D81 /* MLKRoot.h */, A7E5C42A0E21695700A01D81 /* MLKSemicolonReader.h */, A7E5C42C0E21695700A01D81 /* MLKSingleFloat.h */, - A7E5C42E0E21695700A01D81 /* MLKStream.h */, A7E5C4300E21695700A01D81 /* MLKStringInputStream.h */, A7E5C4320E21695700A01D81 /* MLKStringReader.h */, A7E5C4340E21695700A01D81 /* MLKSymbol.h */, @@ -796,6 +918,8 @@ A7E5C43A0E21695800A01D81 /* NSString-MLKPrinting.h */, A7E5C43C0E21695800A01D81 /* runtime-compatibility.h */, A7E5C43D0E21695800A01D81 /* util.h */, + A7A8603C0E6700D000021916 /* MLKToiletApplicationController.h */, + A7A8603D0E6700D000021916 /* MLKToiletApplicationController.m */, ); name = Headers; sourceTree = ""; @@ -803,6 +927,11 @@ A7E5C48D0E216A0E00A01D81 /* Source Files */ = { isa = PBXGroup; children = ( + A7A8601C0E66FEFB00021916 /* MLKBinaryStream.m */, + A7A8601E0E66FEFB00021916 /* MLKBinaryStreamCharacterStream.m */, + A7A860200E66FEFB00021916 /* MLKCharacterStream.m */, + A7A860220E66FEFB00021916 /* MLKFileHandleStream.m */, + A7A860240E66FEFB00021916 /* MLKStreamStream.m */, A7A85D5A0E668CA700021916 /* ToiletLisp_main.m */, A72E9E6B0E5220A200BDE40F /* MLKLexicalContext-MLKLLVMCompilation.mm */, A72E9E390E51CB1300BDE40F /* MLKCompiledClosure.m */, @@ -843,7 +972,6 @@ A7E5C4290E21695700A01D81 /* MLKRoot.m */, A7E5C42B0E21695700A01D81 /* MLKSemicolonReader.m */, A7E5C42D0E21695700A01D81 /* MLKSingleFloat.m */, - A7E5C42F0E21695700A01D81 /* MLKStream.m */, A7E5C4310E21695700A01D81 /* MLKStringInputStream.m */, A7E5C4330E21695700A01D81 /* MLKStringReader.m */, A7E5C4350E21695700A01D81 /* MLKSymbol.m */, @@ -851,7 +979,6 @@ A7E5C4390E21695800A01D81 /* NSObject-MLKPrinting.m */, A7E5C43B0E21695800A01D81 /* NSString-MLKPrinting.m */, A72BC70A0E65EA1100486804 /* MLKListenerController.m */, - A72BC70B0E65EA1100486804 /* MLKListenerController.h */, ); name = "Source Files"; sourceTree = ""; @@ -897,7 +1024,6 @@ A7E5C46E0E21695800A01D81 /* MLKRoot.h in Headers */, A7E5C4700E21695800A01D81 /* MLKSemicolonReader.h in Headers */, A7E5C4720E21695800A01D81 /* MLKSingleFloat.h in Headers */, - A7E5C4740E21695800A01D81 /* MLKStream.h in Headers */, A7E5C4760E21695800A01D81 /* MLKStringInputStream.h in Headers */, A7E5C4780E21695800A01D81 /* MLKStringReader.h in Headers */, A7E5C47A0E21695800A01D81 /* MLKSymbol.h in Headers */, @@ -920,6 +1046,11 @@ A78713870E4EFF5D00A7191F /* MLKForm.h in Headers */, A78713890E4EFF5D00A7191F /* special-symbols.h in Headers */, A72E9E380E51CB0500BDE40F /* MLKCompiledClosure.h in Headers */, + A7A860250E66FEFB00021916 /* MLKBinaryStream.h in Headers */, + A7A860270E66FEFB00021916 /* MLKBinaryStreamCharacterStream.h in Headers */, + A7A860290E66FEFB00021916 /* MLKCharacterStream.h in Headers */, + A7A8602B0E66FEFB00021916 /* MLKFileHandleStream.h in Headers */, + A7A8602D0E66FEFB00021916 /* MLKStreamStream.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -933,6 +1064,8 @@ A72BC6EA0E65DE4600486804 /* Resources */, A72BC6EB0E65DE4600486804 /* Sources */, A72BC6EC0E65DE4600486804 /* Frameworks */, + A7A8607E0E67051B00021916 /* CopyFiles */, + A7A860920E67059900021916 /* CopyFiles */, ); buildRules = ( ); @@ -1059,6 +1192,7 @@ files = ( A72BC70C0E65EA1100486804 /* MLKListenerController.m in Sources */, A7A85D5B0E668CA700021916 /* ToiletLisp_main.m in Sources */, + A7A8603E0E6700D000021916 /* MLKToiletApplicationController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1105,7 +1239,6 @@ A7E5C46F0E21695800A01D81 /* MLKRoot.m in Sources */, A7E5C4710E21695800A01D81 /* MLKSemicolonReader.m in Sources */, A7E5C4730E21695800A01D81 /* MLKSingleFloat.m in Sources */, - A7E5C4750E21695800A01D81 /* MLKStream.m in Sources */, A7E5C4770E21695800A01D81 /* MLKStringInputStream.m in Sources */, A7E5C4790E21695800A01D81 /* MLKStringReader.m in Sources */, A7E5C47B0E21695800A01D81 /* MLKSymbol.m in Sources */, @@ -1125,6 +1258,11 @@ A78711350E4C459200A7191F /* MLKForeignProcedure.m in Sources */, A78713820E4EFF4000A7191F /* MLKForm.m in Sources */, A72E9E3A0E51CB1300BDE40F /* MLKCompiledClosure.m in Sources */, + A7A860260E66FEFB00021916 /* MLKBinaryStream.m in Sources */, + A7A860280E66FEFB00021916 /* MLKBinaryStreamCharacterStream.m in Sources */, + A7A8602A0E66FEFB00021916 /* MLKCharacterStream.m in Sources */, + A7A8602C0E66FEFB00021916 /* MLKFileHandleStream.m in Sources */, + A7A8602E0E66FEFB00021916 /* MLKStreamStream.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; -- cgit v1.2.3