0.3.0 • Published 7 years ago

logo-command-parser v0.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Command parser for LOGO

This is a LOGO command parser build with PEG.js

Example

This code

REPEAT 4 [
  FD 10 RT 90
]

will output this

[
   {
      "command": "FD",
      "args": [
         10
      ]
   },
   {
      "command": "RT",
      "args": [
         90
      ]
   },
   {
      "command": "FD",
      "args": [
         10
      ]
   },
   {
      "command": "RT",
      "args": [
         90
      ]
   },
   {
      "command": "FD",
      "args": [
         10
      ]
   },
   {
      "command": "RT",
      "args": [
         90
      ]
   },
   {
      "command": "FD",
      "args": [
         10
      ]
   },
   {
      "command": "RT",
      "args": [
         90
      ]
   }
]
0.3.0

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago