GithubHelp home page GithubHelp logo

parsec-rdl-gen's Introduction

parsec-rdl-gen Build Status

Parsec Ardielle (RDL) External Generators

  • parsec-java-model - generator for generating Parsec Java models
  • parsec-java-server - generator for generating Parsec Java server
  • parsec-java-client - generator for generating Parsec Java client for target web service
  • parsec-swagger - generator for generating Swagger JSON schemas

Usage

These generators are designed to co-work with ardielle-tools but can also be used independently. They are executable binaries and takes JSON representation of Ardielle schemas from StdIn.

Sample usage for co-working with ardielle-tools:

rdl generate [options] <parsec-java-model | parsec-java-server | parsec-java-client | parsec-swagger> <schema.rdl>

Please refer to ardielle-tools for more information.

How to build

Please follow https://golang.org/doc/install to download and install the GO. You also need to set the GOPATH environment, the source code to checkout and build would belong this GOPATH setting, for instance, I set the GOPATH to /Users/guang001/Documents/workspace/go, then I execute the command:

go get github.com/yahoo/parsec-rdl-gen/...

Then GO will checkout the source code to $GOPATH/src/github.com/yahoo/parsec-rdl-gen/, this should be /Users/guang001/Documents/workspace/go/src/github.com/yahoo/parsec-rdl-gen/ in my case, and 'go get' command will build the binary after the fetch code, the binary would be put in $GOPATH/bin/ path. The detail you could reference How to Write Go Code.

So, to build the parsec-rdl-gen, you only need execute: 'go get github.com/yahoo/parsec-rdl-gen/...' if you are ready the GO enviroment. If you need switch the git branch, you could:

cd /Users/guang001/Documents/workspace/go/src/github.com/yahoo/parsec-rdl-gen/
git checkout -b dev

or change to your fork REPO:

cd /Users/guang001/Documents/workspace/go/src/github.com/yahoo/parsec-rdl-gen/
git remote set-url origin [email protected]:guang001/apex.git

Note: The 'go get' command would not refetch(checkout) the code if target directory already exist.

License

Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.

parsec-rdl-gen's People

Contributors

ben-tsai avatar chinkong83 avatar geekybaiyi avatar gyehuda avatar hankting avatar joejoe321321 avatar pchiang-yahoo avatar shichung avatar sparkchuang avatar wcpan avatar yamlin avatar yingchenlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

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.