- Timestamp:
- Feb 18, 2012, 7:49:17 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 8 edited
- 4 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UInterpretterForm.lfm
r23 r30 231 231 Left = 70 232 232 Top = 2 233 Action = MainForm.A InterpretterRunToCursor233 Action = MainForm.AProgramRunToCursor 234 234 end 235 235 object ToolButton5: TToolButton 236 236 Left = 93 237 237 Top = 2 238 Action = MainForm.A InterpretterStepInto238 Action = MainForm.AProgramStepInto 239 239 end 240 240 object ToolButton6: TToolButton 241 241 Left = 116 242 242 Top = 2 243 Action = MainForm.A InterpretterStepOut243 Action = MainForm.AProgramStepOut 244 244 end 245 245 object ToolButton7: TToolButton 246 246 Left = 139 247 247 Top = 2 248 Action = MainForm.A InterpretterStopOver248 Action = MainForm.AProgramStopOver 249 249 end 250 250 end -
trunk/Forms/UMainForm.lfm
r25 r30 5 5 Width = 643 6 6 Caption = 'LazFuck' 7 ClientHeight = 44 67 ClientHeight = 440 8 8 ClientWidth = 643 9 9 Menu = MainMenu1 … … 16 16 object MemoSource: TMemo 17 17 Left = 0 18 Height = 3 7018 Height = 363 19 19 Top = 56 20 20 Width = 643 … … 34 34 object StatusBar1: TStatusBar 35 35 Left = 0 36 Height = 2 037 Top = 4 2636 Height = 21 37 Top = 419 38 38 Width = 643 39 39 Panels = < … … 113 113 Top = 2 114 114 Action = AProgramStop 115 end 116 object ToolButton12: TToolButton 117 Left = 241 118 Top = 2 119 Caption = 'ToolButton12' 120 end 121 object ToolButton13: TToolButton 122 Left = 264 123 Top = 2 124 Caption = 'ToolButton13' 125 end 126 object ToolButton14: TToolButton 127 Left = 287 128 Top = 2 129 Caption = 'ToolButton14' 130 end 131 object ToolButton15: TToolButton 132 Left = 310 133 Top = 2 134 Caption = 'ToolButton15' 115 135 end 116 136 end … … 538 558 } 539 559 end 560 object MenuItem32: TMenuItem 561 Action = AProgramStepInto 562 end 563 object MenuItem33: TMenuItem 564 Action = AProgramStopOver 565 end 566 object MenuItem34: TMenuItem 567 Action = AProgramStepOut 568 end 569 object MenuItem35: TMenuItem 570 Action = AProgramRunToCursor 571 end 540 572 end 541 573 object MenuItem24: TMenuItem … … 549 581 object MenuItem28: TMenuItem 550 582 Action = AGenerateNumber 583 Bitmap.Data = { 584 36040000424D3604000000000000360000002800000010000000100000000100 585 2000000000000004000064000000640000000000000000000000FFFFFF00FFFF 586 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 587 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 588 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 589 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 590 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 591 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 592 FF000000008B000000B7FFFFFF000000008B000000FF000000FF000000FF0000 593 008BFFFFFF00000000B7000000FF000000B7FFFFFF00FFFFFF00FFFFFF00FFFF 594 FF000000008B000000B7FFFFFF0000000063000000FF00000063FFFFFF00FFFF 595 FF0000000063000000B700000020000000FF00000063FFFFFF00FFFFFF00FFFF 596 FF000000008B000000B7FFFFFF00FFFFFF00000000FF000000FF00000020FFFF 597 FF00FFFFFF00FFFFFF00FFFFFF00000000FF0000008BFFFFFF00FFFFFF00FFFF 598 FF000000008B000000B7FFFFFF00FFFFFF0000000040000000FF000000B7FFFF 599 FF00FFFFFF00FFFFFF00FFFFFF00000000FF00000063FFFFFF00FFFFFF00FFFF 600 FF000000008B000000B7FFFFFF00FFFFFF00FFFFFF000000008B000000FF0000 601 0040FFFFFF00FFFFFF00000000FF00000040FFFFFF00FFFFFF00000000200000 602 00B70000008B000000B7FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF0000 603 008BFFFFFF00FFFFFF0000000020000000FF00000020FFFFFF00000000200000 604 00FF000000FF000000B7FFFFFF00FFFFFF00FFFFFF00FFFFFF000000008B0000 605 008BFFFFFF00FFFFFF00FFFFFF00000000FF00000040FFFFFF00FFFFFF000000 606 0040000000FF000000B7FFFFFF0000000063000000B7FFFFFF00000000B70000 607 0063000000630000008B00000020000000FF00000020FFFFFF00FFFFFF00FFFF 608 FF0000000063000000B7FFFFFF00FFFFFF00000000FF000000FF000000B7FFFF 609 FF00FFFFFF00000000FF000000FF0000008BFFFFFF00FFFFFF00FFFFFF00FFFF 610 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 611 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 612 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 613 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 614 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 615 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 616 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 617 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00 618 } 551 619 end 552 620 end … … 694 762 end 695 763 object ACompile: TAction 764 Category = 'Program' 696 765 Caption = 'Compile' 697 766 ImageIndex = 8 698 767 OnExecute = ACompileExecute 768 ShortCut = 16504 699 769 end 700 770 object ACompileAndRun: TAction … … 703 773 end 704 774 object AProgramRun: TAction 775 Category = 'Program' 705 776 Caption = 'Run' 706 777 ImageIndex = 1 707 778 OnExecute = AProgramRunExecute 779 ShortCut = 120 708 780 end 709 781 object AAbout: TAction … … 715 787 end 716 788 object AProgramPause: TAction 789 Category = 'Program' 717 790 Caption = 'Pause' 718 791 ImageIndex = 11 … … 720 793 end 721 794 object AProgramStop: TAction 795 Category = 'Program' 722 796 Caption = 'Stop' 723 797 ImageIndex = 10 724 798 OnExecute = AProgramStopExecute 799 ShortCut = 16497 725 800 end 726 801 object AViewInterpretter: TAction … … 734 809 OnExecute = AViewCompiledExecute 735 810 end 736 object AInterpretterStepInto: TAction 811 object AProgramStepInto: TAction 812 Category = 'Program' 737 813 Caption = 'Step into' 738 end 739 object AInterpretterStopOver: TAction 814 ShortCut = 118 815 end 816 object AProgramStopOver: TAction 817 Category = 'Program' 740 818 Caption = 'Step over' 741 end 742 object AInterpretterRunToCursor: TAction 819 ShortCut = 119 820 end 821 object AProgramRunToCursor: TAction 822 Category = 'Program' 743 823 Caption = 'Run to cursor' 744 end 745 object AInterpretterStepOut: TAction 824 ShortCut = 115 825 end 826 object AProgramStepOut: TAction 827 Category = 'Program' 746 828 Caption = 'Step out' 829 ShortCut = 8311 747 830 end 748 831 object ABreakpointToggle: TAction … … 1302 1385 object MenuItem29: TMenuItem 1303 1386 Action = AGenerateNumber 1387 Bitmap.Data = { 1388 36040000424D3604000000000000360000002800000010000000100000000100 1389 2000000000000004000064000000640000000000000000000000FFFFFF00FFFF 1390 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1391 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1392 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1393 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1394 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1395 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1396 FF000000008B000000B7FFFFFF000000008B000000FF000000FF000000FF0000 1397 008BFFFFFF00000000B7000000FF000000B7FFFFFF00FFFFFF00FFFFFF00FFFF 1398 FF000000008B000000B7FFFFFF0000000063000000FF00000063FFFFFF00FFFF 1399 FF0000000063000000B700000020000000FF00000063FFFFFF00FFFFFF00FFFF 1400 FF000000008B000000B7FFFFFF00FFFFFF00000000FF000000FF00000020FFFF 1401 FF00FFFFFF00FFFFFF00FFFFFF00000000FF0000008BFFFFFF00FFFFFF00FFFF 1402 FF000000008B000000B7FFFFFF00FFFFFF0000000040000000FF000000B7FFFF 1403 FF00FFFFFF00FFFFFF00FFFFFF00000000FF00000063FFFFFF00FFFFFF00FFFF 1404 FF000000008B000000B7FFFFFF00FFFFFF00FFFFFF000000008B000000FF0000 1405 0040FFFFFF00FFFFFF00000000FF00000040FFFFFF00FFFFFF00000000200000 1406 00B70000008B000000B7FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF0000 1407 008BFFFFFF00FFFFFF0000000020000000FF00000020FFFFFF00000000200000 1408 00FF000000FF000000B7FFFFFF00FFFFFF00FFFFFF00FFFFFF000000008B0000 1409 008BFFFFFF00FFFFFF00FFFFFF00000000FF00000040FFFFFF00FFFFFF000000 1410 0040000000FF000000B7FFFFFF0000000063000000B7FFFFFF00000000B70000 1411 0063000000630000008B00000020000000FF00000020FFFFFF00FFFFFF00FFFF 1412 FF0000000063000000B7FFFFFF00FFFFFF00000000FF000000FF000000B7FFFF 1413 FF00FFFFFF00000000FF000000FF0000008BFFFFFF00FFFFFF00FFFFFF00FFFF 1414 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1415 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1416 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1417 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1418 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1419 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1420 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 1421 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00 1422 } 1304 1423 end 1305 1424 end -
trunk/Forms/UMainForm.lrt
r25 r30 1 1 TMAINFORM.CAPTION=LazFuck 2 TMAINFORM.TOOLBUTTON12.CAPTION=ToolButton12 3 TMAINFORM.TOOLBUTTON13.CAPTION=ToolButton13 4 TMAINFORM.TOOLBUTTON14.CAPTION=ToolButton14 5 TMAINFORM.TOOLBUTTON15.CAPTION=ToolButton15 2 6 TMAINFORM.MENUITEM1.CAPTION=Project 3 7 TMAINFORM.MENUITEMOPENRECENT.CAPTION=Open recent … … 24 28 TMAINFORM.AVIEWINTERPRETTER.CAPTION=Interpretter 25 29 TMAINFORM.AVIEWCOMPILED.CAPTION=Compiled 26 TMAINFORM.A INTERPRETTERSTEPINTO.CAPTION=Step into27 TMAINFORM.A INTERPRETTERSTOPOVER.CAPTION=Step over28 TMAINFORM.A INTERPRETTERRUNTOCURSOR.CAPTION=Run to cursor29 TMAINFORM.A INTERPRETTERSTEPOUT.CAPTION=Step out30 TMAINFORM.APROGRAMSTEPINTO.CAPTION=Step into 31 TMAINFORM.APROGRAMSTOPOVER.CAPTION=Step over 32 TMAINFORM.APROGRAMRUNTOCURSOR.CAPTION=Run to cursor 33 TMAINFORM.APROGRAMSTEPOUT.CAPTION=Step out 30 34 TMAINFORM.ABREAKPOINTTOGGLE.CAPTION=Toggle breakpoint 31 35 TMAINFORM.AOPTIONS.CAPTION=Options -
trunk/Forms/UMainForm.pas
r28 r30 27 27 AFormatSource: TAction; 28 28 AOptions: TAction; 29 A InterpretterStepOut: TAction;30 A InterpretterRunToCursor: TAction;31 A InterpretterStopOver: TAction;32 A InterpretterStepInto: TAction;29 AProgramStepOut: TAction; 30 AProgramRunToCursor: TAction; 31 AProgramStopOver: TAction; 32 AProgramStepInto: TAction; 33 33 AViewCompiled: TAction; 34 34 AViewInterpretter: TAction; … … 72 72 MenuItem30: TMenuItem; 73 73 MenuItem31: TMenuItem; 74 MenuItem32: TMenuItem; 75 MenuItem33: TMenuItem; 76 MenuItem34: TMenuItem; 77 MenuItem35: TMenuItem; 74 78 MenuItemOpenRecent: TMenuItem; 75 79 MenuItemTarget: TMenuItem; … … 90 94 ToolButton10: TToolButton; 91 95 ToolButton11: TToolButton; 96 ToolButton12: TToolButton; 97 ToolButton13: TToolButton; 98 ToolButton14: TToolButton; 99 ToolButton15: TToolButton; 92 100 ToolButton2: TToolButton; 93 101 ToolButton3: TToolButton; -
trunk/Languages/LazFuckIDE.cs.po
r28 r30 122 122 msgstr "NápovÄda" 123 123 124 #: tmainform.ainterpretterruntocursor.caption125 msgid "Run to cursor"126 msgstr "Spustit po ukazatel"127 128 #: tmainform.ainterpretterstepinto.caption129 msgid "Step into"130 msgstr "Vstoupit do"131 132 #: tmainform.ainterpretterstepout.caption133 msgid "Step out"134 msgstr "Vystoupit z"135 136 #: tmainform.ainterpretterstopover.caption137 msgid "Step over"138 msgstr "PÅejÃt pÅes"139 140 124 #: tmainform.aoptions.caption 141 125 msgctxt "tmainform.aoptions.caption" … … 151 135 msgstr "Spustit" 152 136 137 #: tmainform.aprogramruntocursor.caption 138 msgctxt "tmainform.aprogramruntocursor.caption" 139 msgid "Run to cursor" 140 msgstr "Spustit po ukazatel" 141 142 #: tmainform.aprogramstepinto.caption 143 msgctxt "tmainform.aprogramstepinto.caption" 144 msgid "Step into" 145 msgstr "Vstoupit do" 146 147 #: tmainform.aprogramstepout.caption 148 msgctxt "tmainform.aprogramstepout.caption" 149 msgid "Step out" 150 msgstr "Vystoupit z" 151 153 152 #: tmainform.aprogramstop.caption 154 153 msgid "Stop" 155 154 msgstr "Zastavit" 155 156 #: tmainform.aprogramstopover.caption 157 msgctxt "tmainform.aprogramstopover.caption" 158 msgid "Step over" 159 msgstr "PÅejÃt pÅes" 156 160 157 161 #: tmainform.aprojectclose.caption … … 237 241 msgstr "CÃl" 238 242 243 #: tmainform.toolbutton12.caption 244 msgid "ToolButton12" 245 msgstr "" 246 247 #: tmainform.toolbutton13.caption 248 msgid "ToolButton13" 249 msgstr "" 250 251 #: tmainform.toolbutton14.caption 252 msgid "ToolButton14" 253 msgstr "" 254 255 #: tmainform.toolbutton15.caption 256 msgid "ToolButton15" 257 msgstr "" 258 239 259 #: toptionsform.buttoncancel.caption 240 260 msgid "Cancel" … … 267 287 268 288 #: ubrainfuck.sjumptablecolision 289 msgctxt "ubrainfuck.sjumptablecolision" 269 290 msgid "Jump table colision" 270 291 msgstr "Kolize skokové tabulky" 271 292 272 293 #: ubrainfuck.sjumptableinsistent 294 msgctxt "ubrainfuck.sjumptableinsistent" 273 295 msgid "Jump table is inconsistent" 274 296 msgstr "Nekonzistentnà skoková tabulka" 275 297 276 298 #: ubrainfuck.smemorycelloutofrange 299 msgctxt "ubrainfuck.smemorycelloutofrange" 277 300 msgid "Memory cell %s value out of range" 278 301 msgstr "Hodnota pamÄÅ¥ové buÅky %s je mimo rozsah" 279 302 280 303 #: ubrainfuck.sprogramlowerlimit 304 msgctxt "ubrainfuck.sprogramlowerlimit" 281 305 msgid "Program run over lower limit" 282 306 msgstr "Program pÅekroÄil dolnà omezenÃ" 283 307 284 308 #: ubrainfuck.sprogramupperlimit 309 msgctxt "ubrainfuck.sprogramupperlimit" 285 310 msgid "Program run over upper limit" 286 311 msgstr "Program pÅekroÄil hornà omezenÃ" 287 312 288 313 #: ubrainfuck.sreadinputerror 314 msgctxt "ubrainfuck.sreadinputerror" 289 315 msgid "Read input error" 290 316 msgstr "Chyba Ätenà vstupu" … … 330 356 msgstr "Program ukonÄen" 331 357 358 #: utarget.scompiledfilenotfound 359 msgctxt "utarget.scompiledfilenotfound" 360 msgid "Program compiled file \"%s\" not found" 361 msgstr "" 362 363 #: utarget.scompilernotfound 364 msgctxt "utarget.scompilernotfound" 365 msgid "Compiler \"%s\" not found" 366 msgstr "" 367 368 #: utargetinterpretter.sjumptablecolision 369 msgctxt "utargetinterpretter.sjumptablecolision" 370 msgid "Jump table colision" 371 msgstr "Kolize skokové tabulky" 372 373 #: utargetinterpretter.sjumptableinsistent 374 msgctxt "utargetinterpretter.sjumptableinsistent" 375 msgid "Jump table is inconsistent" 376 msgstr "Nekonzistentnà skoková tabulka" 377 378 #: utargetinterpretter.smemorycelloutofrange 379 msgctxt "utargetinterpretter.smemorycelloutofrange" 380 msgid "Memory cell %s value out of range" 381 msgstr "Hodnota pamÄÅ¥ové buÅky %s je mimo rozsah" 382 383 #: utargetinterpretter.sprogramlowerlimit 384 msgctxt "utargetinterpretter.sprogramlowerlimit" 385 msgid "Program run over lower limit" 386 msgstr "Program pÅekroÄil dolnà omezenÃ" 387 388 #: utargetinterpretter.sprogramupperlimit 389 msgctxt "utargetinterpretter.sprogramupperlimit" 390 msgid "Program run over upper limit" 391 msgstr "Program pÅekroÄil hornà omezenÃ" 392 393 #: utargetinterpretter.sreadinputerror 394 msgctxt "utargetinterpretter.sreadinputerror" 395 msgid "Read input error" 396 msgstr "Chyba Ätenà vstupu" 397 -
trunk/Languages/LazFuckIDE.po
r28 r30 113 113 msgstr "" 114 114 115 #: tmainform.ainterpretterruntocursor.caption116 msgid "Run to cursor"117 msgstr ""118 119 #: tmainform.ainterpretterstepinto.caption120 msgid "Step into"121 msgstr ""122 123 #: tmainform.ainterpretterstepout.caption124 msgid "Step out"125 msgstr ""126 127 #: tmainform.ainterpretterstopover.caption128 msgid "Step over"129 msgstr ""130 131 115 #: tmainform.aoptions.caption 132 116 msgctxt "TMAINFORM.AOPTIONS.CAPTION" … … 142 126 msgstr "" 143 127 128 #: tmainform.aprogramruntocursor.caption 129 msgctxt "TMAINFORM.APROGRAMRUNTOCURSOR.CAPTION" 130 msgid "Run to cursor" 131 msgstr "" 132 133 #: tmainform.aprogramstepinto.caption 134 msgctxt "TMAINFORM.APROGRAMSTEPINTO.CAPTION" 135 msgid "Step into" 136 msgstr "" 137 138 #: tmainform.aprogramstepout.caption 139 msgctxt "TMAINFORM.APROGRAMSTEPOUT.CAPTION" 140 msgid "Step out" 141 msgstr "" 142 144 143 #: tmainform.aprogramstop.caption 145 144 msgid "Stop" 145 msgstr "" 146 147 #: tmainform.aprogramstopover.caption 148 msgctxt "TMAINFORM.APROGRAMSTOPOVER.CAPTION" 149 msgid "Step over" 146 150 msgstr "" 147 151 … … 228 232 msgstr "" 229 233 234 #: tmainform.toolbutton12.caption 235 msgid "ToolButton12" 236 msgstr "" 237 238 #: tmainform.toolbutton13.caption 239 msgid "ToolButton13" 240 msgstr "" 241 242 #: tmainform.toolbutton14.caption 243 msgid "ToolButton14" 244 msgstr "" 245 246 #: tmainform.toolbutton15.caption 247 msgid "ToolButton15" 248 msgstr "" 249 230 250 #: toptionsform.buttoncancel.caption 231 251 msgid "Cancel" … … 258 278 259 279 #: ubrainfuck.sjumptablecolision 280 msgctxt "ubrainfuck.sjumptablecolision" 260 281 msgid "Jump table colision" 261 282 msgstr "" 262 283 263 284 #: ubrainfuck.sjumptableinsistent 285 msgctxt "ubrainfuck.sjumptableinsistent" 264 286 msgid "Jump table is inconsistent" 265 287 msgstr "" 266 288 267 289 #: ubrainfuck.smemorycelloutofrange 290 msgctxt "ubrainfuck.smemorycelloutofrange" 268 291 msgid "Memory cell %s value out of range" 269 292 msgstr "" 270 293 271 294 #: ubrainfuck.sprogramlowerlimit 295 msgctxt "ubrainfuck.sprogramlowerlimit" 272 296 msgid "Program run over lower limit" 273 297 msgstr "" 274 298 275 299 #: ubrainfuck.sprogramupperlimit 300 msgctxt "ubrainfuck.sprogramupperlimit" 276 301 msgid "Program run over upper limit" 277 302 msgstr "" 278 303 279 304 #: ubrainfuck.sreadinputerror 305 msgctxt "ubrainfuck.sreadinputerror" 280 306 msgid "Read input error" 281 307 msgstr "" … … 321 347 msgstr "" 322 348 349 #: utarget.scompiledfilenotfound 350 msgctxt "utarget.scompiledfilenotfound" 351 msgid "Program compiled file \"%s\" not found" 352 msgstr "" 353 354 #: utarget.scompilernotfound 355 msgctxt "utarget.scompilernotfound" 356 msgid "Compiler \"%s\" not found" 357 msgstr "" 358 359 #: utargetinterpretter.sjumptablecolision 360 msgctxt "utargetinterpretter.sjumptablecolision" 361 msgid "Jump table colision" 362 msgstr "" 363 364 #: utargetinterpretter.sjumptableinsistent 365 msgctxt "utargetinterpretter.sjumptableinsistent" 366 msgid "Jump table is inconsistent" 367 msgstr "" 368 369 #: utargetinterpretter.smemorycelloutofrange 370 msgctxt "utargetinterpretter.smemorycelloutofrange" 371 msgid "Memory cell %s value out of range" 372 msgstr "" 373 374 #: utargetinterpretter.sprogramlowerlimit 375 msgctxt "utargetinterpretter.sprogramlowerlimit" 376 msgid "Program run over lower limit" 377 msgstr "" 378 379 #: utargetinterpretter.sprogramupperlimit 380 msgctxt "utargetinterpretter.sprogramupperlimit" 381 msgid "Program run over upper limit" 382 msgstr "" 383 384 #: utargetinterpretter.sreadinputerror 385 msgctxt "utargetinterpretter.sreadinputerror" 386 msgid "Read input error" 387 msgstr "" 388 -
trunk/LazFuckIDE.lpi
r29 r30 92 92 </Unit0> 93 93 <Unit1> 94 <Filename Value="U BrainFuck.pas"/>95 <IsPartOfProject Value="True"/> 96 <UnitName Value="U BrainFuck"/>94 <Filename Value="UApplicationInfo.pas"/> 95 <IsPartOfProject Value="True"/> 96 <UnitName Value="UApplicationInfo"/> 97 97 </Unit1> 98 98 <Unit2> 99 <Filename Value=" UApplicationInfo.pas"/>100 <IsPartOfProject Value="True"/> 101 <UnitName Value="U ApplicationInfo"/>99 <Filename Value="Common\ULastOpenedList.pas"/> 100 <IsPartOfProject Value="True"/> 101 <UnitName Value="ULastOpenedList"/> 102 102 </Unit2> 103 103 <Unit3> 104 <Filename Value="Com piler\UCompiler.pas"/>105 <IsPartOfProject Value="True"/> 106 <UnitName Value="U Compiler"/>104 <Filename Value="Common\URegistry.pas"/> 105 <IsPartOfProject Value="True"/> 106 <UnitName Value="URegistry"/> 107 107 </Unit3> 108 108 <Unit4> 109 <Filename Value="Compiler\UCompilerDelphi.pas"/> 110 <IsPartOfProject Value="True"/> 111 <UnitName Value="UCompilerDelphi"/> 109 <Filename Value="Forms\UCompiledForm.pas"/> 110 <IsPartOfProject Value="True"/> 111 <ComponentName Value="CompiledForm"/> 112 <HasResources Value="True"/> 113 <ResourceBaseClass Value="Form"/> 114 <UnitName Value="UCompiledForm"/> 112 115 </Unit4> 113 116 <Unit5> 114 <Filename Value="Compiler\UCompilerPHP.pas"/> 115 <IsPartOfProject Value="True"/> 116 <UnitName Value="UCompilerPHP"/> 117 <Filename Value="Forms\UMainForm.pas"/> 118 <IsPartOfProject Value="True"/> 119 <ComponentName Value="MainForm"/> 120 <HasResources Value="True"/> 121 <ResourceBaseClass Value="Form"/> 122 <UnitName Value="UMainForm"/> 117 123 </Unit5> 118 124 <Unit6> 119 <Filename Value="Common\ULastOpenedList.pas"/> 120 <IsPartOfProject Value="True"/> 121 <UnitName Value="ULastOpenedList"/> 125 <Filename Value="Forms\UOptionsForm.pas"/> 126 <IsPartOfProject Value="True"/> 127 <ComponentName Value="OptionsForm"/> 128 <HasResources Value="True"/> 129 <ResourceBaseClass Value="Form"/> 130 <UnitName Value="UOptionsForm"/> 122 131 </Unit6> 123 132 <Unit7> 124 <Filename Value="Common\URegistry.pas"/> 125 <IsPartOfProject Value="True"/> 126 <UnitName Value="URegistry"/> 133 <Filename Value="Forms\UInterpretterForm.pas"/> 134 <IsPartOfProject Value="True"/> 135 <ComponentName Value="InterpreterForm"/> 136 <HasResources Value="True"/> 137 <ResourceBaseClass Value="Form"/> 138 <UnitName Value="UInterpretterForm"/> 127 139 </Unit7> 128 140 <Unit8> 129 <Filename Value="Forms\UCompiledForm.pas"/> 130 <IsPartOfProject Value="True"/> 131 <ComponentName Value="CompiledForm"/> 132 <HasResources Value="True"/> 133 <ResourceBaseClass Value="Form"/> 134 <UnitName Value="UCompiledForm"/> 141 <Filename Value="Forms\UCompilersForm.pas"/> 142 <IsPartOfProject Value="True"/> 143 <ComponentName Value="FormCompilers"/> 144 <ResourceBaseClass Value="Form"/> 145 <UnitName Value="UCompilersForm"/> 135 146 </Unit8> 136 147 <Unit9> 137 <Filename Value="Forms\UMainForm.pas"/> 138 <IsPartOfProject Value="True"/> 139 <ComponentName Value="MainForm"/> 140 <HasResources Value="True"/> 141 <ResourceBaseClass Value="Form"/> 142 <UnitName Value="UMainForm"/> 148 <Filename Value="Target\UTarget.pas"/> 149 <IsPartOfProject Value="True"/> 150 <UnitName Value="UTarget"/> 143 151 </Unit9> 144 152 <Unit10> 145 <Filename Value="Forms\UOptionsForm.pas"/> 146 <IsPartOfProject Value="True"/> 147 <ComponentName Value="OptionsForm"/> 148 <HasResources Value="True"/> 149 <ResourceBaseClass Value="Form"/> 150 <UnitName Value="UOptionsForm"/> 153 <Filename Value="Target\UTargetC.pas"/> 154 <IsPartOfProject Value="True"/> 155 <UnitName Value="UTargetC"/> 151 156 </Unit10> 152 157 <Unit11> 153 <Filename Value="Forms\UInterpretterForm.pas"/> 154 <IsPartOfProject Value="True"/> 155 <HasResources Value="True"/> 156 <UnitName Value="UInterpretterForm"/> 158 <Filename Value="Target\UTargetDelphi.pas"/> 159 <IsPartOfProject Value="True"/> 160 <UnitName Value="UTargetDelphi"/> 157 161 </Unit11> 158 162 <Unit12> 159 <Filename Value="Forms\UCompilersForm.pas"/> 160 <IsPartOfProject Value="True"/> 161 <ComponentName Value="FormCompilers"/> 162 <ResourceBaseClass Value="Form"/> 163 <UnitName Value="UCompilersForm"/> 163 <Filename Value="Target\UTargetInterpretter.pas"/> 164 <IsPartOfProject Value="True"/> 165 <UnitName Value="UTargetInterpretter"/> 164 166 </Unit12> 165 167 <Unit13> 166 <Filename Value=" Compiler\UCompilerC.pas"/>167 <IsPartOfProject Value="True"/> 168 <UnitName Value="U CompilerC"/>168 <Filename Value="Target\UTargetPHP.pas"/> 169 <IsPartOfProject Value="True"/> 170 <UnitName Value="UTargetPHP"/> 169 171 </Unit13> 170 172 </Units> … … 178 180 <SearchPaths> 179 181 <IncludeFiles Value="$(ProjOutDir)"/> 180 <OtherUnitFiles Value="Com piler;Common;Forms"/>182 <OtherUnitFiles Value="Common;Forms;Target"/> 181 183 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 182 184 </SearchPaths> -
trunk/LazFuckIDE.lpr
r27 r30 9 9 {$ENDIF} 10 10 Interfaces, // this includes the LCL widgetset 11 Forms, U BrainFuck, UApplicationInfo, UCompiledForm, UInterpretterForm,12 U MainForm, UOptionsForm, ULastOpenedList, URegistry, CoolTranslator, Common,13 TemplateGenerics, UCompiler, UCompilerDelphi, UCompilerPHP, UCompilerC,14 UCompilersForm;11 Forms, UApplicationInfo, UTarget, UTargetC, UTargetDelphi, 12 UTargetInterpretter, UTargetPHP, UCompiledForm, UInterpretterForm, UMainForm, 13 UOptionsForm, ULastOpenedList, URegistry, CoolTranslator, Common, 14 TemplateGenerics, UCompilersForm; 15 15 16 16 {$R *.res} -
trunk/Target/UTarget.pas
r29 r30 1 unit U Compiler;1 unit UTarget; 2 2 3 3 {$mode Delphi}{$H+} … … 12 12 TCompilerOptimization = (coNone, coNormal); 13 13 14 { T BrainFuckCompiler}14 { TTarget } 15 15 16 T BrainFuckCompiler= class16 TTarget = class 17 17 protected 18 18 Indent: Integer; … … 36 36 end; 37 37 38 { T CompilerList }38 { TTargetList } 39 39 40 T CompilerList = class(TListObject)40 TTargetList = class(TListObject) 41 41 procedure LoadFromRegistry(Root: HKEY; Key: string); 42 42 procedure SaveToRegistry(Root: HKEY; Key: string); … … 52 52 53 53 54 { T CompilerList }54 { TTargetList } 55 55 56 procedure T CompilerList.LoadFromRegistry(Root: HKEY; Key: string);56 procedure TTargetList.LoadFromRegistry(Root: HKEY; Key: string); 57 57 var 58 58 I: Integer; … … 63 63 OpenKey(Key + '\Compiler', True); 64 64 for I := 0 to Count - 1 do 65 with T BrainFuckCompiler(Items[I]) do65 with TTarget(Items[I]) do 66 66 if ValueExists(Name) then CompilerPath := ReadString(Name); 67 67 finally … … 70 70 end; 71 71 72 procedure T CompilerList.SaveToRegistry(Root: HKEY; Key: string);72 procedure TTargetList.SaveToRegistry(Root: HKEY; Key: string); 73 73 var 74 74 I: Integer; … … 79 79 OpenKey(Key + '\Compiler', True); 80 80 for I := 0 to Count - 1 do 81 with T BrainFuckCompiler(Items[I]) do81 with TTarget(Items[I]) do 82 82 if CompilerPath <> '' then WriteString(Name, CompilerPath) 83 83 else DeleteValue(Name); … … 87 87 end; 88 88 89 { T BrainFuckCompiler}89 { TTarget } 90 90 91 procedure T BrainFuckCompiler.AddLine(Text: string);91 procedure TTarget.AddLine(Text: string); 92 92 begin 93 93 Output := Output + DupeString(' ', Indent) + Text + LineEnding; 94 94 end; 95 95 96 function T BrainFuckCompiler.LongFileName(FileName: string): string;96 function TTarget.LongFileName(FileName: string): string; 97 97 begin 98 98 Result := FileName; … … 105 105 end; 106 106 107 constructor T BrainFuckCompiler.Create;107 constructor TTarget.Create; 108 108 begin 109 109 Optimization := coNormal; 110 110 end; 111 111 112 procedure T BrainFuckCompiler.OptimizeSource;112 procedure TTarget.OptimizeSource; 113 113 begin 114 114 // Remove redundand code … … 116 116 end; 117 117 118 procedure T BrainFuckCompiler.Compile;118 procedure TTarget.Compile; 119 119 begin 120 120 121 121 end; 122 122 123 procedure T BrainFuckCompiler.CompileToFile;123 procedure TTarget.CompileToFile; 124 124 var 125 125 Process: TProcess; … … 149 149 end; 150 150 151 procedure T BrainFuckCompiler.Run;151 procedure TTarget.Run; 152 152 var 153 153 CompiledFile: string; -
trunk/Target/UTargetC.pas
r29 r30 1 unit U CompilerC;1 unit UTargetC; 2 2 3 3 {$mode Delphi}{$H+} … … 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, U Compiler, Process, Dialogs;8 Classes, SysUtils, FileUtil, UTarget, Process, Dialogs; 9 9 10 10 type 11 11 12 { T BrainFuckCompilerC }12 { TTargetC } 13 13 14 T BrainFuckCompilerC = class(TBrainFuckCompiler)14 TTargetC = class(TTarget) 15 15 constructor Create; override; 16 16 procedure Compile; override; … … 21 21 implementation 22 22 23 { T BrainFuckCompilerC }23 { TTargetC } 24 24 25 constructor T BrainFuckCompilerC.Create;25 constructor TTargetC.Create; 26 26 begin 27 27 inherited Create; … … 37 37 end; 38 38 39 procedure T BrainFuckCompilerC.Compile;39 procedure TTargetC.Compile; 40 40 var 41 41 I: Integer; … … 104 104 end; 105 105 106 procedure T BrainFuckCompilerC.CompileToFile;106 procedure TTargetC.CompileToFile; 107 107 var 108 108 Process: TProcess; … … 133 133 end; 134 134 135 procedure T BrainFuckCompilerC.Run;135 procedure TTargetC.Run; 136 136 begin 137 137 inherited Run; -
trunk/Target/UTargetDelphi.pas
r29 r30 1 unit U CompilerDelphi;1 unit UTargetDelphi; 2 2 3 3 {$mode Delphi}{$H+} … … 6 6 7 7 uses 8 Classes, SysUtils, U Compiler;8 Classes, SysUtils, UTarget; 9 9 10 10 type 11 11 12 { T BrainFuckCompilerDelphi }12 { TTargetDelphi } 13 13 14 T BrainFuckCompilerDelphi = class(TBrainFuckCompiler)14 TTargetDelphi = class(TTarget) 15 15 constructor Create; override; 16 16 procedure Compile; override; … … 19 19 implementation 20 20 21 { T BrainFuckCompilerDelphi }21 { TTargetDelphi } 22 22 23 constructor T BrainFuckCompilerDelphi.Create;23 constructor TTargetDelphi.Create; 24 24 begin 25 25 inherited Create; … … 32 32 end; 33 33 34 procedure T BrainFuckCompilerDelphi.Compile;34 procedure TTargetDelphi.Compile; 35 35 var 36 36 I: Integer; -
trunk/Target/UTargetInterpretter.pas
r29 r30 1 unit U BrainFuck;1 unit UTargetInterpretter; 2 2 3 3 {$mode Delphi}{$H+} … … 9 9 10 10 type 11 T BrainFuckInterpretter = class;11 TTargetInterpretter = class; 12 12 13 13 14 14 TRunState = (rsStopped, rsPaused, rsRunning); 15 15 16 { T BrainFuckInterpretterThread }17 18 T BrainFuckInterpretterThread = class(TThread)19 Parent: T BrainFuckInterpretter;16 { TTargetInterpretterThread } 17 18 TTargetInterpretterThread = class(TThread) 19 Parent: TTargetInterpretter; 20 20 procedure Execute; override; 21 21 end; … … 26 26 TCommandHandler = procedure of object; 27 27 28 { T BrainFuckInterpretter }29 30 T BrainFuckInterpretter = class28 { TTargetInterpretter } 29 30 TTargetInterpretter = class 31 31 private 32 32 FCellSize: Integer; … … 34 34 FState: TRunState; 35 35 FThreadState: Boolean; 36 FThread: T BrainFuckInterpretterThread;36 FThread: TTargetInterpretterThread; 37 37 FStepCount: Integer; 38 38 FCommandTable: array[TBrainFuckCommand] of TCommandHandler; … … 88 88 SMemoryCellOutOfRange = 'Memory cell %s value out of range'; 89 89 90 { T BrainFuckInterpretterThread }91 92 procedure T BrainFuckInterpretterThread.Execute;90 { TTargetInterpretterThread } 91 92 procedure TTargetInterpretterThread.Execute; 93 93 begin 94 94 repeat … … 103 103 end; 104 104 105 { T BrainFuckInterpretter }106 107 procedure T BrainFuckInterpretter.SetState(AValue: TRunState);105 { TTargetInterpretter } 106 107 procedure TTargetInterpretter.SetState(AValue: TRunState); 108 108 begin 109 109 if FState = AValue then Exit; … … 112 112 end; 113 113 114 function T BrainFuckInterpretter.GetMemorySize: Integer;114 function TTargetInterpretter.GetMemorySize: Integer; 115 115 begin 116 116 Result := Length(Memory); 117 117 end; 118 118 119 procedure T BrainFuckInterpretter.SetMemorySize(AValue: Integer);119 procedure TTargetInterpretter.SetMemorySize(AValue: Integer); 120 120 begin 121 121 SetLength(Memory, AValue); 122 122 end; 123 123 124 procedure T BrainFuckInterpretter.SetSource(AValue: string);124 procedure TTargetInterpretter.SetSource(AValue: string); 125 125 var 126 126 I: Integer; … … 146 146 end; 147 147 148 procedure T BrainFuckInterpretter.SetThread(State: Boolean);148 procedure TTargetInterpretter.SetThread(State: Boolean); 149 149 begin 150 150 if FThreadState = State then Exit; 151 151 FThreadState := State; 152 152 if State then begin 153 FThread := T BrainFuckInterpretterThread.Create(True);153 FThread := TTargetInterpretterThread.Create(True); 154 154 FThread.Parent := Self; 155 155 FThread.FreeOnTerminate := False; … … 160 160 end; 161 161 162 procedure T BrainFuckInterpretter.PrepareJumpTable;162 procedure TTargetInterpretter.PrepareJumpTable; 163 163 var 164 164 Loop: array of Integer; … … 188 188 end; 189 189 190 procedure T BrainFuckInterpretter.CommandInc;190 procedure TTargetInterpretter.CommandInc; 191 191 begin 192 192 Memory[MemoryPosition] := ((Memory[MemoryPosition] + 1) mod CellSize); 193 193 end; 194 194 195 procedure T BrainFuckInterpretter.CommandDec;195 procedure TTargetInterpretter.CommandDec; 196 196 begin 197 197 Memory[MemoryPosition] := ((Memory[MemoryPosition] - 1) mod CellSize); 198 198 end; 199 199 200 procedure T BrainFuckInterpretter.CommandPointerInc;200 procedure TTargetInterpretter.CommandPointerInc; 201 201 begin 202 202 if MemoryPosition < MemorySize then Inc(MemoryPosition) … … 204 204 end; 205 205 206 procedure T BrainFuckInterpretter.CommandPointerDec;206 procedure TTargetInterpretter.CommandPointerDec; 207 207 begin 208 208 if MemoryPosition > 0 then Dec(MemoryPosition) … … 210 210 end; 211 211 212 procedure T BrainFuckInterpretter.CommandInput;212 procedure TTargetInterpretter.CommandInput; 213 213 begin 214 214 while (InputPosition > Length(Input)) and (FState <> rsStopped) do begin … … 221 221 end; 222 222 223 procedure T BrainFuckInterpretter.CommandOutput;223 procedure TTargetInterpretter.CommandOutput; 224 224 begin 225 225 if OutputPosition > Length(Output) then … … 229 229 end; 230 230 231 procedure T BrainFuckInterpretter.CommandLoopStart;231 procedure TTargetInterpretter.CommandLoopStart; 232 232 begin 233 233 if Memory[MemoryPosition] = 0 then … … 235 235 end; 236 236 237 procedure T BrainFuckInterpretter.CommandLoopEnd;237 procedure TTargetInterpretter.CommandLoopEnd; 238 238 begin 239 239 if Memory[MemoryPosition] > 0 then … … 241 241 end; 242 242 243 procedure T BrainFuckInterpretter.Reset;243 procedure TTargetInterpretter.Reset; 244 244 var 245 245 I: Integer; … … 257 257 end; 258 258 259 procedure T BrainFuckInterpretter.SingleStep;259 procedure TTargetInterpretter.SingleStep; 260 260 begin 261 261 FCommandTable[FSource[SourcePosition]]; … … 264 264 end; 265 265 266 procedure T BrainFuckInterpretter.Run;266 procedure TTargetInterpretter.Run; 267 267 begin 268 268 SetState(rsRunning); … … 272 272 end; 273 273 274 procedure T BrainFuckInterpretter.Pause;274 procedure TTargetInterpretter.Pause; 275 275 begin 276 276 if State = rsRunning then SetState(rsPaused); 277 277 end; 278 278 279 procedure T BrainFuckInterpretter.Stop;279 procedure TTargetInterpretter.Stop; 280 280 begin 281 281 SetState(rsStopped); 282 282 end; 283 283 284 constructor T BrainFuckInterpretter.Create;284 constructor TTargetInterpretter.Create; 285 285 begin 286 286 MemorySize := 30000; … … 296 296 end; 297 297 298 destructor T BrainFuckInterpretter.Destroy;298 destructor TTargetInterpretter.Destroy; 299 299 begin 300 300 FState := rsStopped; -
trunk/Target/UTargetPHP.pas
r29 r30 1 unit U CompilerPHP;1 unit UTargetPHP; 2 2 3 3 {$mode Delphi}{$H+} … … 6 6 7 7 uses 8 Classes, SysUtils, U Compiler;8 Classes, SysUtils, UTarget; 9 9 10 10 type 11 11 12 { T BrainFuckCompilerPHP }12 { TTargetPHP } 13 13 14 T BrainFuckCompilerPHP = class(TBrainFuckCompiler)14 TTargetPHP = class(TTarget) 15 15 constructor Create; override; 16 16 procedure Compile; override; … … 21 21 implementation 22 22 23 { T BrainFuckCompilerPHP }23 { TTargetPHP } 24 24 25 constructor T BrainFuckCompilerPHP.Create;25 constructor TTargetPHP.Create; 26 26 begin 27 27 inherited Create; … … 36 36 end; 37 37 38 procedure T BrainFuckCompilerPHP.Compile;38 procedure TTargetPHP.Compile; 39 39 var 40 40 I: Integer; … … 93 93 end; 94 94 95 procedure T BrainFuckCompilerPHP.Run;95 procedure TTargetPHP.Run; 96 96 begin 97 97 inherited Run;
Note:
See TracChangeset
for help on using the changeset viewer.