Changeset 18 for branches/Void
- Timestamp:
- Nov 10, 2009, 3:38:32 PM (15 years ago)
- Location:
- branches/Void
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Void
- Property svn:ignore
-
old new 11 11 Output.dpr 12 12 Output.exe 13 Output.asm
-
- Property svn:ignore
-
branches/Void/Generators/UCGenerator.pas
r16 r18 70 70 // Variable section 71 71 for I := 0 to Variables.Count - 1 do 72 with TVariable(Variables[I])do72 with Variables[I] do 73 73 Output.Add(Indent + ConvertType(VarType.Name) + ' ' + Name + ';'); 74 74 if Variables.Count > 0 then Output.Add(''); … … 76 76 // Code block 77 77 for I := 0 to BeginEnd.Commands.Count - 1 do 78 with TCommand(BeginEnd.Commands[I])do begin78 with BeginEnd.Commands[I] do begin 79 79 if Name = 'Assignment' then Output.Add(Indent + 80 TVariableValue(Parameters[0]).VariableDef.Name + ' = ' +80 Parameters[0].VariableDef.Name + ' = ' + 81 81 GenerateVariableValue(TVariableValue(Parameters[1])) + ';') 82 82 else begin -
branches/Void/Generators/UPascalGenerator.pas
r16 r18 55 55 Inc(IndentCount); 56 56 for I := 0 to Variables.Count - 1 do 57 with TVariable(Variables[I])do57 with Variables[I] do 58 58 Output.Add(Indent + Name + ': ' + VarType.Name + ';'); 59 59 Dec(IndentCount); … … 63 63 Inc(IndentCount); 64 64 for I := 0 to BeginEnd.Commands.Count - 1 do 65 with TCommand(BeginEnd.Commands[I])do begin65 with BeginEnd.Commands[I] do begin 66 66 if Name = 'Assignment' then Output.Add(Indent + 67 TVariableValue(Parameters[0]).VariableDef.Name + ' := ' +67 Parameters[0].VariableDef.Name + ' := ' + 68 68 GenerateVariableValue(TVariableValue(Parameters[1])) + ';') 69 69 else begin -
branches/Void/Generators/UZ80Generator.pas
r16 r18 51 51 // var section 52 52 for I := 0 to Variables.Count - 1 do 53 with TVariable(Variables[I])do53 with Variables[I] do 54 54 Output.Add(Name + ': DB ' + VarType.Name + ';'); 55 55 … … 58 58 Inc(IndentCount); 59 59 for I := 0 to BeginEnd.Commands.Count - 1 do 60 with TCommand(BeginEnd.Commands[I])do begin60 with BeginEnd.Commands[I] do begin 61 61 if Name = 'Assignment' then Output.Add(' LD ' + 62 TVariableValue(Parameters[0]).VariableDef.Name + ', ' +62 Parameters[0].VariableDef.Name + ', ' + 63 63 GenerateVariableValue(TVariableValue(Parameters[1]))) 64 64 else begin -
branches/Void/UCompilator.pas
r17 r18 6 6 7 7 uses 8 Classes, SysUtils, UOutputGenerator, UModel, UVoidParser ;8 Classes, SysUtils, UOutputGenerator, UModel, UVoidParser, fgl; 9 9 10 10 type … … 15 15 Text: string; 16 16 end; 17 18 TErrorMessageList = specialize TFPGObjectList<TErrorMessage>; 19 20 { TCompilator } 17 21 18 22 TCompilator = class … … 23 27 procedure ParseProgram; 24 28 procedure ParseVariableDefinition; 29 procedure ParseTypeDefinition; 30 procedure ParseExpression; 25 31 public 26 ErrorMessages: T List;32 ErrorMessages: TErrorMessageList; 27 33 Model: TModel; 28 34 SourceCode: TStream; … … 43 49 Terminate: Boolean; 44 50 begin 45 with TErrorMessage(ErrorMessages[ErrorMessages.Add(TErrorMessage.Create)])do begin51 with ErrorMessages.Add do begin 46 52 CodePosition := Parser.TokenStartPosition; 47 53 Text := AText; … … 72 78 if Parser.TokenValue = 'var' then begin 73 79 ParseVariableDefinition; 80 end else 81 if Parser.TokenValue = 'type' then begin 82 ParseTypeDefinition; 74 83 end else 75 84 if Parser.TokenValue = 'begin' then begin … … 128 137 end; 129 138 139 procedure TCompilator.ParseTypeDefinition; 140 begin 141 142 end; 143 144 procedure TCompilator.ParseExpression; 145 begin 146 147 end; 148 130 149 procedure TCompilator.Compile; 131 150 var … … 162 181 Command := FindProcedureByName(CommandName); 163 182 if Assigned(Command) then begin 164 with TCommand(Commands[Commands.Add(TCommand.Create)])do begin183 with Commands[Commands.Add(TCommand.Create)] do begin 165 184 Name := CommandName; 166 185 if Command.Parameters.Count > 0 then begin … … 170 189 for P := 0 to Command.Parameters.Count - 1 do begin 171 190 if (Parser.TokenType = ttString) then 172 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin191 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 173 192 ValueType := vtString; 174 193 StringConstant := Parser.TokenValue; 175 194 end else 176 195 if (Parser.TokenType = ttIdentifier) then 177 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin196 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 178 197 ValueType := vtVariable; 179 198 SourceVariable := FindVariableByName(Parser.TokenValue); … … 210 229 Variable := FindVariableByName(CommandName); 211 230 if Assigned(Variable) then 212 with TCommand(Commands[Commands.Add(TCommand.Create)])do begin231 with Commands[Commands.Add(TCommand.Create)] do begin 213 232 Name := 'Assignment'; 214 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin233 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 215 234 ValueType := vtVariable; 216 235 Variable := Variable; 217 236 end; 218 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin237 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 219 238 ValueType := vtVariable; 220 239 VariableDef := SourceVariable; … … 223 242 end; 224 243 end else if Parser.TokenType = ttString then begin 225 with TCommand(Commands[Commands.Add(TCommand.Create)])do begin244 with Commands[Commands.Add(TCommand.Create)] do begin 226 245 Name := 'Assignment'; 227 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin246 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 228 247 ValueType := vtVariable; 229 248 VariableDef := Variable; 230 249 end; 231 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin250 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 232 251 ValueType := vtString; 233 252 StringConstant := Parser.TokenValue; … … 235 254 end; 236 255 end else if Parser.TokenType = ttNumber then begin 237 with TCommand(Commands[Commands.Add(TCommand.Create)])do begin256 with Commands[Commands.Add(TCommand.Create)] do begin 238 257 Name := 'Assignment'; 239 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin258 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 240 259 ValueType := vtVariable; 241 260 VariableDef := Variable; 242 261 end; 243 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)])do begin262 with Parameters[Parameters.Add(TVariableValue.Create)] do begin 244 263 ValueType := vtNumber; 245 264 NumberConstant := StrToInt(Parser.TokenValue); … … 263 282 constructor TCompilator.Create; 264 283 begin 265 ErrorMessages := T List.Create;284 ErrorMessages := TErrorMessageList.Create; 266 285 SourceCode := TMemoryStream.Create; 267 286 Model := TModel.Create; … … 270 289 271 290 destructor TCompilator.Destroy; 272 var 273 I: Integer; 274 begin 275 for I := 0 to ErrorMessages.Count - 1 do 276 TErrorMessage(ErrorMessages[I]).Destroy; 291 begin 277 292 ErrorMessages.Destroy; 278 293 SourceCode.Destroy; -
branches/Void/UModel.pas
r16 r18 6 6 7 7 uses 8 Classes, SysUtils ;8 Classes, SysUtils, fgl; 9 9 10 10 type … … 16 16 end; 17 17 18 TTypeList = specialize TFPGObjectList<TType>; 19 18 20 TVariable = class 19 21 Name: string; 20 22 VarType: TType; 21 23 end; 24 25 TVariableList = specialize TFPGObjectList<TVariable>; 22 26 23 27 TVariableValue = class … … 30 34 end; 31 35 36 TVariableValueList = specialize TFPGObjectList<TVariableValue>; 37 38 TExpression = class 39 40 end; 41 32 42 TCommand = class 33 43 Name: string; 34 Parameters: TList; 35 constructor Create; 36 destructor Destroy; override; 37 end; 44 Parameters: TVariableValueList; 45 constructor Create; 46 destructor Destroy; override; 47 end; 48 49 TCommandList = specialize TFPGObjectList<TCommand>; 38 50 39 51 TBeginEnd = class 40 Commands: T List;52 Commands: TCommandList; 41 53 constructor Create; 42 54 destructor Destroy; override; … … 46 58 TProcedure = class 47 59 Name: string; 48 Parameters: T List;60 Parameters: TVariableList; 49 61 BeginEnd: TBeginEnd; 50 62 constructor Create; 51 63 destructor Destroy; override; 52 64 end; 65 66 TProcedureList = specialize TFPGObjectList<TProcedure>; 53 67 54 68 TModuleType = (mtUnit, mtProgram); … … 58 72 Name: string; 59 73 ModuleType: TModuleType; 60 Types: T List;61 Variables: T List;62 Procedures: T List;74 Types: TTypeList; 75 Variables: TVariableList; 76 Procedures: TProcedureList; 63 77 BeginEnd: TBeginEnd; 64 78 constructor Create; … … 105 119 constructor TBeginEnd.Create; 106 120 begin 107 Commands := T List.Create;121 Commands := TCommandList.Create; 108 122 end; 109 123 110 124 destructor TBeginEnd.Destroy; 125 begin 126 Commands.Destroy; 127 inherited Destroy; 128 end; 129 130 procedure TBeginEnd.Clear; 111 131 var 112 132 I: Integer; 113 133 begin 114 134 for I := 0 to Commands.Count - 1 do 115 TCommand(Commands[I]).Destroy; 116 Commands.Destroy; 117 inherited Destroy; 118 end; 119 120 procedure TBeginEnd.Clear; 121 var 122 I: Integer; 123 begin 124 for I := 0 to Commands.Count - 1 do 125 TCommand(Commands[I]).Destroy; 135 Commands[I].Destroy; 126 136 Commands.Clear; 127 137 end; … … 131 141 constructor TCommand.Create; 132 142 begin 133 Parameters := T List.Create;143 Parameters := TVariableValueList.Create; 134 144 end; 135 145 136 146 destructor TCommand.Destroy; 137 var 138 I: Integer; 139 begin 140 for I := 0 to Parameters.Count - 1 do 141 TVariableValue(Parameters[I]).Destroy; 147 begin 142 148 Parameters.Destroy; 143 149 inherited Destroy; … … 147 153 begin 148 154 BeginEnd := TBeginEnd.Create; 149 Parameters := T List.Create;155 Parameters := TVariableList.Create; 150 156 end; 151 157 152 158 destructor TProcedure.Destroy; 153 var 154 I: Integer; 155 begin 156 for I := 0 to Parameters.Count - 1 do 157 TVariableValue(Parameters[I]).Destroy; 159 begin 158 160 Parameters.Destroy; 159 161 BeginEnd.Destroy; … … 165 167 constructor TModule.Create; 166 168 begin 167 Types := T List.Create;168 Variables := T List.Create;169 Types := TTypeList.Create; 170 Variables := TVariableList.Create; 169 171 BeginEnd := TBeginEnd.Create; 170 Procedures := T List.Create;172 Procedures := TProcedureList.Create; 171 173 end; 172 174 173 175 destructor TModule.Destroy; 174 var 175 I: Integer; 176 begin 177 for I := 0 to Types.Count - 1 do 178 TType(Types[I]).Destroy; 176 begin 179 177 Types.Destroy; 180 for I := 0 to Variables.Count - 1 do181 TVariable(Variables[I]).Destroy;182 178 Variables.Destroy; 183 for I := 0 to Procedures.Count - 1 do184 TProcedure(Procedures[I]).Destroy;185 179 Procedures.Destroy; 186 180 BeginEnd.Destroy; … … 193 187 begin 194 188 I := 0; 195 while (I < Variables.Count) and (LowerCase( TVariable(Variables[I]).Name) <> LowerCase(AName)) do189 while (I < Variables.Count) and (LowerCase(Variables[I].Name) <> LowerCase(AName)) do 196 190 Inc(I); 197 191 if I < Variables.Count then Result := Variables[I] else Result := nil; … … 203 197 begin 204 198 I := 0; 205 while (I < Procedures.Count) and (LowerCase( TProcedure(Procedures[I]).Name) <> LowerCase(AName)) do199 while (I < Procedures.Count) and (LowerCase(Procedures[I].Name) <> LowerCase(AName)) do 206 200 Inc(I); 207 201 if I < Procedures.Count then Result := Procedures[I] else Result := nil; … … 212 206 begin 213 207 // System types 214 with T Type(Types[Types.Add(TType.Create)])do begin208 with Types[Types.Add(TType.Create)] do begin 215 209 Name := 'Integer'; 216 210 end; 217 with T Type(Types[Types.Add(TType.Create)])do begin211 with Types[Types.Add(TType.Create)] do begin 218 212 Name := 'String'; 219 213 end; 220 with T Type(Types[Types.Add(TType.Create)])do begin214 with Types[Types.Add(TType.Create)] do begin 221 215 Name := 'Char'; 222 216 end; 223 with T Type(Types[Types.Add(TType.Create)])do begin217 with Types[Types.Add(TType.Create)] do begin 224 218 Name := 'Byte'; 225 219 end; 226 with T Type(Types[Types.Add(TType.Create)])do begin220 with Types[Types.Add(TType.Create)] do begin 227 221 Name := 'Word'; 228 222 end; 229 223 230 224 // System procedures 231 with TProcedure(Procedures[Procedures.Add(TProcedure.Create)])do begin225 with Procedures[Procedures.Add(TProcedure.Create)] do begin 232 226 Name := 'WriteLn'; 233 with TVariable(Parameters[Parameters.Add(TVariable.Create)])do begin227 with Parameters[Parameters.Add(TVariable.Create)] do begin 234 228 Name := 'Text'; 235 229 VarType := FindTypeByName('String'); 236 230 end; 237 231 end; 238 with TProcedure(Procedures[Procedures.Add(TProcedure.Create)])do begin232 with Procedures[Procedures.Add(TProcedure.Create)] do begin 239 233 Name := 'Exit'; 240 234 end; 241 with TProcedure(Procedures[Procedures.Add(TProcedure.Create)])do begin235 with Procedures[Procedures.Add(TProcedure.Create)] do begin 242 236 Name := 'ReadLn'; 243 237 end; … … 249 243 begin 250 244 for I := 0 to Variables.Count - 1 do 251 TVariable(Variables[I]).Destroy;245 Variables[I].Destroy; 252 246 Variables.Clear; 253 247 BeginEnd.Clear; … … 260 254 begin 261 255 I := 0; 262 while (I < Types.Count) and (LowerCase(T Type(Types[I]).Name) <> LowerCase(AName)) do256 while (I < Types.Count) and (LowerCase(Types[I].Name) <> LowerCase(AName)) do 263 257 Inc(I); 264 258 if I < Types.Count then Result := Types[I] else Result := nil; -
branches/Void/project1.lpi
r17 r18 9 9 <Icon Value="0"/> 10 10 <UseXPManifest Value="True"/> 11 <ActiveEditorIndexAtStart Value="1 "/>11 <ActiveEditorIndexAtStart Value="10"/> 12 12 </General> 13 13 <VersionInfo> … … 37 37 </Item2> 38 38 </RequiredPackages> 39 <Units Count="2 0">39 <Units Count="24"> 40 40 <Unit0> 41 41 <Filename Value="project1.lpr"/> … … 44 44 <CursorPos X="51" Y="9"/> 45 45 <TopLine Value="1"/> 46 <UsageCount Value=" 47"/>46 <UsageCount Value="56"/> 47 47 </Unit0> 48 48 <Unit1> … … 55 55 <TopLine Value="114"/> 56 56 <EditorIndex Value="0"/> 57 <UsageCount Value=" 47"/>57 <UsageCount Value="56"/> 58 58 <Loaded Value="True"/> 59 59 </Unit1> … … 61 61 <Filename Value="UCompilator.pas"/> 62 62 <UnitName Value="UCompilator"/> 63 <CursorPos X=" 18" Y="135"/>64 <TopLine Value=" 130"/>63 <CursorPos X="24" Y="290"/> 64 <TopLine Value="51"/> 65 65 <EditorIndex Value="2"/> 66 <UsageCount Value="2 4"/>66 <UsageCount Value="28"/> 67 67 <Loaded Value="True"/> 68 68 </Unit2> … … 72 72 <UnitName Value="UOutputGenerator"/> 73 73 <CursorPos X="1" Y="13"/> 74 <TopLine Value=" 7"/>75 <EditorIndex Value=" 4"/>76 <UsageCount Value=" 47"/>74 <TopLine Value="20"/> 75 <EditorIndex Value="6"/> 76 <UsageCount Value="56"/> 77 77 <Loaded Value="True"/> 78 78 </Unit3> … … 82 82 <CursorPos X="8" Y="7"/> 83 83 <TopLine Value="1"/> 84 <UsageCount Value=" 47"/>84 <UsageCount Value="56"/> 85 85 <SyntaxHighlighter Value="None"/> 86 86 </Unit4> … … 89 89 <IsPartOfProject Value="True"/> 90 90 <UnitName Value="UModel"/> 91 <CursorPos X="1 1" Y="75"/>92 <TopLine Value=" 53"/>93 <EditorIndex Value=" 8"/>94 <UsageCount Value=" 47"/>91 <CursorPos X="16" Y="135"/> 92 <TopLine Value="65"/> 93 <EditorIndex Value="10"/> 94 <UsageCount Value="56"/> 95 95 <Loaded Value="True"/> 96 96 </Unit5> … … 100 100 <CursorPos X="7" Y="11"/> 101 101 <TopLine Value="1"/> 102 <UsageCount Value="1 8"/>102 <UsageCount Value="17"/> 103 103 </Unit6> 104 104 <Unit7> 105 105 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\classes\classesh.inc"/> 106 <CursorPos X=" 15" Y="743"/>107 <TopLine Value=" 728"/>106 <CursorPos X="27" Y="218"/> 107 <TopLine Value="208"/> 108 108 <UsageCount Value="13"/> 109 109 </Unit7> … … 112 112 <CursorPos X="16" Y="324"/> 113 113 <TopLine Value="322"/> 114 <UsageCount Value="1 3"/>114 <UsageCount Value="12"/> 115 115 </Unit8> 116 116 <Unit9> … … 118 118 <CursorPos X="10" Y="89"/> 119 119 <TopLine Value="70"/> 120 <UsageCount Value=" 8"/>120 <UsageCount Value="7"/> 121 121 </Unit9> 122 122 <Unit10> … … 126 126 <CursorPos X="30" Y="162"/> 127 127 <TopLine Value="140"/> 128 <EditorIndex Value=" 3"/>129 <UsageCount Value=" 47"/>128 <EditorIndex Value="5"/> 129 <UsageCount Value="56"/> 130 130 <Loaded Value="True"/> 131 131 </Unit10> … … 134 134 <CursorPos X="5" Y="370"/> 135 135 <TopLine Value="365"/> 136 <UsageCount Value=" 9"/>136 <UsageCount Value="8"/> 137 137 </Unit11> 138 138 <Unit12> … … 141 141 <CursorPos X="1" Y="1"/> 142 142 <TopLine Value="16"/> 143 <UsageCount Value=" 10"/>143 <UsageCount Value="9"/> 144 144 </Unit12> 145 145 <Unit13> … … 148 148 <CursorPos X="1" Y="1"/> 149 149 <TopLine Value="1"/> 150 <UsageCount Value="1 2"/>150 <UsageCount Value="11"/> 151 151 </Unit13> 152 152 <Unit14> … … 154 154 <CursorPos X="4" Y="36"/> 155 155 <TopLine Value="21"/> 156 <UsageCount Value=" 10"/>156 <UsageCount Value="9"/> 157 157 </Unit14> 158 158 <Unit15> … … 160 160 <IsPartOfProject Value="True"/> 161 161 <UnitName Value="UModelViewer"/> 162 <CursorPos X="1 4" Y="19"/>163 <TopLine Value="1 6"/>162 <CursorPos X="10" Y="28"/> 163 <TopLine Value="1"/> 164 164 <EditorIndex Value="1"/> 165 <UsageCount Value=" 23"/>165 <UsageCount Value="32"/> 166 166 <Loaded Value="True"/> 167 167 </Unit15> … … 170 170 <CursorPos X="28" Y="33"/> 171 171 <TopLine Value="18"/> 172 <UsageCount Value=" 10"/>172 <UsageCount Value="9"/> 173 173 </Unit16> 174 174 <Unit17> … … 176 176 <IsPartOfProject Value="True"/> 177 177 <UnitName Value="UZ80Generator"/> 178 <CursorPos X=" 9" Y="63"/>179 <TopLine Value=" 47"/>180 <EditorIndex Value=" 5"/>181 <UsageCount Value=" 22"/>178 <CursorPos X="24" Y="53"/> 179 <TopLine Value="2"/> 180 <EditorIndex Value="7"/> 181 <UsageCount Value="31"/> 182 182 <Loaded Value="True"/> 183 183 </Unit17> … … 186 186 <IsPartOfProject Value="True"/> 187 187 <UnitName Value="UCGenerator"/> 188 <CursorPos X=" 56" Y="8"/>189 <TopLine Value=" 1"/>190 <EditorIndex Value=" 7"/>191 <UsageCount Value=" 22"/>188 <CursorPos X="24" Y="80"/> 189 <TopLine Value="73"/> 190 <EditorIndex Value="9"/> 191 <UsageCount Value="31"/> 192 192 <Loaded Value="True"/> 193 193 </Unit18> … … 196 196 <IsPartOfProject Value="True"/> 197 197 <UnitName Value="UPascalGenerator"/> 198 <CursorPos X="2 7" Y="61"/>199 <TopLine Value=" 53"/>200 <EditorIndex Value=" 6"/>201 <UsageCount Value=" 22"/>198 <CursorPos X="24" Y="57"/> 199 <TopLine Value="1"/> 200 <EditorIndex Value="8"/> 201 <UsageCount Value="31"/> 202 202 <Loaded Value="True"/> 203 203 </Unit19> 204 <Unit20> 205 <Filename Value="UGrammer.pas"/> 206 <IsPartOfProject Value="True"/> 207 <UnitName Value="UGrammer"/> 208 <CursorPos X="62" Y="20"/> 209 <TopLine Value="1"/> 210 <EditorIndex Value="3"/> 211 <UsageCount Value="27"/> 212 <Loaded Value="True"/> 213 </Unit20> 214 <Unit21> 215 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\win32\classes.pp"/> 216 <UnitName Value="Classes"/> 217 <CursorPos X="12" Y="44"/> 218 <TopLine Value="31"/> 219 <UsageCount Value="11"/> 220 </Unit21> 221 <Unit22> 222 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 223 <UnitName Value="fgl"/> 224 <CursorPos X="36" Y="356"/> 225 <TopLine Value="341"/> 226 <EditorIndex Value="4"/> 227 <UsageCount Value="11"/> 228 <Loaded Value="True"/> 229 </Unit22> 230 <Unit23> 231 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\inc\objpash.inc"/> 232 <CursorPos X="22" Y="177"/> 233 <TopLine Value="153"/> 234 <UsageCount Value="10"/> 235 </Unit23> 204 236 </Units> 205 237 <JumpHistory Count="30" HistoryIndex="29"> 206 238 <Position1> 207 <Filename Value="U MainForm.pas"/>208 <Caret Line=" 105" Column="1" TopLine="79"/>239 <Filename Value="UGrammer.pas"/> 240 <Caret Line="8" Column="25" TopLine="1"/> 209 241 </Position1> 210 242 <Position2> 211 <Filename Value="U MainForm.pas"/>212 <Caret Line=" 41" Column="1" TopLine="26"/>243 <Filename Value="UGrammer.pas"/> 244 <Caret Line="25" Column="28" TopLine="10"/> 213 245 </Position2> 214 246 <Position3> 215 <Filename Value="U MainForm.pas"/>216 <Caret Line=" 39" Column="31" TopLine="17"/>247 <Filename Value="UGrammer.pas"/> 248 <Caret Line="20" Column="33" TopLine="5"/> 217 249 </Position3> 218 250 <Position4> 219 <Filename Value="U ModelViewer.pas"/>220 <Caret Line=" 23" Column="12" TopLine="1"/>251 <Filename Value="UGrammer.pas"/> 252 <Caret Line="37" Column="1" TopLine="9"/> 221 253 </Position4> 222 254 <Position5> 223 <Filename Value="U ModelViewer.pas"/>224 <Caret Line=" 25" Column="25" TopLine="5"/>255 <Filename Value="UGrammer.pas"/> 256 <Caret Line="62" Column="12" TopLine="36"/> 225 257 </Position5> 226 258 <Position6> 227 <Filename Value="U ModelViewer.pas"/>228 <Caret Line=" 17" Column="48" TopLine="4"/>259 <Filename Value="UGrammer.pas"/> 260 <Caret Line="30" Column="43" TopLine="34"/> 229 261 </Position6> 230 262 <Position7> 231 <Filename Value="U ModelViewer.pas"/>232 <Caret Line=" 26" Column="3" TopLine="15"/>263 <Filename Value="UGrammer.pas"/> 264 <Caret Line="63" Column="17" TopLine="37"/> 233 265 </Position7> 234 266 <Position8> 235 <Filename Value=" UModelViewer.pas"/>236 <Caret Line=" 17" Column="46" TopLine="2"/>267 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 268 <Caret Line="799" Column="9" TopLine="795"/> 237 269 </Position8> 238 270 <Position9> 239 <Filename Value=" UModelViewer.pas"/>240 <Caret Line="3 6" Column="11" TopLine="15"/>271 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 272 <Caret Line="320" Column="50" TopLine="313"/> 241 273 </Position9> 242 274 <Position10> 243 <Filename Value=" UCompilator.pas"/>244 <Caret Line=" 220" Column="82" TopLine="207"/>275 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 276 <Caret Line="712" Column="39" TopLine="697"/> 245 277 </Position10> 246 278 <Position11> 247 <Filename Value=" UVoidParser.pas"/>248 <Caret Line=" 89" Column="29" TopLine="72"/>279 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 280 <Caret Line="715" Column="23" TopLine="697"/> 249 281 </Position11> 250 282 <Position12> 251 <Filename Value=" UOutputGenerator.pas"/>252 <Caret Line="7 8" Column="42" TopLine="53"/>283 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 284 <Caret Line="730" Column="11" TopLine="715"/> 253 285 </Position12> 254 286 <Position13> 255 <Filename Value=" UMainForm.pas"/>256 <Caret Line=" 10" Column="16" TopLine="1"/>287 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 288 <Caret Line="725" Column="31" TopLine="715"/> 257 289 </Position13> 258 290 <Position14> 259 <Filename Value=" Generators\UPascalGenerator.pas"/>260 <Caret Line="8 " Column="56" TopLine="1"/>291 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 292 <Caret Line="825" Column="41" TopLine="810"/> 261 293 </Position14> 262 294 <Position15> 263 <Filename Value=" Generators\UPascalGenerator.pas"/>264 <Caret Line=" 56" Column="18" TopLine="1"/>295 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 296 <Caret Line="1" Column="24" TopLine="1"/> 265 297 </Position15> 266 298 <Position16> 267 <Filename Value=" Generators\UPascalGenerator.pas"/>268 <Caret Line=" 11" Column="36" TopLine="1"/>299 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 300 <Caret Line="42" Column="20" TopLine="27"/> 269 301 </Position16> 270 302 <Position17> 271 <Filename Value=" Generators\UZ80Generator.pas"/>272 <Caret Line=" 8" Column="56" TopLine="4"/>303 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 304 <Caret Line="43" Column="20" TopLine="27"/> 273 305 </Position17> 274 306 <Position18> 275 <Filename Value=" UMainForm.pas"/>276 <Caret Line="9 4" Column="1" TopLine="71"/>307 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 308 <Caret Line="96" Column="20" TopLine="81"/> 277 309 </Position18> 278 310 <Position19> 279 <Filename Value=" UMainForm.pas"/>280 <Caret Line=" 97" Column="28" TopLine="1"/>311 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 312 <Caret Line="127" Column="20" TopLine="112"/> 281 313 </Position19> 282 314 <Position20> 283 <Filename Value=" UCompilator.pas"/>284 <Caret Line=" 269" Column="19" TopLine="243"/>315 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 316 <Caret Line="158" Column="20" TopLine="143"/> 285 317 </Position20> 286 318 <Position21> 287 <Filename Value=" UCompilator.pas"/>288 <Caret Line=" 41" Column="40" TopLine="23"/>319 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 320 <Caret Line="237" Column="20" TopLine="222"/> 289 321 </Position21> 290 322 <Position22> 291 <Filename Value=" UMainForm.pas"/>292 <Caret Line=" 110" Column="5" TopLine="60"/>323 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 324 <Caret Line="338" Column="25" TopLine="323"/> 293 325 </Position22> 294 326 <Position23> 295 <Filename Value=" UMainForm.pas"/>296 <Caret Line=" 109" Column="5" TopLine="79"/>327 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 328 <Caret Line="342" Column="25" TopLine="323"/> 297 329 </Position23> 298 330 <Position24> 299 <Filename Value=" UMainForm.pas"/>300 <Caret Line=" 110" Column="5" TopLine="80"/>331 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 332 <Caret Line="349" Column="10" TopLine="323"/> 301 333 </Position24> 302 334 <Position25> 303 <Filename Value=" UMainForm.pas"/>304 <Caret Line=" 90" Column="15" TopLine="75"/>335 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\fgl.pp"/> 336 <Caret Line="367" Column="12" TopLine="352"/> 305 337 </Position25> 306 338 <Position26> 307 <Filename Value="U MainForm.pas"/>308 <Caret Line=" 119" Column="34" TopLine="105"/>339 <Filename Value="UGrammer.pas"/> 340 <Caret Line="8" Column="20" TopLine="1"/> 309 341 </Position26> 310 342 <Position27> 311 <Filename Value="UM ainForm.pas"/>312 <Caret Line=" 10" Column="32" TopLine="1"/>343 <Filename Value="UModel.pas"/> 344 <Caret Line="76" Column="25" TopLine="67"/> 313 345 </Position27> 314 346 <Position28> 315 <Filename Value="UM ainForm.pas"/>316 <Caret Line=" 40" Column="5" TopLine="25"/>347 <Filename Value="UModel.pas"/> 348 <Caret Line="121" Column="23" TopLine="106"/> 317 349 </Position28> 318 350 <Position29> 319 <Filename Value="UM ainForm.pas"/>320 <Caret Line="1 0" Column="32" TopLine="1"/>351 <Filename Value="UModel.pas"/> 352 <Caret Line="147" Column="31" TopLine="132"/> 321 353 </Position29> 322 354 <Position30> 323 <Filename Value="UM ainForm.pas"/>324 <Caret Line=" 67" Column="1" TopLine="53"/>355 <Filename Value="UModel.pas"/> 356 <Caret Line="163" Column="26" TopLine="148"/> 325 357 </Position30> 326 358 </JumpHistory> -
branches/Void/project1.lpr
r16 r18 9 9 Interfaces, // this includes the LCL widgetset 10 10 Forms, UMainForm, UOutputGenerator, LResources, UModel, UVoidParser, 11 UModelViewer, UZ80Generator, UCGenerator, UPascalGenerator ;11 UModelViewer, UZ80Generator, UCGenerator, UPascalGenerator, UGrammer; 12 12 13 13 {$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}
Note:
See TracChangeset
for help on using the changeset viewer.