paxCompiler 4.2 for D11 Alexandria Full Source
paxCompiler 4.2 for D11 Alexandria 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, j@vascript. 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 jР°vascript 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 jР°vascript 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.
Only for V.I.P
Warning! You are not allowed to view this text.