added japt

This commit is contained in:
Hydrazer 2021-09-30 11:06:01 -06:00
parent aa252e509b
commit 4991ea3079
5 changed files with 18 additions and 0 deletions

3
packages/japt/build.sh Normal file
View file

@ -0,0 +1,3 @@
source ../../node/16.3.0/build.sh
git clone -q "https://github.com/Hydrazer/japt.git" jap

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# node and japt path
export PATH=$PWD/bin:$PATH
export JAPT_PATH=$PWD/pyth

View file

@ -0,0 +1,5 @@
{
"language": "japt",
"version": "2.0.0",
"aliases": ["japt"]
}

4
packages/japt/run Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# japt only takes filename and stdin
node "$JAPT_PATH"/node.js "$1"

1
packages/japt/test.japt Normal file
View file

@ -0,0 +1 @@
"OK