Comments (9)
Thanks for the suggestion.
I'm not opposed to changing the file organization, but I'd like to know why you would like me to change it.
The src
directory is intended for development, the aggregate lulpeg.lua
for public consumption.
My current dev workflow is pretty ad hoc, and I would probably gain by using common tools like lake, for example.
Do you have any suggestion in that regard?
from lulpeg.
Sorry. I do not understand how build this module.
PS. It fail with my pop3.message grammar.
lulpeg.lua:1623: attempt to index local 'cap' (a nil value)
from lulpeg.
Sorry. I do not understand how build this module.
Please don't apologize, I'm at fault here. Sorry for the lack of documentation. Run ./scripts/make.sh
from the LuLPeg directory.
This is off course a bug, I'm investigating. Thanks for the report.
from lulpeg.
I already find it, but i work on Windows and use cmd
not bash :). Thanks.
May be you should remove lualpeg.lua from git. When i run
luajit ..\scripts\pack.lua > ..\lulpeg.lua
i got different file.
Or may be you can use git hooks to build it, but i have no idea is it possible at all.
from lulpeg.
The bug is fixed. Named groups were always incrementing the capture count, even if their match had failed. This resulted in holes in the capture accumulator, where none should have been.
I've added your pop3 tests to my regression test suite (with due attribution). It should help prevent regressions.
I already find it, but i work on Windows and use
cmd
not bash :). Thanks. May be you should remove lualpeg.lua from git.
I need to improve the build process... I prefer to keep the packed file, at least at the moment.
When i run
luajit ..\scripts\pack.lua > ..\lulpeg.lua
i got different file.
What do you mean by different? Is it working? Maybe I forgot to build it for the revision you tried?
I'll have a look at git hooks, thanks for the suggestion.
from lulpeg.
What do you mean by different? Is it working?
I mean it different from https://github.com/pygy/LuLPeg/blob/master/lulpeg.lua
from lulpeg.
Could you post a diff?
from lulpeg.
:) it was different order of modules and \r\n
instead of \n
from lulpeg.
Cool :-)
I really need to streamline the packer.
from lulpeg.
Related Issues (19)
- Lua 5.3 Compability HOT 4
- Preformance with strung.lua HOT 2
- leg test suite fail with lua 5.2 + LuLPeg HOT 1
- Some tests fails with lulpeg ? HOT 2
- Upgrade to Lpeg 1.0 HOT 1
- Add to luarocks HOT 3
- instable result for a thirdparty testsuite HOT 11
- Error with glua HOT 31
- Tag current version HOT 2
- Install error: permission denied (with sudo) HOT 5
- Self-contained version? HOT 2
- installation error
- Adding number of replacement in gsub function of re module
- LPEGLabel support
- Lunamark and LuLPeg HOT 1
- Nondeterministic behaviour when parsing HOT 2
- Ambiguous syntax error
- UTF-8 support.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lulpeg.