For faster navigation, this Iframe is preloading the Wikiwand page for Gambas.

Gambas

Gambas
Ubunutu 8.10のロシア語版で動作させたもの。
開発元 Benoît Minisini
最新版
3.18.4 / 2023年9月21日 (9か月前) (2023-09-21)[1]
リポジトリ ウィキデータを編集
対応OS LinuxFreeBSDMac OS X
種別 プログラミング言語IDE
ライセンス GNU GPLv2+
公式サイト https://gambas.sourceforge.net/en/main.html
テンプレートを表示

Gambasオブジェクト指向BASICを用いる統合開発環境/RAD。基本的にはLinux向けだが、FreeBSDなどでも動作する。コンパイラはC言語で、拡張コンポーネントはCもしくはC++で、IDEはGambasそれ自体で実装されている。

Gambasの名称は"Gambas Almost Mean BASic"の略で、Visual Basicのような開発環境であることをうたっている。

特徴

[編集]

軽快に動作することに開発の力点が置かれており、実行にランタイムを必要とする言語としては必要とされるリソースが少ない。

Qt/GTKに対応したGUIデザイナが付属しており(IDEそのものはQtのみ)、簡単にGUIが作成出来る。各ウィジェットも自動的にコードとリンクされる。

Qt/Gtk+アプリケーションの他、SDL・ウェブアプリケーション・CLIアプリケーション等も作成可。

パッケージャが付属しており、特定のディストリビューションに対応したインストールパッケージをダイアログに答えてゆくだけで作成可能。最新版(2.15.2)で対応しているディストリビューションは以下のとおり。

言語仕様

[編集]

基本的な方向性としては.NET化以前のVisual Basicに似ており、ごく単純なコードなら見分けがつかないほどである。

例:"Button1"をクリックしたときに"Label1"に"Hello World!"と表示するコード。

PUBLIC SUB Button1_Click()

   Label1.Text="Hello World!"

END

他の特徴

  • グローバル変数・メソッドの無いオブジェクト指向で、コードはすべてクラスファイルもしくはモジュールファイルに記述される。
  • クラスの継承・オーバーロード・スーパークラスへのアクセスが可能。
  • パブリック変数とプロパティを併用可能。
  • TRY/CATCH/FINALLY等による例外処理が可能。
  • CLIコマンドを直接実行可能。パイプも通るため、これだけでかなり高度な処理が出来る。

脚注

[編集]

外部リンク

[編集]
{{bottomLinkPreText}} {{bottomLinkText}}
Gambas
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?