OneScript 1.9.0 Released: A Cross-Platform Virtual Machine for 1C Scripts
The project OneScript 1.9.0 has recently been published, introducing a new cross-platform virtual machine for executing 1C: Enterprise scripts. This virtual machine is independent of the 1C Cross-Platform Machine and enables users to run 1C scripts without installing the entire 1C: Enterprise platform and its specific libraries. The OneScript virtual machine is not only capable of directly executing scripts in the 1C language, but also provides support for executing them in applications written in other programming languages. The project has been developed using C# and is distributed under the mpl-2.0 license. It is compatible with Linux, Windows, and MacOS.
OneScript fully supports all the features of the 1C language, including non-standing expressions, loops, exceptions, arrays, regular expressions, COM objects, and built-in functions for working with primitive types. Furthermore, the standard library of OneScript offers functions for file and string manipulation, system interaction, JSON and XML processing, network access, HTTP protocol usage, mathematical calculations, and layout handling.
Originally designed for developing console applications in 1C, the OneScript library is now expanding its capabilities with the oneescriptForms library, enabling developers to create graphical interface applications. Additionally, more than 160 packages consisting of extra libraries and utilities are available. To simplify the installation and distribution of these libraries, OneScript provides a package manager called ovm.
In the latest release of OneScript (v1.9.0), the following updates have been made:
- The
Reflector
object has added theWellKnownTypes()
method, which returns all registered types in the form of a table. - The
Buffered