Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lpeg an optional dependency #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make lpeg an optional dependency #20

wants to merge 1 commit into from

Conversation

jacobdufault
Copy link

If require "lpeg" fails then LuLPeg is used instead.

@andremm
Copy link
Owner

andremm commented Dec 30, 2014

Have you tested with Lua 5.3?

@jacobdufault
Copy link
Author

Looks like there are a few issues - load/loadstring is easily fixed, but when running tests I receive this error:

$ ../lua53.exe test.lua
> testing lexer...
expected: { `Local{ { `Id "h" }, { `Number "1900" } }, `Local{ { `Id "i" }, { `Number "4294967296" } } }

got: { `Local{ { `Id "h" }, { `Number "1900" } }, `Local{ { `Id "i" }, { `Number "0" } } }

C:\Users\jacob_000\Desktop\Lua\lua.exe: test.lua:181: assertion failed!
stack traceback:
        [C]: in function 'assert'
        test.lua:181: in main chunk
        [C]: in ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants