Changeset 31 for trunk/Target
- Timestamp:
- Feb 18, 2012, 8:02:50 PM (13 years ago)
- Location:
- trunk/Target
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/UTarget.pas
r30 r31 11 11 type 12 12 TCompilerOptimization = (coNone, coNormal); 13 14 TTargetCapability = (tcRun, tcPause, tcStop, tcStepOut, tsStepOver, tsStepInto, 15 tsRunToCursor, tcCompile, tcBreakpoint); 16 TTargetCapabilities = set of TTargetCapability; 13 17 14 18 { TTarget } … … 29 33 CompiledExtension: string; 30 34 ProjectFileName: string; 35 Capabilities: TTargetCapabilities; 31 36 constructor Create; virtual; 32 37 procedure OptimizeSource; … … 34 39 procedure CompileToFile; virtual; 35 40 procedure Run; virtual; 41 procedure Pause; virtual; 42 procedure Stop; virtual; 43 procedure StepOver; virtual; 44 procedure StepInto; virtual; 45 procedure StepOut; virtual; 46 procedure RunToCursor; virtual; 36 47 end; 37 48 … … 168 179 end; 169 180 170 181 procedure TTarget.Pause; 182 begin 183 184 end; 185 186 procedure TTarget.Stop; 187 begin 188 189 end; 190 191 procedure TTarget.StepOver; 192 begin 193 194 end; 195 196 procedure TTarget.StepInto; 197 begin 198 199 end; 200 201 procedure TTarget.StepOut; 202 begin 203 204 end; 205 206 procedure TTarget.RunToCursor; 207 begin 208 209 end; 171 210 172 211 end. -
trunk/Target/UTargetC.pas
r30 r31 19 19 end; 20 20 21 21 22 implementation 22 23 … … 29 30 SourceExtension := '.c'; 30 31 CompiledExtension := '.exe'; 32 Capabilities := [tcCompile, tcRun]; 31 33 {$IFDEF Windows} 32 34 CompilerPath := 'c:\Program Files\MinGW\bin\gcc.exe -o %1:s'; -
trunk/Target/UTargetDelphi.pas
r30 r31 27 27 SourceExtension := '.pas'; 28 28 CompiledExtension := '.exe'; 29 Capabilities := [tcCompile, tcRun]; 29 30 {$IFDEF Windows} 30 31 CompilerPath := 'c:\Program Files\Embarcadero\RAD Studio\9.0\bin\DCC32.EXE'; -
trunk/Target/UTargetInterpretter.pas
r30 r31 6 6 7 7 uses 8 Classes, SysUtils, Dialogs, Forms, StrUtils ;8 Classes, SysUtils, Dialogs, Forms, StrUtils, UTarget; 9 9 10 10 type … … 28 28 { TTargetInterpretter } 29 29 30 TTargetInterpretter = class 30 TTargetInterpretter = class(TTarget) 31 31 private 32 32 FCellSize: Integer; … … 64 64 procedure Reset; 65 65 procedure SingleStep; 66 procedure Run; 67 procedure Pause; 68 procedure Stop; 66 procedure Run; override; 67 procedure Pause; override; 68 procedure Stop; override; 69 69 constructor Create; 70 70 destructor Destroy; override; … … 284 284 constructor TTargetInterpretter.Create; 285 285 begin 286 Name := 'Interpretter'; 287 Capabilities := [tcRun, tcPause, tcStop]; 286 288 MemorySize := 30000; 287 289 CellSize := 256; -
trunk/Target/UTargetPHP.pas
r30 r31 28 28 Name := 'PHP'; 29 29 SourceExtension := '.php'; 30 Capabilities := [tcCompile, tcRun]; 30 31 {$IFDEF Windows} 31 32 CompilerPath := 'c:\Program Files\PHP\php.exe';
Note:
See TracChangeset
for help on using the changeset viewer.