Xref: utzoo comp.sys.mac:19312 comp.sys.mac.programmer:2084 Path: utzoo!utgpu!attcan!uunet!husc6!endor!singer From: singer@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: LSP 2.0 Keywords: features editor Message-ID: <5116@husc6.harvard.edu> Date: 15 Aug 88 15:06:40 GMT References: <450@umn-d-ub.D.UMN.EDU> Sender: news@husc6.harvard.edu Reply-To: singer@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 67 In article <450@umn-d-ub.D.UMN.EDU> gandreas@umn-d-ub.D.UMN.EDU (Glenn Andreas) writes: > >Since I heard about LSP 2.0 coming out with the ability to compile MacApp, >I've been thinking about buying it (I use MPW now). But I was wondering a >few things about it: > > First, how does the editor work? I've never used LSP before but I > have used MacPascal, and I understand that it is the same/similar > editor. Is this true? That is, does the editor automatically > "parse" the code you type (and do things like pretty-print, and make > reserved words lowercase and bold?). Can all of that be turned > off? I want a editor that keeps things just the way I type them - > if I want to indent after an "IF" or put the short bit of code on > the same line after the "THEN" it is my business. I write in a > certain style for a reason - so I can understand it. If the editor > works against me, I won't buy it, no matter how nice everything else > is. Because of the way the prettyprinter is central to Lightspeed Pascal's design, it can't be turned off. However, the version 2 pretty pritnter can be customized, so formatting such as you have described is possible. >The rest of the issues are minor in comparison: > > Does it allow LHS type coersion? (e.g. CursorHandle(h)^^:=c ) Yes > Does it allow calculated constants? (e.g. CONST maxPlus1 = max + 1) Yes. > Does it allow "short circuit" boolean evaluation (e.g. IF h<>NIL & > h^^.f > 5 THEN ... ) Not at present, though if there's time, possibly. > Does it pack arrays of booleans correctly? (TYPE KeyMap = PACKED > ARRAY [0..128] OF BOOLEAN) What is "correctly"? Packing is implementation-dependent. If you mean, "does it pack arrays of booleans to bits?", the answer is no. > Does it have conditional compilation? ({$IFC Debug=TRUE} WriteLn(x); > {$ENDC}) Yes. >I guess these last all come down to how close it is to MPW Pascal. The It's very close. Close enough so that MacApp can be compiled with the changes irequired being limited mostly to source reoranization. Version 2.0 will be shipping in the third quarter. R. Rich Siegel Quality Assurance Technician THINK Technologies Division, Symantec Corp. Internet: singer@endor.harvard.edu UUCP: ..harvard!endor!singer Phone: (617) 275-4800 x305