Skip to content

alenakhineika/js-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS runtime

Environment Setup via Homebrew

  • $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • $ brew install nvm
  • $ nvm install 8.2.1 && nvm alias default 8.2.1

ANTLR4 Setup

  • $ brew cask install java
  • $ cd /usr/local/lib
  • $ curl -O http://www.antlr.org/download/antlr-4.7.1-complete.jar
  • $ export CLASSPATH=".:/usr/local/lib/antlr-4.7.1-complete.jar:$CLASSPATH"
  • $ alias antlr4='java -Xmx500M -cp "/usr/local/lib/antlr-4.7.1-complete.jar:$CLASSPATH" org.antlr.v4.Tool'
  • $ alias grun='java org.antlr.v4.gui.TestRig'

Testing the installation

  • $ java org.antlr.v4.Tool

Download project from git

  • $ mkdir js-runtime
  • $ cd js-runtime
  • $ git clone git@github.com:alenakhineika/js-runtime.git .

App Start

  • $ npm i && npm run compile && npm start

About

JavaScript to Python compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages