GithubHelp home page GithubHelp logo

apiaryio / blueprint-parser Goto Github PK

View Code? Open in Web Editor NEW
47.0 18.0 8.0 171 KB

Deprecated PEG.js-based parser for parsing legacy Apiary Blueprint Format

License: MIT License

JavaScript 0.74% CoffeeScript 91.75% Makefile 4.77% HTML 1.55% Ruby 1.20%
deprecated

blueprint-parser's Introduction

Deprecated Apiary Blueprint Parser

You are propably looking for Snow Crash or one of its bindings (API Blueprint parser).

This repository has now become a part of fury-adapter-apiary-blueprint-parser in API Elements: JS

Apiary Blueprint Parser

A JavaScript parser of Apiary API blueprints.

Deprecation warning

The Apiary Blueprint Parser is currently frozen. No future development planned.

Please check the new API Blueprint which supersedes the Apiary Blueprint and is completely open-sourced including its parser, tools and bindings.

blueprint-parser's People

Contributors

almad avatar dmajda avatar isakb avatar pksunkara avatar zdne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blueprint-parser's Issues

scope

# Represents an Apiary blueprint.
class Blueprint
  @fromJSON: (json) ->
    new this

will not result in creating new class, unless this === Blueprint

# Represents an Apiary blueprint.
class Blueprint
  self = @
  @fromJSON: (json) ->
    new self
# Represents an Apiary blueprint.
class Blueprint
  @fromJSON: (json) ->
    new Blueprint

npm install does not work

npm install does not work for this package

on ubuntu, cloning git, make and npm install works. On windows, make fails

made it work on windows by just copying the ubuntu build

README example results in error

FWIW, the README example does not show parsing of a valid Apiary Blueprint.

throw new SyntaxError(
            ^
SyntaxError: Expected "---", "HOST:" or empty line but "R" found.

Instead, there should be something like this:

var blueprint = ApiaryBlueprintParser.parse([
  "--- Sample API ---",
  "Root resource",
  "GET /",
  "< 200"
].join("\n"));

install from hash

Given the current setup, it's impossible to install from a git hash.
Unless I'm wrong, that means that whoever forks this repo needs to npm publish or git clone inside node_modules, etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.