Commit d1778ad 1 parent 36b0cfe commit d1778ad Copy full SHA for d1778ad
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,20 @@ installed:
27
27
## Usage
28
28
29
29
### Web Interface
30
- Run ` pnpm build-web ` to build the web interface. This will create a ` build `
30
+ It's accessible on Github Pages [ here] ( https://aidandenlinger.github.io/wathon/ ) !
31
+
32
+ To run it locally, run ` pnpm build-web ` to build the web interface. This will create a ` build `
31
33
folder containing an ` index.html ` file and the needed javascript. To access
32
34
this, I'd recommend going into the ` build ` folder and running
33
35
` python -m http.server ` if you have python3 installed on your system. This
34
36
will launch a local web server, and you can access the compiler at
35
37
` localhost:8000 ` .
36
38
37
39
### Command Line Interface
40
+
41
+ > ** Warning**
42
+ > The CLI interface wasn't tested very much - it should work, but I'd highly suggest the web interace.
43
+
38
44
Run ` pnpm build-cli ` to build a command line program. This will generate files
39
45
in the ` cli ` folder. Once in the ` cli ` folder, you can run commands such as
40
46
` node node-main.js "1+1" ` to compile the program "1+1" and see the compiled
You can’t perform that action at this time.
0 commit comments