IRC channel logs

2025-08-10.log

back to list of logs

<stikonas>ok, I think I managed to bootstrap re2c 0.13.6 without using pregenerated files... Need to push the code to some repo now
<stikonas>argh, no, still have some bugs...
<stikonas>lanodan: ok, so I've now finished bootstrapping (an old version) of re2c: https://git.stikonas.eu/andrius/re2c-bootstrap
<stikonas>you mentioned it in January that it relies on pre-generated files
<stikonas>fossy: any chance you could review it?
<stikonas>(anybody else also feel free to check)
<lanodan>I guess ./bootstrap.sh uses the custom tarball rather than the git snapshot one?
<stikonas>oh, I just downloaded release tarball
<stikonas>git snapshot could be used too, but it has a different directory structure
<stikonas>I think re2c sourcecode is one directory deeper
<stikonas>trivial changes to bootstrap script (just need to adjust cd and ../ -> ../../)
<stikonas>and I haven't looked at all (so far at least) how to build to newer versions of re2c
<stikonas>hopefully one can just do it via intermediate versions and without writing any code
<lanodan>Yeah, slightly different structure, built it successfully with basic modifications: https://hacktivis.me/tmp/re2c-bootstrap_0.13.6-gh-snapshot.diff
<stikonas>argh, annoyingly, it might not be possible to just use old version to build new ones...
<stikonas>some small patching of .re files might be needed to build future versions
<stikonas>(just tried to build 0.14 using 0.13.6 and it was using * to denote any character which previous version didn't suppport. though * -> [\000-\377] seems to workaround it