Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
59 changed files
with
38,752 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [8.x, 10.x, 12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: npm install, build, and test | ||
run: | | ||
npm ci | ||
npm run build --if-present | ||
npm test | ||
env: | ||
CI: true | ||
- name: Coveralls GitHub Action | ||
uses: coverallsapp/github-action@v1.0.1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
github-token: ${{ secrets.github_token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Jack VM · ![Build Status](https://github.com/mistlog/jack-vm/workflows/build/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/mistlog/jack-vm/badge.svg)](https://coveralls.io/github/mistlog/jack-vm) | ||
|
||
Jack VM is implemented in [typedraft](https://github.com/mistlog/typedraft) to demonstrate literate programming. | ||
|
||
The OS provided by [Nand to Tetris](https://www.nand2tetris.org/) course runs well and renders the following images: | ||
|
||
|
||
![](https://user-images.githubusercontent.com/54229343/71319830-569ecd00-249b-11ea-95db-a42a2450ab9f.png) | ||
|
||
![](https://user-images.githubusercontent.com/54229343/71319833-5999bd80-249b-11ea-8825-db188f2c797c.png) | ||
|
||
![](https://user-images.githubusercontent.com/54229343/71319828-543c7300-249b-11ea-850d-1040b09582dc.png) | ||
|
||
|
||
## Documentation | ||
|
||
See source-view folder. | ||
|
||
## License | ||
|
||
Jack VM is [MIT licensed](https://github.com/mistlog/jack-vm/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
notify: true | ||
}; |
Oops, something went wrong.