v3.3.1 #52
minirang
announced in
Announcements
v3.3.1
#52
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
Fixed: errors at the start of a file could omit the first character of the source line. Source-line extraction now handles an error at offset 0 correctly. Unexpected non-ASCII characters are also reported as complete UTF-8 characters instead of a single invalid byte, keeping the error message valid UTF-8.
Fixed: Unicode paths on Windows. Filesystem DLC paths and imported module paths are now constructed from UTF-8, so non-ASCII names such as Korean filenames reach the filesystem unchanged. Added a filesystem test using a Unicode filename.
Fixed: digits after regex literals were parsed as repeat counts. A run of digits after a literal character or a zero-width anchor is now treated as literal text; digits following a consuming token, set or group still specify repetition. Added regression coverage for dates, version strings, anchors and phone-number patterns.
Network-free builds. Defining
CUFF_DISABLE_NETWORKomits the socket client and its platform headers.DLC:networkremains loadable in that build, butnetwork_get()andnetwork_post()report that the feature is unavailable.MakefileandMakefile.winacceptEXTRA_CXXFLAGSfor this and other optional build flags.DLC registration is now table-driven. Library names, registration functions and the unknown-library hint come from one shared table, while network and filesystem host settings are grouped in
DLCOptions. Thelist_join()type-error hint was also corrected to refer toto_str()directly.Windows builds and tests now run in CI. The workflow builds the engine with MinGW, runs
tests/run.ps1, and builds the interactive shell. The PowerShell test runner now supportsCUFFC,CXXandUNIT_FLAGS, works when launched outside the repository directory, and reports failed test names; the Unix CLI test runner also prints failing checks instead of only suite summaries.This discussion was created from the release v3.3.1.
All reactions