Repository navigation
Conversation
The entity table was loaded from data/html.dat in __init__ into a non-const, untyped global. Every lookup through `HTML_Entities.default` was type-unstable, the file had to be read on every load, and the package could not be compiled with `juliac --trim`. This supersedes the approach on the fix/artifacts branch (an artifact for html.dat), which had no download source and so failed to load unless deps/build.jl had copied the file into ~/.julia/artifacts. - Load data/html.dat at precompile time into a const, concretely typed table stored in the package image. No runtime file I/O; works with `juliac --trim=safe`. - Parameterize HTML_Table on the offset type so the `nam` field is concrete. - Drop the RelocatableFolders dependency and the obsolete __precompile__() call; make VER const. - Require Julia 1.10; set StrTables compat to 1.0.1; add Test compat. - CI: test 1.10, 1 and pre on Linux, macOS and Windows with current action versions; upload coverage to Codecov; remove .drone.yml. - Add Dependabot for GitHub Actions and Julia compat updates. - Rewrite README with usage examples and current badges. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The entity table was loaded from data/html.dat in init into a non-const, untyped global. Every lookup through
HTML_Entities.defaultwas type-unstable, the file had to be read on every load, and the package could not be compiled withjuliac --trim.This supersedes the approach on the fix/artifacts branch (an artifact for html.dat), which had no download source and so failed to load unless deps/build.jl had copied the file into ~/.julia/artifacts.
juliac --trim=safe.namfield is concrete.Created by Claude