Skip to content
/ logo Public
forked from thisandagain/logo

A streaming parser for the LOGO programming language.

License

Notifications You must be signed in to change notification settings

jbone/logo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

A streaming parser for the LOGO programming language.

Build Status

The logo module converts LOGO 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

About

A streaming parser for the LOGO programming language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%