Changeset 33
- Timestamp:
- Aug 4, 2010, 1:53:01 PM (14 years ago)
- Files:
-
- 3 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Pascal Compiler 2/Example.pas
r20 r33 23 23 24 24 // dasdComment 25 25 26 26 27 //Here we are 28 27 29 ddd 28 30 {dfsf} … … 58 60 59 61 end. 60 -
branches/Syntetizer/Syntetizer.lpi
r27 r33 50 50 <ResourceBaseClass Value="Form"/> 51 51 <UnitName Value="UMainForm"/> 52 <CursorPos X=" 18" Y="53"/>53 <TopLine Value=" 40"/>52 <CursorPos X="8" Y="3"/> 53 <TopLine Value="1"/> 54 54 <EditorIndex Value="0"/> 55 55 <UsageCount Value="20"/> … … 60 60 <IsPartOfProject Value="True"/> 61 61 <UnitName Value="USyntetizer"/> 62 <CursorPos X="5 0" Y="227"/>63 <TopLine Value="21 1"/>62 <CursorPos X="58" Y="37"/> 63 <TopLine Value="21"/> 64 64 <EditorIndex Value="2"/> 65 65 <UsageCount Value="20"/> … … 69 69 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.28\fpc\2.2.4\source\rtl\objpas\classes\classesh.inc"/> 70 70 <CursorPos X="3" Y="234"/> 71 <TopLine Value="218"/> 71 <TopLine Value="1"/> 72 <EditorIndex Value="3"/> 72 73 <UsageCount Value="10"/> 74 <Loaded Value="True"/> 73 75 </Unit3> 74 76 </Units> … … 76 78 <Position1> 77 79 <Filename Value="USyntetizer.pas"/> 78 <Caret Line=" 57" Column="65" TopLine="42"/>80 <Caret Line="36" Column="1" TopLine="15"/> 79 81 </Position1> 80 82 <Position2> 81 83 <Filename Value="USyntetizer.pas"/> 82 <Caret Line=" 63" Column="39" TopLine="54"/>84 <Caret Line="296" Column="10" TopLine="266"/> 83 85 </Position2> 84 86 <Position3> 85 87 <Filename Value="USyntetizer.pas"/> 86 <Caret Line=" 16" Column="1" TopLine="1"/>88 <Caret Line="293" Column="10" TopLine="271"/> 87 89 </Position3> 88 90 <Position4> 89 91 <Filename Value="USyntetizer.pas"/> 90 <Caret Line=" 100" Column="14" TopLine="84"/>92 <Caret Line="291" Column="18" TopLine="271"/> 91 93 </Position4> 92 94 <Position5> 93 95 <Filename Value="USyntetizer.pas"/> 94 <Caret Line=" 76" Column="19" TopLine="60"/>96 <Caret Line="278" Column="5" TopLine="270"/> 95 97 </Position5> 96 98 <Position6> 97 99 <Filename Value="USyntetizer.pas"/> 98 <Caret Line=" 74" Column="37" TopLine="52"/>100 <Caret Line="33" Column="11" TopLine="17"/> 99 101 </Position6> 100 102 <Position7> 101 103 <Filename Value="USyntetizer.pas"/> 102 <Caret Line=" 114" Column="1" TopLine="100"/>104 <Caret Line="74" Column="1" TopLine="44"/> 103 105 </Position7> 104 106 <Position8> 105 107 <Filename Value="USyntetizer.pas"/> 106 <Caret Line=" 154" Column="13" TopLine="138"/>108 <Caret Line="283" Column="16" TopLine="269"/> 107 109 </Position8> 108 110 <Position9> 109 111 <Filename Value="USyntetizer.pas"/> 110 <Caret Line="2 6" Column="43" TopLine="16"/>112 <Caret Line="276" Column="24" TopLine="260"/> 111 113 </Position9> 112 114 <Position10> 113 115 <Filename Value="USyntetizer.pas"/> 114 <Caret Line=" 29" Column="1" TopLine="11"/>116 <Caret Line="136" Column="7" TopLine="129"/> 115 117 </Position10> 116 118 <Position11> 117 119 <Filename Value="USyntetizer.pas"/> 118 <Caret Line=" 227" Column="6" TopLine="200"/>120 <Caret Line="65" Column="43" TopLine="40"/> 119 121 </Position11> 120 122 <Position12> 121 123 <Filename Value="USyntetizer.pas"/> 122 <Caret Line=" 218" Column="22" TopLine="200"/>124 <Caret Line="325" Column="51" TopLine="306"/> 123 125 </Position12> 124 126 <Position13> 125 127 <Filename Value="USyntetizer.pas"/> 126 <Caret Line=" 58" Column="3" TopLine="42"/>128 <Caret Line="153" Column="31" TopLine="137"/> 127 129 </Position13> 128 130 <Position14> 129 131 <Filename Value="USyntetizer.pas"/> 130 <Caret Line=" 220" Column="26" TopLine="200"/>132 <Caret Line="313" Column="7" TopLine="297"/> 131 133 </Position14> 132 134 <Position15> 133 135 <Filename Value="USyntetizer.pas"/> 134 <Caret Line=" 221" Column="12" TopLine="200"/>136 <Caret Line="54" Column="15" TopLine="38"/> 135 137 </Position15> 136 138 <Position16> 137 139 <Filename Value="USyntetizer.pas"/> 138 <Caret Line=" 65" Column="1" TopLine="39"/>140 <Caret Line="30" Column="3" TopLine="14"/> 139 141 </Position16> 140 142 <Position17> 141 143 <Filename Value="USyntetizer.pas"/> 142 <Caret Line=" 239" Column="3" TopLine="222"/>144 <Caret Line="313" Column="5" TopLine="297"/> 143 145 </Position17> 144 146 <Position18> 145 147 <Filename Value="USyntetizer.pas"/> 146 <Caret Line=" 62" Column="28" TopLine="46"/>148 <Caret Line="54" Column="18" TopLine="38"/> 147 149 </Position18> 148 150 <Position19> 149 151 <Filename Value="USyntetizer.pas"/> 150 <Caret Line=" 245" Column="24" TopLine="222"/>152 <Caret Line="33" Column="51" TopLine="14"/> 151 153 </Position19> 152 154 <Position20> 153 155 <Filename Value="USyntetizer.pas"/> 154 <Caret Line=" 225" Column="3" TopLine="223"/>156 <Caret Line="313" Column="17" TopLine="297"/> 155 157 </Position20> 156 158 <Position21> 157 159 <Filename Value="UMainForm.pas"/> 158 <Caret Line="53" Column=" 18" TopLine="40"/>160 <Caret Line="53" Column="20" TopLine="43"/> 159 161 </Position21> 160 162 <Position22> 161 163 <Filename Value="USyntetizer.pas"/> 162 <Caret Line=" 72" Column="28" TopLine="57"/>164 <Caret Line="85" Column="23" TopLine="69"/> 163 165 </Position22> 164 166 <Position23> 165 167 <Filename Value="USyntetizer.pas"/> 166 <Caret Line="3 5" Column="20" TopLine="21"/>168 <Caret Line="325" Column="15" TopLine="313"/> 167 169 </Position23> 168 170 <Position24> 169 171 <Filename Value="USyntetizer.pas"/> 170 <Caret Line=" 73" Column="16" TopLine="62"/>172 <Caret Line="327" Column="35" TopLine="315"/> 171 173 </Position24> 172 174 <Position25> 173 175 <Filename Value="USyntetizer.pas"/> 174 <Caret Line=" 49" Column="32" TopLine="32"/>176 <Caret Line="312" Column="23" TopLine="304"/> 175 177 </Position25> 176 178 <Position26> 177 179 <Filename Value="USyntetizer.pas"/> 178 <Caret Line=" 17" Column="34" TopLine="7"/>180 <Caret Line="67" Column="48" TopLine="54"/> 179 181 </Position26> 180 182 <Position27> 181 183 <Filename Value="USyntetizer.pas"/> 182 <Caret Line=" 20" Column="57" TopLine="2"/>184 <Caret Line="72" Column="53" TopLine="58"/> 183 185 </Position27> 184 186 <Position28> 185 <Filename Value="U Syntetizer.pas"/>186 <Caret Line=" 29" Column="1" TopLine="2"/>187 <Filename Value="UMainForm.pas"/> 188 <Caret Line="51" Column="20" TopLine="46"/> 187 189 </Position28> 188 190 <Position29> 189 <Filename Value="U Syntetizer.pas"/>190 <Caret Line=" 163" Column="23" TopLine="147"/>191 <Filename Value="UMainForm.pas"/> 192 <Caret Line="59" Column="95" TopLine="44"/> 191 193 </Position29> 192 194 <Position30> 193 195 <Filename Value="USyntetizer.pas"/> 194 <Caret Line=" 237" Column="34" TopLine="225"/>196 <Caret Line="194" Column="18" TopLine="176"/> 195 197 </Position30> 196 198 </JumpHistory> -
branches/Syntetizer/UMainForm.pas
r27 r33 51 51 Value := 'CONSOLE'; 52 52 end; 53 with Procedures do begin 54 with TProcedure(Procedures[Procedures.Add(TProcedure.Create)]) do begin 55 Name := 'Boom'; 56 with TProcedureParameter(Parameters[Parameters.Add(TProcedureParameter.Create)]) do begin 57 Name := 'Value'; 58 VarType := 'string'; 59 end; 60 with Code do begin 61 with TProcedureCall(Commands[Commands.Add(TProcedureCall.Create)]) do begin 62 Name := 'WriteLn'; 63 with TProcedureParameterValue(Parameters[Parameters.Add(TProcedureParameterValue.Create)]) do begin 64 Value := 'Value'; 65 end; 66 end; 67 end; 68 end; 69 end; 53 70 with Variables do begin 54 71 with TVariableDeclaration(Variables[Variables.Add(TVariableDeclaration.Create)]) do begin … … 60 77 with TProcedureCall(Commands[Commands.Add(TProcedureCall.Create)]) do begin 61 78 Name := 'WriteLn'; 62 with TProcedureParameter (Parameters[Parameters.Add(TProcedureParameter.Create)]) do begin79 with TProcedureParameterValue(Parameters[Parameters.Add(TProcedureParameterValue.Create)]) do begin 63 80 Value := '''Hello hell'''; 64 81 end; -
branches/Syntetizer/USyntetizer.pas
r27 r33 26 26 TCommand = class(TInterfacedObject, ISyntetizable) 27 27 procedure Syntetize(Syntetizer: TSyntetizer); virtual; 28 end;29 30 TProcedureParameter = class(TElement)31 Value: string;32 end;33 34 { TProcedureCall }35 36 TProcedureCall = class(TCommand)37 Name: string;38 Parameters: TList; // TList<TProcedureParameter>39 constructor Create;40 destructor Destroy; override;41 procedure Syntetize(Syntetizer: TSyntetizer); override;42 28 end; 43 29 … … 56 42 end; 57 43 58 { TVariableSection }59 60 44 TVariableSection = class(TInterfacedObject, ISyntetizable) 61 45 Variables: TList; // TList<TVariableDeclaration> … … 65 49 end; 66 50 51 TProcedure = class(TInterfacedObject, ISyntetizable) 52 Name: string; 53 Parameters: TList; 54 Code: TBeginEnd; 55 constructor Create; 56 destructor Destroy; override; 57 procedure Syntetize(Syntetizer: TSyntetizer); 58 end; 59 60 TProcedureList = class(TInterfacedObject, ISyntetizable) 61 Procedures: TList; // TList<TProcedure> 62 procedure Syntetize(Syntetizer: TSyntetizer); 63 constructor Create; 64 destructor Destroy; override; 65 end; 66 67 TProcedureParameter = class(TInterfacedObject) 68 Name: string; 69 VarType: string; 70 end; 71 72 TProcedureParameterValue = class(TInterfacedObject) 73 Value: string; 74 end; 75 76 TProcedureCall = class(TCommand) 77 Name: string; 78 Parameters: TList; // TList<TProcedureParameter> 79 constructor Create; 80 destructor Destroy; override; 81 procedure Syntetize(Syntetizer: TSyntetizer); override; 82 end; 83 67 84 TProgram = class(TInterfacedObject, ISyntetizable) 68 85 Name: string; 69 86 Code: TBeginend; 70 87 CompilerDirectives: TList; // TList<TCompilerDirective> 88 Procedures: TProcedureList; // TList<TProcedure> 71 89 Variables: TVariableSection; 72 90 procedure Syntetize(Syntetizer: TSyntetizer); … … 74 92 destructor Destroy; override; 75 93 end; 76 77 { TSyntetizer }78 94 79 95 TSyntetizer = class … … 126 142 begin 127 143 Syntetizer.AddLine('program ' + Name + ';'); 144 Syntetizer.AddLine(''); 128 145 for I := 0 to CompilerDirectives.Count - 1 do 129 146 TCompilerDirective(CompilerDirectives[I]).Syntetize(Syntetizer); 147 Syntetizer.AddLine(''); 148 Procedures.Syntetize(Syntetizer); 130 149 Variables.Syntetize(Syntetizer); 131 150 Code.Syntetize(Syntetizer); … … 137 156 CompilerDirectives := TList.Create; 138 157 Variables := TVariableSection.Create; 158 Procedures := TProcedureList.Create; 139 159 Code := TBeginEnd.Create; 140 160 Code.LastEnd := True; … … 145 165 I: Integer; 146 166 begin 167 Procedures.Destroy; 147 168 Variables.Destroy; 148 169 for I := 0 to CompilerDirectives.Count - 1 do … … 207 228 begin 208 229 for I := 0 to Parameters.Count - 1 do 209 ParameterString := ParameterString + TProcedureParameter (Parameters[I]).Value;230 ParameterString := ParameterString + TProcedureParameterValue(Parameters[I]).Value; 210 231 if Parameters.Count > 0 then 211 232 ParameterString := '(' + ParameterString + ')'; … … 264 285 end; 265 286 287 { TProcedure } 288 289 constructor TProcedure.Create; 290 begin 291 Parameters := TList.Create; 292 Code := TBeginEnd.Create; 293 end; 294 295 destructor TProcedure.Destroy; 296 var 297 I: Integer; 298 begin 299 Code.Destroy; 300 //for I := 0 to Parameters.Count - 1 do 301 // TParameter(Parameters[I]).Destroy; 302 Parameters.Destroy; 303 inherited Destroy; 304 end; 305 306 procedure TProcedure.Syntetize(Syntetizer: TSyntetizer); 307 var 308 I: Integer; 309 ParameterString: string; 310 begin 311 with Syntetizer do begin 312 for I := 0 to Parameters.Count - 1 do 313 with TProcedureParameter(Parameters[I]) do begin 314 ParameterString := ParameterString + Name + ': ' + VarType; 315 316 end; 317 if Parameters.Count > 0 then 318 ParameterString := '(' + ParameterString + ')'; 319 AddLine('procedure ' + Name + ParameterString + ';'); 320 Code.Syntetize(Syntetizer); 321 AddLine(''); 322 end; 323 end; 324 325 { TProcedureList } 326 327 procedure TProcedureList.Syntetize(Syntetizer: TSyntetizer); 328 var 329 I: Integer; 330 begin 331 for I := 0 to Procedures.Count - 1 do 332 TProcedure(Procedures[I]).Syntetize(Syntetizer); 333 end; 334 335 constructor TProcedureList.Create; 336 begin 337 Procedures := TList.Create; 338 end; 339 340 destructor TProcedureList.Destroy; 341 var 342 I: Integer; 343 begin 344 for I := 0 to Procedures.Count - 1 do 345 TProcedure(Procedures[I]).Destroy; 346 Procedures.Destroy; 347 inherited Destroy; 348 end; 349 266 350 end. 267 351 -
branches/base/Base.lpi
r22 r33 9 9 <Icon Value="0"/> 10 10 <UseXPManifest Value="True"/> 11 <ActiveEditorIndexAtStart Value=" 0"/>11 <ActiveEditorIndexAtStart Value="2"/> 12 12 </General> 13 13 <VersionInfo> … … 33 33 </Item1> 34 34 </RequiredPackages> 35 <Units Count=" 5">35 <Units Count="6"> 36 36 <Unit0> 37 37 <Filename Value="Base.lpr"/> 38 38 <IsPartOfProject Value="True"/> 39 39 <UnitName Value="Base"/> 40 <CursorPos X=" 32" Y="15"/>40 <CursorPos X="17" Y="8"/> 41 41 <TopLine Value="1"/> 42 <EditorIndex Value=" 2"/>43 <UsageCount Value="2 2"/>42 <EditorIndex Value="1"/> 43 <UsageCount Value="26"/> 44 44 <Loaded Value="True"/> 45 45 </Unit0> … … 50 50 <ResourceBaseClass Value="Form"/> 51 51 <UnitName Value="UMainForm"/> 52 <CursorPos X=" 7" Y="16"/>52 <CursorPos X="19" Y="16"/> 53 53 <TopLine Value="1"/> 54 54 <EditorIndex Value="0"/> 55 <UsageCount Value="2 2"/>55 <UsageCount Value="26"/> 56 56 <Loaded Value="True"/> 57 57 </Unit1> … … 62 62 <TopLine Value="762"/> 63 63 <EditorIndex Value="3"/> 64 <UsageCount Value="1 1"/>64 <UsageCount Value="13"/> 65 65 <Loaded Value="True"/> 66 66 </Unit2> … … 70 70 <TopLine Value="559"/> 71 71 <EditorIndex Value="4"/> 72 <UsageCount Value="1 1"/>72 <UsageCount Value="13"/> 73 73 <Loaded Value="True"/> 74 74 </Unit3> … … 77 77 <IsPartOfProject Value="True"/> 78 78 <UnitName Value="UPascalParser"/> 79 <CursorPos X="22" Y="34"/> 80 <TopLine Value="17"/> 81 <EditorIndex Value="1"/> 82 <UsageCount Value="22"/> 83 <Loaded Value="True"/> 79 <CursorPos X="11" Y="19"/> 80 <TopLine Value="7"/> 81 <UsageCount Value="26"/> 84 82 </Unit4> 83 <Unit5> 84 <Filename Value="UTest.pas"/> 85 <IsPartOfProject Value="True"/> 86 <UnitName Value="UTest"/> 87 <CursorPos X="7" Y="55"/> 88 <TopLine Value="39"/> 89 <EditorIndex Value="2"/> 90 <UsageCount Value="24"/> 91 <Loaded Value="True"/> 92 </Unit5> 85 93 </Units> 86 <JumpHistory Count=" 29" HistoryIndex="28">94 <JumpHistory Count="30" HistoryIndex="29"> 87 95 <Position1> 88 96 <Filename Value="UMainForm.pas"/> 89 <Caret Line="1 14" Column="1" TopLine="98"/>97 <Caret Line="163" Column="1" TopLine="147"/> 90 98 </Position1> 91 99 <Position2> 92 100 <Filename Value="UMainForm.pas"/> 93 <Caret Line="1 35" Column="1" TopLine="119"/>101 <Caret Line="114" Column="1" TopLine="98"/> 94 102 </Position2> 95 103 <Position3> 96 104 <Filename Value="UMainForm.pas"/> 97 <Caret Line="1 36" Column="1" TopLine="120"/>105 <Caret Line="127" Column="21" TopLine="110"/> 98 106 </Position3> 99 107 <Position4> 100 108 <Filename Value="UMainForm.pas"/> 101 <Caret Line="1 63" Column="1" TopLine="147"/>109 <Caret Line="125" Column="1" TopLine="109"/> 102 110 </Position4> 103 111 <Position5> 104 112 <Filename Value="UMainForm.pas"/> 105 <Caret Line="1 14" Column="1" TopLine="98"/>113 <Caret Line="126" Column="1" TopLine="110"/> 106 114 </Position5> 107 115 <Position6> 108 116 <Filename Value="UMainForm.pas"/> 109 <Caret Line="127" Column=" 21" TopLine="110"/>117 <Caret Line="127" Column="1" TopLine="111"/> 110 118 </Position6> 111 119 <Position7> 112 120 <Filename Value="UMainForm.pas"/> 113 <Caret Line="12 5" Column="1" TopLine="109"/>121 <Caret Line="128" Column="1" TopLine="112"/> 114 122 </Position7> 115 123 <Position8> 116 124 <Filename Value="UMainForm.pas"/> 117 <Caret Line="12 6" Column="1" TopLine="110"/>125 <Caret Line="129" Column="1" TopLine="113"/> 118 126 </Position8> 119 127 <Position9> 120 128 <Filename Value="UMainForm.pas"/> 121 <Caret Line="1 27" Column="1" TopLine="111"/>129 <Caret Line="130" Column="1" TopLine="114"/> 122 130 </Position9> 123 131 <Position10> 124 132 <Filename Value="UMainForm.pas"/> 125 <Caret Line="1 28" Column="1" TopLine="112"/>133 <Caret Line="131" Column="1" TopLine="115"/> 126 134 </Position10> 127 135 <Position11> 128 136 <Filename Value="UMainForm.pas"/> 129 <Caret Line="1 29" Column="1" TopLine="113"/>137 <Caret Line="163" Column="1" TopLine="147"/> 130 138 </Position11> 131 139 <Position12> 132 140 <Filename Value="UMainForm.pas"/> 133 <Caret Line="1 30" Column="1" TopLine="114"/>141 <Caret Line="114" Column="1" TopLine="98"/> 134 142 </Position12> 135 143 <Position13> 136 144 <Filename Value="UMainForm.pas"/> 137 <Caret Line="1 31" Column="1" TopLine="115"/>145 <Caret Line="151" Column="1" TopLine="135"/> 138 146 </Position13> 139 147 <Position14> 140 148 <Filename Value="UMainForm.pas"/> 141 <Caret Line="1 63" Column="1" TopLine="147"/>149 <Caret Line="155" Column="1" TopLine="139"/> 142 150 </Position14> 143 151 <Position15> 144 152 <Filename Value="UMainForm.pas"/> 145 <Caret Line="1 14" Column="1" TopLine="98"/>153 <Caret Line="163" Column="1" TopLine="147"/> 146 154 </Position15> 147 155 <Position16> 148 156 <Filename Value="UMainForm.pas"/> 149 <Caret Line="1 51" Column="1" TopLine="135"/>157 <Caret Line="114" Column="1" TopLine="98"/> 150 158 </Position16> 151 159 <Position17> 152 160 <Filename Value="UMainForm.pas"/> 153 <Caret Line="15 5" Column="1" TopLine="139"/>161 <Caret Line="158" Column="1" TopLine="130"/> 154 162 </Position17> 155 163 <Position18> 156 164 <Filename Value="UMainForm.pas"/> 157 <Caret Line="1 63" Column="1" TopLine="147"/>165 <Caret Line="187" Column="1" TopLine="159"/> 158 166 </Position18> 159 167 <Position19> 160 168 <Filename Value="UMainForm.pas"/> 161 <Caret Line="1 14" Column="1" TopLine="98"/>169 <Caret Line="182" Column="20" TopLine="164"/> 162 170 </Position19> 163 171 <Position20> 164 172 <Filename Value="UMainForm.pas"/> 165 <Caret Line="1 58" Column="1" TopLine="130"/>173 <Caret Line="103" Column="49" TopLine="92"/> 166 174 </Position20> 167 175 <Position21> 168 <Filename Value=" UMainForm.pas"/>169 <Caret Line="1 87" Column="1" TopLine="159"/>176 <Filename Value="Base.lpr"/> 177 <Caret Line="1" Column="1" TopLine="1"/> 170 178 </Position21> 171 179 <Position22> 172 180 <Filename Value="UMainForm.pas"/> 173 <Caret Line=" 182" Column="20" TopLine="164"/>181 <Caret Line="224" Column="1" TopLine="196"/> 174 182 </Position22> 175 183 <Position23> 176 184 <Filename Value="UMainForm.pas"/> 177 <Caret Line=" 103" Column="49" TopLine="92"/>185 <Caret Line="215" Column="30" TopLine="197"/> 178 186 </Position23> 179 187 <Position24> 180 <Filename Value=" Base.lpr"/>181 <Caret Line=" 1" Column="1" TopLine="1"/>188 <Filename Value="UMainForm.pas"/> 189 <Caret Line="207" Column="13" TopLine="191"/> 182 190 </Position24> 183 191 <Position25> 184 192 <Filename Value="UMainForm.pas"/> 185 <Caret Line="2 24" Column="1" TopLine="196"/>193 <Caret Line="212" Column="3" TopLine="193"/> 186 194 </Position25> 187 195 <Position26> 188 <Filename Value="U MainForm.pas"/>189 <Caret Line=" 215" Column="30" TopLine="197"/>196 <Filename Value="UTest.pas"/> 197 <Caret Line="51" Column="22" TopLine="23"/> 190 198 </Position26> 191 199 <Position27> 192 <Filename Value="U MainForm.pas"/>193 <Caret Line=" 207" Column="13" TopLine="191"/>200 <Filename Value="UTest.pas"/> 201 <Caret Line="32" Column="12" TopLine="3"/> 194 202 </Position27> 195 203 <Position28> 196 <Filename Value="U MainForm.pas"/>197 <Caret Line=" 212" Column="3" TopLine="193"/>204 <Filename Value="UTest.pas"/> 205 <Caret Line="15" Column="1" TopLine="3"/> 198 206 </Position28> 199 207 <Position29> 200 <Filename Value="U PascalParser.pas"/>201 <Caret Line=" 30" Column="1" TopLine="15"/>208 <Filename Value="UTest.pas"/> 209 <Caret Line="12" Column="44" TopLine="1"/> 202 210 </Position29> 211 <Position30> 212 <Filename Value="UTest.pas"/> 213 <Caret Line="37" Column="23" TopLine="9"/> 214 </Position30> 203 215 </JumpHistory> 204 216 </ProjectOptions> -
branches/base/Base.lpr
r22 r33 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UMainForm, UPascalParser, LResources 10 Forms, UMainForm, UPascalParser, LResources, UTest 11 11 { you can add units after this }; 12 12 -
trunk
-
Property svn:ignore
set to
PascalCompilerAVR.exe
*.dcu
*.dsk
-
Property svn:ignore
set to
-
trunk/Example.pas
r18 r33 4 4 B: Byte; 5 5 begin 6 A := 'a' + (1 0+ 2 * 3 + 2) xor 10 / 2;6 A := 'a' + (11 + 1 + 2 * 3 + 2) xor 10 / 2; 7 7 B := 20; 8 8 while A < 10 do A := A + 1;
Note:
See TracChangeset
for help on using the changeset viewer.