Tags: glojurelang/glojure
Tags
Fix regex literal AOT compilation (#132) (#133) Add support for *regexp.Regexp values in code generator by serializing them as regexp.MustCompile() calls. The regex pattern string is preserved using the Regexp.String() method. This fixes the "unsupported value type *regexp.Regexp" error when using regex literals (#"...") in AOT-compiled code. The re-pattern function already worked because it returns the compiled regexp at runtime rather than embedding it as a constant. Added comprehensive test cases covering various regex patterns including special characters, escapes, quotes, and newlines.
Several more clojure-test-suite fixes (#116) * symbol implements ifn, regen code after set fix Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Fix ratio -> int Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Read zero ratios as 0 ints Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Support intern Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Fix for keys/vals and keyword namespace Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Fixes for mod Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Add sym method to keyword Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Fixes for nth Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Fix for long range count Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Implement rationalize Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Fix prefixed map regression Signed-off-by: James Hamlin <jfhamlin@gmail.com> --------- Signed-off-by: James Hamlin <jfhamlin@gmail.com>
Read version from go build info (#113) * Read version from go build info Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Don't assert specific help contents in cli test Signed-off-by: James Hamlin <jfhamlin@gmail.com> --------- Signed-off-by: James Hamlin <jfhamlin@gmail.com>
PreviousNext