A simple, portable and lightweight library for running INTEGRAL programs and scripts.
D-Type Script Interpreter is an easy-to-use, portable and lightweight C/C++ library that allows its clients to seamlessly execute INTEGRAL programs and scripts on any device or platform. Using the library’s four key functions, applications can initialize multiple instances of the script interpreter and execute INTEGRAL programs concurrently. The programs can reside on disk or in memory, depending on your application’s specific requirements.
D-Type Script Interpreter is a library that requires D-Type PowerDoc Engine and D-Type Text Module to operate. Because these two libraries have their own dependencies, D-Type Script Interpreter depends on all other D-Type libraries.
INTEGRAL is a modern, versatile, extensible and elegant domain-specific language (DSL) designed for dynamic content publishing. Built on the Squirrel programming language and greatly enhanced by D-Type technologies, INTEGRAL enables you to easily create a wide array of electronic documents, ranging from simple texts and presentations to complex dynamic content that includes rich text, tables, figures, mathematical formulas and more.
The main benefits of using D-Type Script Interpreter to execute INTEGRAL DSL from your C/C++ programs are:
Portability: D-Type Script Interpreter features only four key C/C++ functions and runs on any modern hardware and software platform in existence today.
Fidelity: INTEGRAL ensures that your documents look precisely the same on any hardware platform and operating system.
Performance: D-Type Script Interpreter auto-compiles INTEGRAL source code to 64-bit bytecode, which then executes very fast, while utilizing little RAM and CPU resources.
Versatility: INTEGRAL is a fully featured programming language that supports classes and inheritance, functions, control structures, automatic memory management, operator overloading and more.
Simplicity: INTEGRAL code is simpler to read and write than popular markup languages such as HTML, MathML and CSS — while being more expressive and capable of providing sophisticated display and layout capabilities, especially in dynamic content publishing settings.
Familiarity: INTEGRAL is a dynamically typed language with a C-like syntax, making it familiar to programmers experienced with C, C++, Java or JavaScript.
Compatibility: INTEGRAL will always be fully backward compatible with itself, ensuring that your INTEGRAL code never breaks or stops working.
Safety: INTEGRAL is a stable, well-tested and secure runtime environment. You can use it to create complex electronic documents quickly and easily, while spending less time thinking about buffer overruns, access violations, manual resource management and other challenges usually associated with C/C++.
Supported Languages |
|
|---|---|
Input Program Location |
|
Bytecode Architecture |
|
Graphical Output |
Note: PowerDoc frames resulting from text layout operations are available as well. |
Dependencies |
D-Type PowerDoc Engine, D-Type Unicode Text Module and their dependencies |
Availability |
Static or shared (dynamically linked) library for:
See Platforms and Portability for details. |
Here are a few basic examples to illustrate the capabilities of INTEGRAL DSL.
The following screenshots showcase the output created by a demo INTEGRAL program found in the download package. This program renders a set of fairly complex mathematical equations to a PowerDoc document. D-Type Script Interpreter can execute this program on any platform, delivering 100% identical results down to the pixel.
The first screenshot shows the default view.

The second screenshot shows the view in which PowerDoc frames are visible. Those familiar with D-Type PowerDoc Engine know that frames enable applications to obtain precise information about the position and extent of each glyph rendered on the screen, which allows for seamless support of highlighting selected text, implementing cursor movement, and conducting hit testing.

If you have a question about D-Type technology that you can’t find the answer to, please use our Obtain Additional Information form. We will publish your question along with our response within a few days and notify you once the answer is available on our website.
Additionally, you may find it helpful to explore the history of D-Type releases and review the D-Type News page.
Available in binary, object, and/or source code format for any hardware or operating system environment, D-Type technology is an excellent choice for software developers seeking a rendering solution that is affordable, mature, reliable, secure, well-maintained, well-supported, super-fast and packed with features.