## References

### paxCompiler for Delphi, Kylix and Borland C++ Builder

> TPaxCompiler, TPaxProgram and TPaxPascalLanguages 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.
> TPaxCompiler allows you to compile scripts.

> > - Methods
> > - Properties
> > - Events

> TPaxProgram represents compiled script (machine code).

> > - Methods
> > - Properties
> > - Events

> TPaxPascalLanguage represents parser of Pascal language.

> > - Methods

> TPaxCompilerDebugger allows you to debug scripts.

> > - Methods
> > - Properties

> TPaxCompilerExplorer allows you to explore compiled scripts.

> > - Methods
> > - Properties

> - TPaxInvoke allows you to dynamically invoke a global function or a method of object.
> - Procedure

>   >     procedure CreateExeFile(const ExeName: String;
>   >                             PaxProgram: TPaxProgram;
>   >                             const DllName: String;
>   >                             const ProcName: String);

>   allows you to create stand alone executable files. Click here to download a test application (pascal_tester.zip, 1.2 MB).

> #### PaxCompiler registration routines

> Using global registration routines (see PaxRegister.pas) allows you to share registered items with all paxCompiler instances and to decrease footprint of each paxCompiler instance. These routines provide an easy way to create import units (see IMPORT_SysUtils.pas, IMPORT_Classes.pas)).

> #### Demos

> - "Hello" application
> - Call a script-defined function
> - Call a script-defined function by means of TPaxInvoke component
> - Register host-defined types and variables
> - Access to script-defined variables
> - Loading compiled scripts
> - Evaluate expression
> - OnUsedUnit event
> - Script-defined event handlers
> - Inheritance of host-defined classes
> - Code explorer
> - Support of dll-defind functions

### paxCompiler for Microsoft Visual Studio C++

> paxCompiler, implemented as paxcompilerlib.dll, can be used for scripting MS VC++ applications.

> #### Routines exported by paxcompilerlib.dll

> #### Demos

> - "Hello" application
> - Call a script-defined function
> - Register host-defined types and variables
> - Access to script-defined variables
> - Loading compiled scripts

### Pascal samples

- Overloaded routines
- Default parameters
- Nested routines
- Namespaces
- Units
- Static array types
- Dynamic array types
- Enumeration types
- Variant types
- Imported class types
- Imported class reference types
- Exception handling
- Support of OLE Automation
- Script-defined class types
- Array initializers
- Script-defined callback functions
- Script-defined interface types
- Directive IMPLEMENTS

  #### Standard Pascal procedures and functions are supported by paxCompiler

  >     GetMem
  >     FreeMem
  >     AllocMem
  >     Abs
  >     ArcTan
  >     Cos
  >     Exp
  >     Frac
  >     Int
  >     Ln
  >     Pi
  >     Sin
  >     Sqr
  >     Sqrt
  >     New
  >     Dispose
  >     Inc
  >     Dec
  >     Pred
  >     Succ
  >     Ord
  >     Chr
  >     Odd
  >     Length
  >     Delete
  >     Insert
  >     Str
  >     Val
  >     Copy
  >     Pos
  >     SizeOf
  >     Move
  >     FillChar
  >     Upcase
  >     Randomize
  >     Random
  >     Hi
  >     Lo
  >     Write
  >     Writeln
  >     Pause
  >     Halt

  Copyright © 2006-2008 VIRT Laboratory. All rights reserved.