- Timestamp:
- Nov 10, 2009, 10:27:21 AM (15 years ago)
- Location:
- branches/Void
- Files:
-
- 4 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Void/Example.void
r13 r16 1 program Example; 1 2 var 2 3 Text: String; … … 4 5 begin 5 6 Text := 'Hell'; 7 A := 1234; 6 8 WriteLn('Leave me'); 7 9 WriteLn(Text); -
branches/Void/UCompilator.pas
r15 r16 54 54 if Parser.TokenType <> ttWhiteSpace then DoError('Expect white space'); 55 55 Parser.ParseNextToken; 56 if Parser.TokenType <> ttString then DoError('Expect string'); 56 if Parser.TokenType <> ttIdentifier then DoError('Expect program name') 57 else Module.Name := Parser.TokenValue; 57 58 Parser.ParseNextToken; 58 59 if (Parser.TokenType <> ttSymbol) and (Parser.TokenValue <> ';') then DoError('Expect ;'); … … 184 185 if Assigned(Variable) then begin 185 186 Parser.ParseNextToken; 186 if Parser.TokenType <> ttWhiteSpace then DoError('Expected white space'); 187 Parser.ParseNextToken; 187 if Parser.TokenType = ttWhiteSpace then Parser.ParseNextToken; 188 188 if (Parser.TokenType <> ttSymbol) and (Parser.TokenValue = ':=') then 189 189 DoError('Expected :='); 190 190 Parser.ParseNextToken; 191 if Parser.TokenType <> ttWhiteSpace then DoError('Expected white space'); 192 Parser.ParseNextToken; 191 if Parser.TokenType = ttWhiteSpace then Parser.ParseNextToken; 193 192 Value := Parser.TokenValue; 194 193 if Parser.TokenType = ttIdentifier then begin … … 222 221 end; 223 222 end; 224 end else DoError('Expected variable or string') 223 end else if Parser.TokenType = ttNumber then begin 224 with TCommand(Commands[Commands.Add(TCommand.Create)]) do begin 225 Name := 'Assignment'; 226 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)]) do begin 227 ValueType := vtVariable; 228 VariableDef := Variable; 229 end; 230 with TVariableValue(Parameters[Parameters.Add(TVariableValue.Create)]) do begin 231 ValueType := vtNumber; 232 NumberConstant := StrToInt(Parser.TokenValue); 233 end; 234 end; 235 end else DoError('Expected variable or string or number') 225 236 end else DoError('Unknown command ' + CommandName); 226 237 end; -
branches/Void/UMainForm.lfm
r15 r16 63 63 'Pascal' 64 64 'C' 65 'Z80' 65 66 ) 66 67 Style = csDropDownList … … 80 81 ParentFont = False 81 82 TabOrder = 3 82 BookMarkOptions.OnChange = nil83 83 Gutter.Width = 57 84 84 Gutter.MouseActions = < … … 774 774 ParentFont = False 775 775 TabOrder = 4 776 BookMarkOptions.OnChange = nil777 776 Gutter.Width = 57 778 777 Gutter.MouseActions = < … … 1347 1346 ) 1348 1347 BracketHighlightStyle = sbhsBoth 1348 OnChange = SynEdit2Change 1349 1349 inline SynGutterPartList1: TSynGutterPartList 1350 1350 object SynGutterMarks1: TSynGutterMarks … … 1472 1472 end 1473 1473 object SynPasSyn1: TSynPasSyn 1474 Enabled = False 1474 1475 CompilerMode = pcmDelphi 1475 1476 NestedComments = False … … 1479 1480 object SynCppSyn1: TSynCppSyn 1480 1481 DefaultFilter = 'C++ Files (*.c,*.cpp,*.h,*.hpp,*.hh)|*.c;*.cpp;*.h;*.hpp;*.hh' 1482 Enabled = False 1481 1483 left = 376 1482 1484 top = 112 -
branches/Void/UMainForm.pas
r15 r16 8 8 Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, 9 9 StdCtrls, ComCtrls, SynHighlighterPas, SynEdit, SynHighlighterCpp, 10 UCompilator, UOutputGenerator, UModelViewer; 10 UCompilator, UOutputGenerator, UModelViewer, UPascalGenerator, UCGenerator, 11 UZ80Generator; 11 12 12 13 const … … 35 36 procedure FormDestroy(Sender: TObject); 36 37 procedure FormShow(Sender: TObject); 38 procedure SynEdit2Change(Sender: TObject); 37 39 private 38 40 SourceCode: TMemoryStream; … … 55 57 SynEdit1.Lines.LoadFromFile(SourceFileName); 56 58 ButtonCompileClick(Self); 59 end; 60 61 procedure TMainForm.SynEdit2Change(Sender: TObject); 62 begin 63 57 64 end; 58 65 … … 88 95 Generator := TPascalGenerator.Create; 89 96 SynEdit2.Highlighter := SynPasSyn1; 90 end else begin 97 end else 98 if ComboBox1.ItemIndex = 1 then begin 91 99 Generator := TCGenerator.Create; 100 SynEdit2.Highlighter := SynCppSyn1; 101 end else 102 if ComboBox1.ItemIndex = 2 then begin 103 Generator := TZ80Generator.Create; 92 104 SynEdit2.Highlighter := SynCppSyn1; 93 105 end; -
branches/Void/UModel.pas
r14 r16 52 52 end; 53 53 54 TModuleType = (mtUnit, mtProgram); 55 54 56 TModule = class 55 57 public 58 Name: string; 59 ModuleType: TModuleType; 56 60 Types: TList; 57 61 Variables: TList; … … 67 71 end; 68 72 69 { TModel }70 71 73 TModel = class 72 74 private … … 90 92 begin 91 93 Module := TModule.Create; 94 Module.ModuleType := mtProgram; 92 95 end; 93 96 -
branches/Void/UModelViewer.pas
r15 r16 34 34 TreeView := ATreeView; 35 35 with TreeView do begin 36 Clear;36 Items.Clear; 37 37 ProgramNode := Items.AddChild(TopItem, 'program'); 38 38 NewNode := Items.AddChild(ProgramNode, 'var'); -
branches/Void/UOutputGenerator.pas
r14 r16 11 11 TOutputGenerator = class 12 12 private 13 public 14 Model: TModel; 13 15 IndentCount: Integer; 14 Model: TModel;16 Output: TStringList; 15 17 function Indent: string; 16 public17 Output: TStringList;18 18 procedure Generate(Model: TModel); virtual; 19 19 constructor Create; 20 20 destructor Destroy; override; 21 end;22 23 { TPascalGenerator }24 25 TPascalGenerator = class(TOutputGenerator)26 private27 function GenerateVariableValue(Value: TVariableValue): string;28 public29 procedure Generate(Model: TModel); override;30 procedure GenerateModule(Module: TModule);31 end;32 33 { TCGenerator }34 35 TCGenerator = class(TOutputGenerator)36 private37 function ConvertType(Name: string): string;38 function GenerateVariableValue(Value: TVariableValue): string;39 public40 procedure Generate(Model: TModel); override;41 procedure GenerateModule(Module: TModule);42 21 end; 43 22 … … 67 46 end; 68 47 69 { TPascalGenerator }70 71 function TPascalGenerator.GenerateVariableValue(Value: TVariableValue): string;72 begin73 case Value.ValueType of74 vtVariable: if Assigned(Value.VariableDef) then Result := Value.VariableDef.Name75 else Result := '';76 vtFloat: Result := FloatToStr(Value.FloatConstant);77 vtNumber: Result := IntToStr(Value.NumberConstant);78 vtString: Result := '''' + Value.StringConstant + '''';79 vtChar: Result := '''' + Value.CharConstant + '''';80 end;81 end;82 83 procedure TPascalGenerator.Generate(Model: TModel);84 begin85 inherited;86 GenerateModule(Model.Module);87 end;88 89 procedure TPascalGenerator.GenerateModule(Module: TModule);90 var91 I, P: Integer;92 ParameterText: string;93 Row: string;94 begin95 with Module do begin96 // Prepare output97 Output.Clear;98 Output.Add('program Test;');99 Output.Add('{$APPTYPE CONSOLE}');100 101 // var section102 if Variables.Count > 0 then Output.Add('var');103 Inc(IndentCount);104 for I := 0 to Variables.Count - 1 do105 with TVariable(Variables[I]) do106 Output.Add(Indent + Name + ': ' + VarType.Name + ';');107 Dec(IndentCount);108 109 // Code block110 Output.Add('begin');111 Inc(IndentCount);112 for I := 0 to BeginEnd.Commands.Count - 1 do113 with TCommand(BeginEnd.Commands[I]) do begin114 if Name = 'Assignment' then Output.Add(Indent +115 TVariableValue(Parameters[0]).VariableDef.Name + ' := ' +116 GenerateVariableValue(TVariableValue(Parameters[1])) + ';')117 else begin118 Row := Name;119 if Parameters.Count > 0 then begin120 ParameterText := '';121 for P := 0 to Parameters.Count - 1 do122 ParameterText := ParameterText + GenerateVariableValue(Parameters[P]) + ', ';123 Row := Row + '(' + Copy(ParameterText, 1, Length(ParameterText) - 2) + ')';124 end;125 Output.Add(Indent + Row + ';');126 end;127 end;128 Dec(IndentCount);129 Output.Add('end.');130 end;131 end;132 133 { TCGenerator }134 135 function TCGenerator.ConvertType(Name: string): string;136 begin137 if Name = 'String' then Result := 'char*'138 else if Name = 'Byte' then Result := 'unsigned char'139 else if Name = 'ShortInt' then Result := 'signed char'140 else if Name = 'Word' then Result := 'unsigned int'141 else if Name = 'Integer' then Result := 'int'142 else if Name = 'Real' then Result := 'float'143 else if Name = 'Double' then Result := 'double'144 else if Name = 'Char' then Result := 'char'145 else Result := Name;146 end;147 148 function TCGenerator.GenerateVariableValue(Value: TVariableValue): string;149 begin150 case Value.ValueType of151 vtVariable: if Assigned(Value.VariableDef) then Result := Value.VariableDef.Name152 else Result := '';153 vtFloat: Result := FloatToStr(Value.FloatConstant);154 vtNumber: Result := IntToStr(Value.NumberConstant);155 vtString: Result := '"' + Value.StringConstant + '"';156 vtChar: Result := '''' + Value.CharConstant + '''';157 end;158 end;159 160 procedure TCGenerator.Generate(Model: TModel);161 begin162 inherited;163 IndentCount := 0;164 GenerateModule(Model.Module);165 end;166 167 procedure TCGenerator.GenerateModule(Module: TModule);168 var169 I, P: Integer;170 Row: string;171 ParameterText: string;172 begin173 with Module do begin174 // Prepare output175 Output.Clear;176 177 Output.Add('int main()');178 Output.Add('{');179 Inc(IndentCount);180 181 // Variable section182 for I := 0 to Variables.Count - 1 do183 with TVariable(Variables[I]) do184 Output.Add(Indent + ConvertType(VarType.Name) + ' ' + Name + ';');185 if Variables.Count > 0 then Output.Add('');186 187 // Code block188 for I := 0 to BeginEnd.Commands.Count - 1 do189 with TCommand(BeginEnd.Commands[I]) do begin190 if Name = 'Assignment' then Output.Add(Indent +191 TVariableValue(Parameters[0]).VariableDef.Name + ' = ' +192 GenerateVariableValue(TVariableValue(Parameters[1])) + ';')193 else begin194 if Name = 'WriteLn' then Row := 'printf'195 else if Name = 'ReadLn' then Row := 'scanf'196 else if Name = 'Exit' then Row := 'exit';197 Row := Row + '(';198 if Parameters.Count > 0 then begin199 ParameterText := '';200 for P := 0 to Parameters.Count - 1 do201 ParameterText := ParameterText + GenerateVariableValue(Parameters[P]) + ', ';202 Row := Row + Copy(ParameterText, 1, Length(ParameterText) - 2);203 end;204 Output.Add(Indent + Row + ');');205 end;206 end;207 Dec(IndentCount);208 Output.Add('}');209 end;210 end;211 212 48 end. 213 49 -
branches/Void/UVoidParser.pas
r11 r16 70 70 ((Character >= 'a') and (Character <= 'z')) then begin 71 71 TokenValue := Character; 72 TokenType := ttIdentifier; 72 73 ParseState := psIdentifier; 74 end else 75 if ((Character >= '0') and (Character <= '9')) then begin 76 TokenType := ttNumber;; 77 TokenValue := Character; 78 ParseState := psNumber; 73 79 end else 74 80 if Character = '{' then begin … … 78 84 TokenValue := Character; 79 85 ParseState := psSpecialSymbol; 86 end; 87 end; 88 psNumber: begin 89 if (Character >= '0') and (Character <= '9') then 90 TokenValue := TokenValue + Character else 91 begin 92 ParseState := psNone; 93 Source.Position := Source.Position - 1; 94 Dec(Position.X); 95 Break; 80 96 end; 81 97 end; … … 146 162 if Character = '''' then begin 147 163 TokenValue := TokenValue + Character; 164 ParseState := psString; 148 165 end else begin 149 166 TokenType := ttString; -
branches/Void/project1.lpi
r15 r16 9 9 <Icon Value="0"/> 10 10 <UseXPManifest Value="True"/> 11 <ActiveEditorIndexAtStart Value=" 1"/>11 <ActiveEditorIndexAtStart Value="6"/> 12 12 </General> 13 13 <VersionInfo> … … 37 37 </Item2> 38 38 </RequiredPackages> 39 <Units Count=" 16">39 <Units Count="20"> 40 40 <Unit0> 41 41 <Filename Value="project1.lpr"/> 42 42 <IsPartOfProject Value="True"/> 43 43 <UnitName Value="project1"/> 44 <CursorPos X=" 37" Y="7"/>45 <TopLine Value="1"/> 46 <EditorIndex Value=" 5"/>47 <UsageCount Value="4 4"/>44 <CursorPos X="15" Y="17"/> 45 <TopLine Value="1"/> 46 <EditorIndex Value="6"/> 47 <UsageCount Value="46"/> 48 48 <Loaded Value="True"/> 49 49 </Unit0> … … 54 54 <ResourceBaseClass Value="Form"/> 55 55 <UnitName Value="UMainForm"/> 56 <CursorPos X=" 22" Y="82"/>56 <CursorPos X="83" Y="86"/> 57 57 <TopLine Value="20"/> 58 58 <EditorIndex Value="0"/> 59 <UsageCount Value="4 4"/>59 <UsageCount Value="46"/> 60 60 <Loaded Value="True"/> 61 61 </Unit1> … … 63 63 <Filename Value="UCompilator.pas"/> 64 64 <UnitName Value="UCompilator"/> 65 <CursorPos X=" 25" Y="228"/>66 <TopLine Value=" 213"/>65 <CursorPos X="33" Y="182"/> 66 <TopLine Value="161"/> 67 67 <EditorIndex Value="2"/> 68 <UsageCount Value="2 2"/>68 <UsageCount Value="23"/> 69 69 <Loaded Value="True"/> 70 70 </Unit2> … … 73 73 <IsPartOfProject Value="True"/> 74 74 <UnitName Value="UOutputGenerator"/> 75 <CursorPos X="1 8" Y="144"/>76 <TopLine Value=" 93"/>75 <CursorPos X="1" Y="13"/> 76 <TopLine Value="7"/> 77 77 <EditorIndex Value="4"/> 78 <UsageCount Value="4 4"/>78 <UsageCount Value="46"/> 79 79 <Loaded Value="True"/> 80 80 </Unit3> … … 84 84 <CursorPos X="4" Y="1"/> 85 85 <TopLine Value="1"/> 86 <UsageCount Value="4 4"/>86 <UsageCount Value="46"/> 87 87 <SyntaxHighlighter Value="None"/> 88 88 </Unit4> … … 91 91 <IsPartOfProject Value="True"/> 92 92 <UnitName Value="UModel"/> 93 <CursorPos X=" 27" Y="229"/>94 <TopLine Value=" 215"/>95 <EditorIndex Value=" 6"/>96 <UsageCount Value="4 4"/>93 <CursorPos X="11" Y="75"/> 94 <TopLine Value="53"/> 95 <EditorIndex Value="9"/> 96 <UsageCount Value="46"/> 97 97 <Loaded Value="True"/> 98 98 </Unit5> … … 126 126 <IsPartOfProject Value="True"/> 127 127 <UnitName Value="UVoidParser"/> 128 <CursorPos X=" 5" Y="51"/>129 <TopLine Value=" 45"/>128 <CursorPos X="30" Y="162"/> 129 <TopLine Value="140"/> 130 130 <EditorIndex Value="3"/> 131 <UsageCount Value="4 4"/>131 <UsageCount Value="46"/> 132 132 <Loaded Value="True"/> 133 133 </Unit10> … … 162 162 <IsPartOfProject Value="True"/> 163 163 <UnitName Value="UModelViewer"/> 164 <CursorPos X="4 5" Y="36"/>165 <TopLine Value="1 5"/>164 <CursorPos X="41" Y="31"/> 165 <TopLine Value="16"/> 166 166 <EditorIndex Value="1"/> 167 <UsageCount Value="2 0"/>167 <UsageCount Value="22"/> 168 168 <Loaded Value="True"/> 169 169 </Unit15> 170 <Unit16> 171 <Filename Value="..\..\..\..\..\Programy\Lazarus_0.9.29\fpc\2.3.1\source\rtl\objpas\sysutils\sysstrh.inc"/> 172 <CursorPos X="28" Y="33"/> 173 <TopLine Value="18"/> 174 <UsageCount Value="10"/> 175 </Unit16> 176 <Unit17> 177 <Filename Value="Generators\UZ80Generator.pas"/> 178 <IsPartOfProject Value="True"/> 179 <UnitName Value="UZ80Generator"/> 180 <CursorPos X="9" Y="63"/> 181 <TopLine Value="47"/> 182 <EditorIndex Value="5"/> 183 <UsageCount Value="21"/> 184 <Loaded Value="True"/> 185 </Unit17> 186 <Unit18> 187 <Filename Value="Generators\UCGenerator.pas"/> 188 <IsPartOfProject Value="True"/> 189 <UnitName Value="UCGenerator"/> 190 <CursorPos X="56" Y="8"/> 191 <TopLine Value="1"/> 192 <EditorIndex Value="8"/> 193 <UsageCount Value="21"/> 194 <Loaded Value="True"/> 195 </Unit18> 196 <Unit19> 197 <Filename Value="Generators\UPascalGenerator.pas"/> 198 <IsPartOfProject Value="True"/> 199 <UnitName Value="UPascalGenerator"/> 200 <CursorPos X="1" Y="35"/> 201 <TopLine Value="13"/> 202 <EditorIndex Value="7"/> 203 <UsageCount Value="21"/> 204 <Loaded Value="True"/> 205 </Unit19> 170 206 </Units> 171 207 <JumpHistory Count="30" HistoryIndex="29"> 172 208 <Position1> 173 <Filename Value="U Compilator.pas"/>174 <Caret Line=" 166" Column="55" TopLine="149"/>209 <Filename Value="UMainForm.pas"/> 210 <Caret Line="74" Column="49" TopLine="61"/> 175 211 </Position1> 176 212 <Position2> 177 213 <Filename Value="UMainForm.pas"/> 178 <Caret Line=" 28" Column="46" TopLine="28"/>214 <Caret Line="84" Column="44" TopLine="69"/> 179 215 </Position2> 180 216 <Position3> 181 217 <Filename Value="UMainForm.pas"/> 182 <Caret Line=" 29" Column="46" TopLine="28"/>218 <Caret Line="92" Column="33" TopLine="60"/> 183 219 </Position3> 184 220 <Position4> 185 221 <Filename Value="UMainForm.pas"/> 186 <Caret Line=" 30" Column="46" TopLine="28"/>222 <Caret Line="93" Column="33" TopLine="63"/> 187 223 </Position4> 188 224 <Position5> 189 225 <Filename Value="UMainForm.pas"/> 190 <Caret Line=" 29" Column="46" TopLine="28"/>226 <Caret Line="92" Column="33" TopLine="63"/> 191 227 </Position5> 192 228 <Position6> 193 229 <Filename Value="UMainForm.pas"/> 194 <Caret Line=" 28" Column="46" TopLine="28"/>230 <Caret Line="93" Column="33" TopLine="63"/> 195 231 </Position6> 196 232 <Position7> 197 233 <Filename Value="UMainForm.pas"/> 198 <Caret Line=" 29" Column="46" TopLine="28"/>234 <Caret Line="41" Column="29" TopLine="16"/> 199 235 </Position7> 200 236 <Position8> 201 237 <Filename Value="UMainForm.pas"/> 202 <Caret Line=" 50" Column="1" TopLine="35"/>238 <Caret Line="113" Column="1" TopLine="83"/> 203 239 </Position8> 204 240 <Position9> 205 241 <Filename Value="UMainForm.pas"/> 206 <Caret Line=" 56" Column="10" TopLine="41"/>242 <Caret Line="110" Column="32" TopLine="90"/> 207 243 </Position9> 208 244 <Position10> 209 245 <Filename Value="UMainForm.pas"/> 210 <Caret Line=" 74" Column="49" TopLine="61"/>246 <Caret Line="113" Column="49" TopLine="89"/> 211 247 </Position10> 212 248 <Position11> 213 <Filename Value="UM ainForm.pas"/>214 <Caret Line=" 73" Column="49" TopLine="61"/>249 <Filename Value="UModelViewer.pas"/> 250 <Caret Line="16" Column="17" TopLine="1"/> 215 251 </Position11> 216 252 <Position12> 217 253 <Filename Value="UMainForm.pas"/> 218 <Caret Line=" 74" Column="49" TopLine="61"/>254 <Caret Line="105" Column="1" TopLine="79"/> 219 255 </Position12> 220 256 <Position13> 221 257 <Filename Value="UMainForm.pas"/> 222 <Caret Line=" 84" Column="44" TopLine="69"/>258 <Caret Line="41" Column="1" TopLine="26"/> 223 259 </Position13> 224 260 <Position14> 225 261 <Filename Value="UMainForm.pas"/> 226 <Caret Line=" 92" Column="33" TopLine="60"/>262 <Caret Line="39" Column="31" TopLine="17"/> 227 263 </Position14> 228 264 <Position15> 229 <Filename Value="UM ainForm.pas"/>230 <Caret Line=" 93" Column="33" TopLine="63"/>265 <Filename Value="UModelViewer.pas"/> 266 <Caret Line="23" Column="12" TopLine="1"/> 231 267 </Position15> 232 268 <Position16> 233 <Filename Value="UM ainForm.pas"/>234 <Caret Line=" 92" Column="33" TopLine="63"/>269 <Filename Value="UModelViewer.pas"/> 270 <Caret Line="25" Column="25" TopLine="5"/> 235 271 </Position16> 236 272 <Position17> 237 <Filename Value="UM ainForm.pas"/>238 <Caret Line=" 93" Column="33" TopLine="63"/>273 <Filename Value="UModelViewer.pas"/> 274 <Caret Line="17" Column="48" TopLine="4"/> 239 275 </Position17> 240 276 <Position18> 241 <Filename Value="UM ainForm.pas"/>242 <Caret Line=" 41" Column="29" TopLine="16"/>277 <Filename Value="UModelViewer.pas"/> 278 <Caret Line="26" Column="3" TopLine="15"/> 243 279 </Position18> 244 280 <Position19> 245 <Filename Value="UM ainForm.pas"/>246 <Caret Line="1 13" Column="1" TopLine="83"/>281 <Filename Value="UModelViewer.pas"/> 282 <Caret Line="17" Column="46" TopLine="2"/> 247 283 </Position19> 248 284 <Position20> 249 <Filename Value="UM ainForm.pas"/>250 <Caret Line=" 110" Column="32" TopLine="90"/>285 <Filename Value="UModelViewer.pas"/> 286 <Caret Line="36" Column="11" TopLine="15"/> 251 287 </Position20> 252 288 <Position21> 253 <Filename Value="U MainForm.pas"/>254 <Caret Line=" 113" Column="49" TopLine="89"/>289 <Filename Value="UCompilator.pas"/> 290 <Caret Line="220" Column="82" TopLine="207"/> 255 291 </Position21> 256 292 <Position22> 257 <Filename Value="U ModelViewer.pas"/>258 <Caret Line=" 16" Column="17" TopLine="1"/>293 <Filename Value="UVoidParser.pas"/> 294 <Caret Line="89" Column="29" TopLine="72"/> 259 295 </Position22> 260 296 <Position23> 261 <Filename Value="U MainForm.pas"/>262 <Caret Line=" 105" Column="1" TopLine="79"/>297 <Filename Value="UOutputGenerator.pas"/> 298 <Caret Line="78" Column="42" TopLine="53"/> 263 299 </Position23> 264 300 <Position24> 265 301 <Filename Value="UMainForm.pas"/> 266 <Caret Line=" 41" Column="1" TopLine="26"/>302 <Caret Line="10" Column="16" TopLine="1"/> 267 303 </Position24> 268 304 <Position25> 269 <Filename Value=" UMainForm.pas"/>270 <Caret Line=" 39" Column="31" TopLine="17"/>305 <Filename Value="Generators\UPascalGenerator.pas"/> 306 <Caret Line="8" Column="56" TopLine="1"/> 271 307 </Position25> 272 308 <Position26> 273 <Filename Value=" UModelViewer.pas"/>274 <Caret Line=" 23" Column="12" TopLine="1"/>309 <Filename Value="Generators\UPascalGenerator.pas"/> 310 <Caret Line="56" Column="18" TopLine="1"/> 275 311 </Position26> 276 312 <Position27> 277 <Filename Value=" UModelViewer.pas"/>278 <Caret Line=" 25" Column="25" TopLine="5"/>313 <Filename Value="Generators\UPascalGenerator.pas"/> 314 <Caret Line="11" Column="36" TopLine="1"/> 279 315 </Position27> 280 316 <Position28> 281 <Filename Value=" UModelViewer.pas"/>282 <Caret Line=" 17" Column="48" TopLine="4"/>317 <Filename Value="Generators\UZ80Generator.pas"/> 318 <Caret Line="8" Column="56" TopLine="4"/> 283 319 </Position28> 284 320 <Position29> 285 <Filename Value="UM odelViewer.pas"/>286 <Caret Line=" 26" Column="3" TopLine="15"/>321 <Filename Value="UMainForm.pas"/> 322 <Caret Line="94" Column="1" TopLine="71"/> 287 323 </Position29> 288 324 <Position30> 289 <Filename Value=" UModelViewer.pas"/>290 <Caret Line="1 7" Column="46" TopLine="2"/>325 <Filename Value="project1.lpr"/> 326 <Caret Line="10" Column="33" TopLine="1"/> 291 327 </Position30> 292 328 </JumpHistory> … … 300 336 <SearchPaths> 301 337 <IncludeFiles Value="$(ProjOutDir)\"/> 338 <OtherUnitFiles Value="Generators\"/> 302 339 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 303 340 </SearchPaths> -
branches/Void/project1.lpr
r15 r16 9 9 Interfaces, // this includes the LCL widgetset 10 10 Forms, UMainForm, UOutputGenerator, LResources, UModel, UVoidParser, 11 UModelViewer ;11 UModelViewer, UZ80Generator, UCGenerator, UPascalGenerator; 12 12 13 13 {$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}
Note:
See TracChangeset
for help on using the changeset viewer.