Linux IDE for pascal

Discussion about everything. New games, 3d math, development tips...
Post Reply
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Linux IDE for pascal

Post by serengeor »

I need a Pascal IDE, which would come with compiler that would be similar to this one ( only for windows ).
We are using this IDE at school so I would like to have something similar to it.
Tried Lazarus IDE, but it seems kind of strange with all those windows everywhere.
Edit: well maybe Lazarus is not so bad, but it uses some other keywords.

Code: Select all

unit Unit1; 

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs; 

type
  TForm1 = class(TForm)
  private
    { private declarations }
  public
    { public declarations }
  end; 

var
  Form1: TForm1; 

implementation

initialization
  {$I unit1.lrs}

end.
                
I think 'Unit' is like we use at school 'program',
but what is 'Interface' keyword for?
and what does these mean?

Code: Select all

implementation

initialization
Working on game: Marrbles (Currently stopped).
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

I've got also Pascal in school. I used TurboPascal (dos version) on DosBox (dos emulator, works under GNU/Linux).
I don't know that there is any other IDE than Lazarus for GNU/Linux.

Btw, under GNU/Linux there is good free compiler: http://www.freepascal.org/.


edit:
Those keywords looks like Delphi keywords.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

I guess I'll use virtual box and try to run the same IDE we use in school.
Working on game: Marrbles (Currently stopped).
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Back in the days that i was doomed, i used Geany. You can get it from the repositories, and i think it also comes with free pascal compiler, or it will download it automatically as a dependence, i guess.

EDIR: or wait, am i thinking of C now?
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

entity thanks I'll look into geany as it seams to support pascal syntax :)
Do you know how to set up fpc with geany?
Edit: used a template file and it worked, how would I actually run it as double clicking doesn't work.
Working on game: Marrbles (Currently stopped).
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Are you looking for something only for coloring code, or more stuff like autocompletion etc?

If only syntax coloring, you can use vim :)
There is screen from my vim:
Image
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

Heh, no I actually don't need auto completion or fancy coloring, but I prefer GUI instead of console :D

And I got geany working so I guess I'll stick to it as it works ok.

Guess I still haven't got used to linux :roll:

Thanks.
Working on game: Marrbles (Currently stopped).
Post Reply