Skip to content

Commit 753db77

Browse files
committed
bali: initial add
1 parent ff8c168 commit 753db77

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.github/workflows/run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
strategy:
5858
fail-fast: false
5959
matrix:
60-
engine: [v8, v8_exp, jsc, jsc_exp, sm, sm_exp, chakra, hermes, kiesel, libjs, engine262, qjs, qjs_ng, xs, graaljs, rhino, boa, nova, njs, babel, swc, sucrase] # all
60+
engine: [v8, v8_exp, jsc, jsc_exp, sm, sm_exp, chakra, hermes, kiesel, libjs, engine262, qjs, qjs_ng, xs, graaljs, rhino, boa, nova, njs, bali, babel, swc, sucrase] # all
6161

6262
chunk: [0, 1]
6363
# engine: [v8, jsc, sm, chakra, hermes, kiesel, libjs, qjs, xs, graaljs] # exclude hangers/long

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Independent daily [test262](https://github.com/tc39/test262) (standard test suit
1818
- [X] Porffor <small>[site](https://porffor.dev)</small> <small>[source](https://github.com/CanadaHonk/porffor)</small>
1919
- [X] Nova <small>[site](https://trynova.dev)</small> <small>[source](https://github.com/trynova/nova)</small>
2020
- [X] NJS <small>[site](https://nginx.org/en/docs/njs/)</small> <small>[source](https://github.com/nginx/njs)</small>
21+
- [X] Bali <small>[source](https://github.com/ferus-web/bali)</small>
2122
- Request more in GitHub issues!
2223

2324
### Transpilers

scripts/engines/bali.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
# clone repo to get the git hash
4+
git clone https://github.com/ferus-web/bali.git --depth 1
5+
6+
cd bali
7+
git rev-parse HEAD > ../version.txt
8+
cd ..
9+
rm -rf bali
10+
11+
./scripts/install/esvu.sh bali
12+
./scripts/test262.sh bali "${HOME}/.esvu/bin/bali" 16

site/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ <h2>daily runner of <a href="https://github.com/tc39/test262">test262</a> for <i
7878
porffor: 'Porffor',
7979
nova: 'Nova',
8080
njs: 'NJS',
81+
bali: 'Bali',
8182
babel: 'Babel',
8283
swc: 'SWC',
8384
sucrase: 'Sucrase'
@@ -101,6 +102,7 @@ <h2>daily runner of <a href="https://github.com/tc39/test262">test262</a> for <i
101102
porffor: 'New experimental AOT JS -> Wasm compiler, in JS',
102103
nova: 'A new JS engine written in Rust exploring a data-oriented design',
103104
njs: 'A subset of the JavaScript language to use in nginx',
105+
bali: 'A new experimental JavaScript engine written in Nim',
104106
babel: 'Babel 7 + core-js 3 running on Node 0.10 (ES5)',
105107
swc: 'SWC + core-js 3 running on Node 0.10 (ES5)',
106108
sucrase: 'Sucrase + core-js running on Node 0.10 (ES5) - for curiosity'
@@ -127,6 +129,7 @@ <h2>daily runner of <a href="https://github.com/tc39/test262">test262</a> for <i
127129
porffor: 'Porf',
128130
nova: 'Nova',
129131
njs: 'NJS',
132+
bali: 'Bali',
130133
babel: 'Babel',
131134
swc: 'SWC',
132135
sucrase: 'Sucrase'
@@ -138,13 +141,13 @@ <h2>daily runner of <a href="https://github.com/tc39/test262">test262</a> for <i
138141
sucrase: 'transformers'
139142
};
140143

141-
const niceEngineOrder = [ 'v8', 'v8_exp', 'jsc', 'jsc_exp', 'sm', 'sm_exp', 'hermes', 'qjs', 'qjs_ng', 'libjs', 'chakra', 'graaljs', 'xs', 'rhino', 'boa', 'kiesel', 'porffor', 'nova', 'njs', 'engine262', 'babel', 'swc', 'sucrase' ];
144+
const niceEngineOrder = [ 'v8', 'v8_exp', 'jsc', 'jsc_exp', 'sm', 'sm_exp', 'hermes', 'qjs', 'qjs_ng', 'libjs', 'chakra', 'graaljs', 'xs', 'rhino', 'boa', 'kiesel', 'porffor', 'nova', 'njs', 'engine262', 'bali', 'babel', 'swc', 'sucrase' ];
142145

143146
const thead = document.querySelector('thead');
144147
const tbody = document.querySelector('tbody');
145148

146149
// Update filterOutEngines.length below when changing this list
147-
let cwd = '', filterOutEngines = [ 'v8_exp', 'sm_exp', 'jsc_exp', 'chakra', 'xs', 'rhino', 'boa', 'qjs_ng', 'engine262', 'kiesel', 'porffor', 'nova', 'njs', 'swc', 'sucrase' ], init = false;
150+
let cwd = '', filterOutEngines = [ 'v8_exp', 'sm_exp', 'jsc_exp', 'chakra', 'xs', 'rhino', 'boa', 'qjs_ng', 'engine262', 'kiesel', 'porffor', 'nova', 'njs', 'bali', 'swc', 'sucrase' ], init = false;
148151
const defaultFilterLen = filterOutEngines.length;
149152

150153
if (location.hash) {

0 commit comments

Comments
 (0)