Install the Juniper Compiler

The latest Juniper release is 4.0.1. Either the official Arduino IDE or Platform IO can be used with Juniper. We have also created a syntax coloring package for the VS Code text editor. It can be used by searching for Juniper in the extensions manager.

Install the Arduino Toolchain

Juniper transpiles .jun files to C++. The entire Juniper code and standard library will be compiled to a single .cpp file. After compiling to C++, simply take the C++ file and compile using the Arduino IDE or PlatformIO. The recommended setting for the C++ compilation optimization level is -Os (optimize for program size). This is the default setting for the Arduino IDE.

Get PlatformIO

Get Arduino IDE

Run the Juniper compiler

Windows (MSI Installer)

juniper -s s1.jun s2.jun ... sn.jun -o output.cpp

Windows (Portable ZIP File)

Juniper.exe -s s1.jun s2.jun ... sn.jun -o output.cpp

Linux (DEB Installer)

sudo apt install ./Juniper-4.0.1.deb
juniper -s s1.jun s2.jun ... sn.jun -o output.cpp

Linux (Portable ZIP File)

unzip Juniper-4.0.1.zip -d Juniper-4.0.1
cd Juniper-4.0.1/linux-x64
chmod +x Juniper
./Juniper -s s1.jun s2.jun ... sn.jun -o output.cpp

OSX x64 (Portable ZIP File)

unzip Juniper-4.0.1-osx.zip -d Juniper-4.0.1
cd Juniper-4.0.1/osx-x64
chmod +x Juniper
./Juniper -s s1.jun s2.jun ... sn.jun -o output.cpp

OSX ARM (Portable ZIP File)

unzip Juniper-4.0.1-osx-arm64.zip -d Juniper-4.0.1
cd Juniper-4.0.1/osx-arm64
chmod +x Juniper
./Juniper -s s1.jun s2.jun ... sn.jun -o output.cpp

Ready to Learn More?