logo

0.2.0 • Public • Published

Logo

A streaming parser for the [LOGO](http://en.wikipedia.org/wiki/Logo_(programming_language)) programming language.

Build Status

The logo module converts [LOGO](http://en.wikipedia.org/wiki/Logo_(programming_language)) statements into an easily applied command stream. As per convention, the parser can be used either in a standard callback pattern or as a readable/writable stream.

Installation

npm install logo

Basic Use

var logo    = require('logo');
 
logo.convert('REPEAT 4 [FD 200 RT 90]', function (err, obj) {
    console.dir(obj);   // Woo! Programming party! 
});

Stream

var fs      = require('fs'),
    logo    = require('logo');
 
fs.createReadStream('aWholeCatLoadOfLogo.txt').pipe(logo.stream).pipe(process.stdout);

Examples

logo-drone - Control a parrot AR drone using the LOGO programming language

turtle - Multi-user visual programming environment

To Test

npm test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    31
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    31
  • 0.1.3
    10
  • 0.1.2
    9
  • 0.1.1
    2
  • 0.1.0
    2

Package Sidebar

Install

npm i logo

Weekly Downloads

54

Version

0.2.0

License

none

Last publish

Collaborators

  • diy