How to compile with JMC
Last updated
Was this helpful?
Last updated
Was this helpful?
JMCompiler is a CLI compiler for JM-, currently the only compiler available. Listed below there's a list of every it parses and a .
Note: JMCompiler currently only supports* Windows, but it is going to support Linux and macOS too. *kinda
.\JMCompiler.exe --register-jmd-file-extension
Registers .jmdpjf
as JM-'s Project file's extension.
.\JMCompiler.exe <jmdCodeFile>.jmdpjf <outputFileDir>.exe
Compiles the JM- Project file .jmdpjf
to a windows executable file. .exe
To compile a JM- Project file into a windows executable file .exe
follow these steps:
Step 1: Create a folder and move both the project file and JMC's .exe file inside of it
Step 2: Open a command-line processor in that folder (Like PowerShell)
Step 3: If you didn't already do it, register the .jmdpjf
file extension* using:
.\JMCompiler.exe --register-jmd-file-extension
Step 4: Compile the project file using:
.\JMCompiler.exe .\projectFileName.jmdpjf .\output.exe
Step 5: Done! You compiled your JM- Project file into a .exe
file, ready to be distributed!
Registering the file extension adds an HKEY to Windows' registry, so it should require you to open the command-line processor with administrator privileges.
JMCompiler will be integrated within .