Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Polite Kiwi authored Jan 5, 2018
1 parent 6445d27 commit 4747fcc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,13 @@ testdll() -> Loaded successfully!

Added very comprehensive error feedback, which tells you about the stack (stack dumps, too, if not just the error is on the stack), the type of error (syntax/runtime), and the regular lua feedback string with the line number sammich'd between two colons. Now with file name!

For example, <br>
>\>. <br>
>(Syntax) | Stack Top: 1 | TTY | [string "."]:1: unexpected symbol near '.' <br>
For example,
> $luaw res/testing.lua
> (Runtime) | Stack Top: 1 | res/testing.lua:18: attempt to call a nil value (fie
> ld 'whatever')
> \-\-
> stack traceback:
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;res/testing.lua:18: in main chunk
# Using with LuaRocks
[Windows MinGW](https://github.com/Hydroque/LuaConsole/wiki/LuaRocks-Support-Windows-MinGW)
Expand Down

0 comments on commit 4747fcc

Please sign in to comment.