Difference between revisions of "BP Blockly User Guide"

From BP Wiki
Jump to: navigation, search
Line 6: Line 6:
 
Behavioral programs written in Blockly are translated into and executed as JavaScript programs.
 
Behavioral programs written in Blockly are translated into and executed as JavaScript programs.
  
= Installation =
+
= Installation / Getting started =
 
* Install Firefox browser version 15.0.1 or later.
 
* Install Firefox browser version 15.0.1 or later.
 
* For online use: open with FireFox the designated [http://www.b-prog.org/BlocklyJS2/BP_Code/apps/BP  Blockly link]
 
* For online use: open with FireFox the designated [http://www.b-prog.org/BlocklyJS2/BP_Code/apps/BP  Blockly link]
 
+
* For offline/local use on your computer:  
on the web site www.b-prog.org with Firefox, or, to program locally on your PC:
+
** Download the zip file containing the Blockly and JavaScript package from the download screen; 
Download the zip file containing the Blockly and JavaScript package.
+
** Extract the zip file, preserving directory structure;
Extract the zip file, preserving directory structure.
+
** Open with Firefox the file BP_Code\apps\BP\index.html;
Open the folder demos .
+
* Look at example projects in the examples drop down, additional examples linked from this site, and the [http://bp-new-blockly.appspot.com/ tutorial]
Open the folder CodewithBP .
+
Right-click on file index.html .
+
Select Open With Firefox .
+
Look at example projects in the examples folder.
+

Revision as of 14:40, 16 April 2014

BP Blockly User Guide

Introduction

BP is implemented in Google Blockly by introducing new programming blocks, and by using the co-routines (generators) facility of JavaScript. Behavioral programs written in Blockly are translated into and executed as JavaScript programs.

Installation / Getting started

  • Install Firefox browser version 15.0.1 or later.
  • For online use: open with FireFox the designated Blockly link
  • For offline/local use on your computer:
    • Download the zip file containing the Blockly and JavaScript package from the download screen;
    • Extract the zip file, preserving directory structure;
    • Open with Firefox the file BP_Code\apps\BP\index.html;
  • Look at example projects in the examples drop down, additional examples linked from this site, and the tutorial