# Start
👤XIAOYI12 | 🕑2023-10-21 |
This page of documentation will teach you how to quickly write a script that can be executed using OpenEX
# Download
You can download to OpenEX through OpenEX's GitHub
repository
*.jar
Java Application*.exe
VCRuntime Win32 Application
GitHUB Releases (opens new window) Download update version
Warning
We strongly recommend that you download the latest version of OpenEX, as the latest version fixes various parsing bugs. When you copy the source code, You won't fix it manually Yourself Because of parsing bugs.
# Run
# Java Application Beta
For Java applications, we generally use them to embed in other Java programs and act as your script parser.
# Runtime
Operating system:
Windows10 or 11
Ubuntu Linux
LTS 18.04
and aboveMacOS
Intel x86_64
orAArch64
Java:
OpenJDK 17.0.1 and above
GraalVM OpenJDK 17.0.8 and above
# Console
Windows PowerShell
PS C:\Users\user_name> java -jar ./OpenEX-Pro-<version>.jar
Linux Terminal
[username@localhost ~]$ java -jar OpenEX-Pro-<version>.jar
You will see output similar to the following in your terminal.
OpenEX Pro <version>
Runtime: MSVC SubstrateVM
Usage:
-filename <filename> Compile the file(Please separate multiple file names with ',')
-compile Enable StamonVM compilation mode.
-concur Enable concurrent compilation mode.
-help Print help info about openex commands.
-version Print version info.
-debug Enable debug model.
2
3
4
5
6
7
8
9
10
For detailed function explanations of command parameters, please scroll down.
- So far, your OpenEX Java application has started successfully.
# VCRuntime Win32 Application
# Runtime
- Operating system: Windows10 or 11
- MSVC Runtime: 2015-2022
# Console
Until then, if you plan to write programs in OpenEX, then we recommend that you set your 'PATH' system variable so that you can quickly launch it from the terminal.
Windows PowerShell
PS C:\Users\user_name> openex
You will see output similar to the following in your terminal.
OpenEX Pro <version>
Runtime: MSVC SubstrateVM
Usage:
-filename <filename> Compile the file(Please separate multiple file names with ',')
-compile Enable StamonVM compilation mode.
-concur Enable concurrent compilation mode.
-help Print help info about openex commands.
-version Print version info.
-debug Enable debug model.
2
3
4
5
6
7
8
9
10
# Console args
Arg | Version | SubArg | Description |
---|---|---|---|
-filename | All v0.0.1 | <filename>, <filename>... | Compile one or more file |
-version | All v0.0.1 | empty | Print openex version |
-help | All v0.0.1 | empty | Print help info about openex commands |
-debug | All v0.1.5 | empty | Enable debug model |
-loadlib | Plus v0.1.5 | <library>, <library>... | Load plugin library |
-compile | Plus Pro v0.1.0 | empty | Enable StamonVM compilation mode. |
-concur | Pro v0.1.2 | empty | Enable concurrent compilation mode. |
-language | Plus Pro v0.1.5 | <zh-CN|en-US> | Switch languages |
Issues →