Skip to content

Babel 17 quickstart guide

phlegmaticprogrammer edited this page Jul 21, 2011 · 23 revisions

Babel-17 QuickStart

The best way to start with Babel-17 is by downloading

Also available for download:

Installing the Netbeans Plugin

First make sure that you have installed Netbeans v7.0 (earlier versions of Netbeans are not supported). To install the Babel-17 plugin, go in Netbeans to Tools/Plugins/Downloaded and click on the “Add Plugins” button. Select the .nbm file you have downloaded from this site and install it.

Create a new Babel-17 project and type in a Babel-17 program, for example a program for calculating fibonacci numbers. Then run it, for example by choosing “Run Babel-17 program” from the “Run” menu. There is also a toolbar button. Note that for these actions to be active, you should have clicked into the editor window of the program.

After you have successfully run the program, remove the “memoize fib” statement and run the program again. You will see that without memoization, this will take a REALLY long time … stop the program by hitting the red stop button on the left hand side of the output window. Now you are all set to experiment with Babel-17!

Be sure to experiment with

  • modules; the Babel-17 plugin automatically recognizes all modules that reside in Babel-17 files in the project, even if they are located in subfolders
  • unit testing; the plugin also recognizes unit tests, and you can run them all, or only those located in the files/folders you have selected

Have Fun!

Clone this wiki locally