» » paxCompiler 4.2 Full Source


paxCompiler 4.2 Full Source

Author: Loreal on 30-12-2014, 17:24, views: 1093

paxCompiler 4.2 Full Source
paxCompiler 4.2 Full Source | 1.4 Mb

paxCompiler 4.2 Full Source paxInterpreter allows to execute intermediate paxCompiler byte-code. New runner is interchangeable with paxCompiler TPaxProgram class without any restrictions, i.e. you can use it with all pax components (TPaxCompilerDebugger, TPaxCompilerExplorer, TPaxEval), the same import routines allows you to import host-defined members. paxInterpreter supports the same scripting languages: Pascal, Basic, javascript. You can use generic types, anonymous functions, lambda expressions, operator overloading etc. You have possibility to use script-defined classes at host side via interfaces and virtual methods, bind dfm files, use RTTI of script-defined types, use compiled script units. And more... Current version of paxInterpreter can be used with Windows 32/64 bit. paxInterpreter will available for all platforms supported by Delphi XE (Mac OS, iOS, Android) in the next releases. Native code generators will be added to paxCompiler as well.

About paxCompiler
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/64 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.6.2.
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.



Category: Delphi

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.
Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.