Coder Social home page Coder Social logo

iets3.genjs's Introduction

iets3.genjs

Javascript generator for iets3.opensource using ecmascript4mps.

Install

Requirements

There is no specific software requirements to use this project (MPS aside).

However, having the following software may make things smoother as for the build script:

  • Java 11 : used for compilation within gradle scripts (it needs JAVA_HOME environement variable to be set)
  • Git : cloning this repository (if you do not downloading it as a zip)
  • MPS : used for building the language on the command line

Note: Java 11 is required because MPS use it, generated artifacts using another version do not work. A Java 11 distribution is sometimes packaged with MPS, so only specifying mpsDir can avoid extra download.

Installation script

Start by cloning the repository on your computer.

git clone https://github.com/banilaste/iets3.genjs/
cd ./iets3.genjs

Installation for development

If you only need to get the dependencies of genjs in order to improve the project, you can get the requirements with the below script.

# Resolve dependencies and make MPS see them on the project
./gradlew resolveArtifacts generateLibrariesXml

You can then open the project in MPS.

Installation for external use

If you need this language to be used outside in another project, you can do the same as above and deploy it to your local maven repository after build using the below script.

./gradlew packageLanguages publishToMavenLocal -PmpsDir="<optional path to your mps installation>"

Build settings

In case you need to use a specific version of MPS, or avoid downloading MPS all over again, you can set some settings to make the build fit your need.

Property Description Example
mpsDir Directory of your MPS installation, if specified MPS will not be downloaded again (if the task involves building languages, such as packageLanguages). -PmpsDir="./build/mps"
mpsVersion Version of MPS used in the project (used to set the version number and determine which version of MPS to download if mpsDir is not set). -PmpsVersion="2020.2"
jdk Path the the Java 11 jdk. -Pjdk="/soft/mps/jbr"

iets3.genjs's People

Contributors

cdelabou avatar mar9000 avatar

Stargazers

 avatar

Forkers

mar9000

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.