Lazarus中文社区

 找回密码
 立即注册(注册审核可向QQ群索取)

QQ登录

只需一步,快速开始

Lazarus IDE and 组件 下载地址版权申明
查看: 2610|回复: 2

支持Lazarus的脚本引擎:paxCompiler for Free Pascal 2.0

[复制链接]

该用户从未签到

发表于 2012-11-3 15:32:54 | 显示全部楼层 |阅读模式
paxCompiler is an embeddable compiler of the Object Pascal, Basic and JavaScript programming languages. The key features of the paxCompiler are:
The compiler generates machine code for Intel compatible processors (IA-32 architecture).
It is possible to use the compiler as a scripting engine. You can embed the compiler into host application, register host-defined types, routines, variables and constants for the engine, read/write script-defined variables, call script-defined functions etc. You can save/load compiled scripts to/from a stream.
The compiler was initially written in Borland Delphi as a set of Delphi components. TPaxCompiler, TPaxProgram and TPaxPascalLanguage are Delphi components that allows you to embed the paxCompiler into Delphi, Kylix or Borland C++ Builder application so you can customize and extend the application without having to recompile it.
Source code of paxCompiler is compatible with Free Pascal 2.0.
paxCompiler, implemented as paxcompilerlib.dll, can be used for scripting Microsoft Visual C++ applications.
The compiler supports Object Pascal language based on the Delphi 7 standard. Syntax of Basic language is similar to VB.NET.
Script-defined functions support register (Borland fastcall), cdecl, stdcall, safecall, pascal and msfastcall (Microsoft fastcall) calling conventions.
Cross-language programming support. You can use Pascal units in Basic and JavaScript programs and vice versa.
COM support.
TPaxCompilerDebugger and TPaxCompilerExplorer components implement debugger (breakpoints, call stack, watches, step over, trace into, run to cursor, pause) and code explorer capabilities.
Script-defined types support run-time information (RTTI).
You can bind instances of script-defined classes with dfm files.
You can import host-defined types with paxCompiler importer.
You can create stand alone executable files.
Support of compiled units and run-time packages.
paxCompiler engine is thread safe.
The roadmap of the compiler includes: Java compiler, C++ compiler, built-in assembler.
下载地址:http://whotalk.qjwm.com/down_5811904.html
不好意思,之前把地址搞错了,现在正确了!

评分

参与人数 1威望 +7 收起 理由
bugxiong + 7 优秀文章,支持!n神马都是浮云!

查看全部评分

回复

使用道具 举报

该用户从未签到

发表于 2012-11-5 00:07:17 | 显示全部楼层
很好,可以继续努力
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2012-11-12 14:16:34 | 显示全部楼层
我试了里面的一个例子,不知道怎么搞的,那个INTTOSTR没有起作用
回复 支持 反对

使用道具 举报

*滑块验证:

本版积分规则

QQ|手机版|小黑屋|Lazarus中国|Lazarus中文社区 ( 鄂ICP备16006501号-1 )

GMT+8, 2023-1-29 07:55 , Processed in 0.026696 second(s), 13 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表