1
1
## Javascript Brainfuck
2
- ---
3
2
Author: MeetinaXD
4
3
Last Edit: Marc 21, 2021
5
4
@@ -9,18 +8,18 @@ This is a meaningless project **for joy purposes**.
9
8
10
9
This project contains a ` sample ` of how to run JavaScript Brainfuck codes and a ` compile ` for ** converting** normal codes to Brainfuck-like codes.
11
10
12
- ### Download and Run
11
+ ## Download and Run
13
12
---
14
13
There is no installation required, download the latest release and unpack the zip file.
15
14
16
- #### Run Sample
15
+ ### Run Sample
17
16
To view the sample, open ` index.html ` in your browser (` Google Chrome ` is recommended)
18
17
19
18
Then, press ` Command + Shift + I ` or ` Ctrl + Shift + I ` (On Windows) to open ` DevTools `
20
19
21
20
See the log.
22
21
23
- #### Compiler Requirement
22
+ ### Compiler Requirement
24
23
25
24
` Node ` environment is requireto run ` compile.js ` , you may need to install ` colors ` ` shelljs ` and ` yargs ` package.
26
25
@@ -29,7 +28,7 @@ use **NPM**
29
28
npm i colors shelljs yargs
30
29
```
31
30
32
- ### Use Brainfuck Compiler
31
+ ## Use Brainfuck Compiler
33
32
---
34
33
You can get the usege in the terminal, use
35
34
``` shell
@@ -45,16 +44,16 @@ Brainfuck Compile offer you **3 options**, usage:
45
44
node compile.js sources [-o| --output] destination [-h| --help] [-r| --run]
46
45
```
47
46
48
- #### ` -o | --output `
47
+ ### ` -o | --output `
49
48
Specific the output path, ** only ONE** path will be recognized as output path.
50
49
51
- #### ` -h | --help `
50
+ ### ` -h | --help `
52
51
Print out the help message age usage
53
52
54
- #### ` -r | --run `
53
+ ### ` -r | --run `
55
54
Run the codes after compile successfully.
56
55
57
- ### Additional Words
56
+ ## Additional Words
58
57
---
59
58
Hope you enjoy it and I highly recommend you do NOT use it in a commercial project.
60
59
If you insist on doing this, please do not leave personal information.
0 commit comments