Blang

Blang IDE setup instructions

Download link for the Blang IDE is available here.

The only requirement is that Java 8 SDK should be installed on the system (version 9 not yet tested but is likely to work).

We only package the IDE for Mac at the moment but we can post instructions on how to setup the IDE for other platforms (just email us). If you are a Linux or other non-Mac Unix user, you can also use these provisional instructions.

The command line tools are already shipped multi-platform.

Really, "installing" amounts to unzipping and copying the contents. The folder contains both the IDE, a template for your own projects, and some command line tools.

The first time you try to launch BlangIDE, depending on the version of Mac OS X and/or security settings, you may get a message saying the "app is not registered with Apple by an identified developer". To work around this, follow these instructions (from Apple) the first time you open the BlangIDE (then Mac OS will remember your decision for subsequent launches):

  1. In the Finder, locate BlangIDE (don't use Launchpad to do this).

  2. Control-click the app icon, then choose Open from the shortcut menu.

If this does not work, an alternative is also described in the same Apple help page.

  1. Blang projects have some dependencies. Here's a robust way to get them:

    1. From the terminal, cd into [downloaded blang folder]/workspace/blangExample

    2. ./gradlew eclipse. This will download the dependencies.

  2. Now import in Blang IDE:

    1. When asked which workspace to use, pick [downloaded blang folder]/workspace.

    2. Select menu File > Open Projects from File System...

    3. Select [downloaded Blang folder]/workspace/blangExample

  3. The blang project is ready. In the left tool bar, the project is in the file explorer. Right click on blangExample/src/main/java/demo/ and select the contextual menu New > File.

  4. Name the file MyModel.bl. The extension choice must always be .bl

  1. Select menu Run > Run Configuration..

  2. Click on Java Application

  3. Click on the New Launch Configuration on the top left.

  4. Fill the Main class using the Search button.

  5. In the tab Arguments add any required arguments.