0.2.0-beta.3 • Published 4 years ago

@alex.garcia/oak-parser v0.2.0-beta.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

oak-parser

CircleCI

This is a fork of the original Observable parser that has 3 major changes:

  1. Removes mutable keyword/expressions
  2. Removes viewof keyword/expressions
  3. Adds new recipe keyword and expression

For example:

recipe a = task()

parses to:

{
  "type": "Cell",
  "id": {
    "type": "RecipeExpression",
    "id": {
      "type": "Identifier",
      "name": "a"
    }
  },
  "async": false,
  "generator": false,
  "body": {
    "type": "CallExpression",
    "callee": {
      "type": "Identifier",
      "name": "task"
    },
    "arguments": []
  },
  "references": [
    {
      "type": "Identifier",
      "name": "task"
    }
  ]
}

See the original project for more details/docs for the parser in general.

0.2.0-beta.2

4 years ago

0.2.0-beta.3

4 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago