Pascal Script/ja

From Free Pascal wiki
Revision as of 13:47, 7 April 2006 by Tooka (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Deutsch (de) English (en) español (es) 日本語 (ja) русский (ru)

概要

Pascal ScriptはObjectPascalとDelphiそしてLazarus互換のバイトコードコンパイラ及びインタプリタです。 これは現在インテルプロセッサ搭載機のWindowsとLinux上で動作します。 これはCarld Kokによって作成されて、メンテナンスされておりRemObjects software権利を持っており、全てのコードが利用可能なフリーソフトウェアです。

ROPS (RemObjects Pascal Script)とFreePascal 2.0.1の僅かな非互換性の修正のためにBogusław Brandysと多くの開発者の支援が#fpcと#lazarus-ideのIRCチャンネルによって行われました。ありがとうございます。

Pascal Script is an ObjectPascal/Delphi/Lazarus compatible interpreter with bytecode compiler. It currently works in Windows and Linux on a 32-bit Intel processor. It was created and is maintained by Carlo Kok and is copyrighted by RemObjects software as freeware with full source available. The fix of few incompatibilities between ROPS (RemObjects Pascal Script) and FreePascal 2.0.1 was made by Bogusław Brandys with a great help of many developers from #fpc and #lazarus-ide IRC channels . Thank You.

主な特徴は以下の通りです:

  • ほぼ全てのObject Pascal構文のサポート
  • DelphiおよびLazarusのクラスのサポート(スクリプト内部での宣言は不可)
  • コンポーネントを利用したGUIフォームの作成
  • 用意にスクリプトエンジンに新しいクラスを追加可能

Its main caracteristics are :

  • almost all Object Pascal syntax supported
  • Delphi/Lazarus classes supported (however cannot be declared inside of script)
  • can create fully workable GUI forms with components
  • easily import new classes into script engine

配布物にはDelphi(さまざまなバージョン)とLazarusのパッケージといくつかのDelphi向けのサンプル(FreePascalとLazarusで動作可能かもしれません)が含まれています。これは作業中です。

The download contains the components package for Delphi (various versions) and Lazarus + a few samples for Delphi (which may or may not work under FreePascal+ Lazarus) It is a work in progress.

このコンポーネントはクロスプラットホームアプリケーション向けにデザインされていますが、現状では32bitインテルプロセッサ上でしか動作しません。しかしいつの日かPowerPCや64-bitアーキテクチャで動作することでしょう。

This component is now designed for cross-platform applications, however limited to 32-bit Intel platform only. I'd like to make it work on PowerPC and 64-bit architectures someday.

スクリーンショット

このスクリーンショットはLazarus上で動作しているものです。

Here are some screenshots how it looks under Lazarus:


under Linux under Windows

ライセンス

BSDライセンスに似ています、詳しくはこちら full text(訳注:責任をもてないので翻訳はしません)。

BSD like, see full text.

ダウンロード

テスト用のデータリリースがこちらでダウンロード可能です。 Lazarus CCR Files page.

You can download beta releases for testing here: Lazarus CCR Files page.

履歴

  • Version 1.0 2005/10/21


Dependencies / System Requirements

  • None

Status: Beta

Issues: Needs testing on Windows. Needs testing on Linux. Almost working ;-)

インストール

  • lazarus\components\pascalscriptというディレクトリを作ってください
  • このディレクトリ内部でファイルを解凍します
  • Lazarusを起動します。
  • Component/Open package file (.lpk)からパッケージファイルpascalscript.lpkを開いてください
  • Compileをクリックしてください
  • Installをクリックしてください
  • Create the directory lazarus\components\pascalscript
  • Unzip files into the directory
  • Open lazarus
  • Open the package pascalscript.lpk with Component/Open package file (.lpk)
  • Click on Compile
  • Click on Install

使いかた

PascalScriptコンポーネントといくつかのプラグインをForm上に配置してください。 (TODO:finish)

Drop the PascalScript component on a form and a few plugins. (TODO:finish)

サンプルプロジェクトを見てください

See the example projects.

RemObjectsによるこちらの記事も見てください。 article

See also this article from RemObjects.


サンプルアプリケーション

サンプルのコンソールモードインタープリタアプリケーション: psce

Sample small console mode interpreter application: psce