Skip to content

Commit

Permalink
Update README build and and running instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel-Durov committed Jun 21, 2023
1 parent 8aec40a commit eb11063
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@ This is experimental!
GNU make is required.

Run:
```
export PATH=/path/to/yk/ykcapi/scripts:${PATH}
```shell
export PATH=/path/to/yk/bin:${PATH} # local path to https://github.com/ykjit/yk/blob/master/bin/yk-config (yk needs to be compiled)
export YK_BUILD_TYPE=<debug|release>
make
```

## Runinng

```shell
./src/lua -e "print('Hello World')" # execute program passed in as string
./src/lua ./tests/utf8.lua # execute lua program file
./src/luac ./tests/utf8.lua -o ./utf8.out # translates lua programs into Lua bytecode
```

0 comments on commit eb11063

Please sign in to comment.