<div dir="ltr"><div>another possibility could be to use the bundled lua-lpeg, that should be compatible with lua 5.4</div><div><br></div><div><a href="https://cgit.ponce.cc/slackbuilds/commit/?h=neovim">https://cgit.ponce.cc/slackbuilds/commit/?h=neovim</a></div><div><br></div><div>that should have been already tested by the author of that commit (but on current)...<br></div><div><br></div><div>Matteo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 27 ott 2024 alle ore 10:14 B. Watson <<a href="mailto:urchlay@slackware.uk">urchlay@slackware.uk</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On Sun, 27 Oct 2024, Diego Borghetti via SlackBuilds-users wrote:<br>
<br>
> Hi,<br>
><br>
> I think we need to keep lua-lpeg using lua51.<br>
<br>
I have it using both. lua 5.4 is required, and lua 5.1 support is<br>
included in the package if lua51's already installed.<br>
<br>
> Neovim uses luajit and last time I checked, that was still using 5.1.<br>
<br>
Looks like it builds its own, plus a "lua-compat-5.3" tarball.<br>
<br>
> lua-lpeg build fine using 5.4, but you get runtime errors because of the mismatch with neovim.<br>
<br>
It might be possible to build neovim with lua 5.4. Worth looking into<br>
at least. Ideally, it shouldn't be tied to an old version of lua.<br>
<br>
The "vis" editor also uses lua-lpeg. It builds with lua 5.4 and seems<br>
to work OK.<br>
<br>
> I will pull the branch tonight and do some testing.<br>
<br>
Yes, please do. Let me know what you find out.<br>
<br>
Worst case scenario: if neovim really needs a lua-lpeg built with<br>
lua51 support, list them both in REQUIRES, with lua51 appearing before<br>
lua-lpeg, and mention it in the README. Also maybe add a bit of code<br>
in the script that actually checks for the lua51 lpeg.so module, and<br>
stops the build if it's missing.<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>