Chez parity: date/time + clojure.edn/read over a reader (jolt-cf1q.7/dcmm/7t3l/uicd)
Date/time (inst-time.ss): java.util.Date / java.sql.Timestamp ctors accept ms or another date value (ms-of) -> a jinst; java.text.SimpleDateFormat (pattern + .format via the existing format-ms UTC engine; .setTimeZone accepted); java.util.TimeZone/ getTimeZone. instance? answers Date true / Timestamp false for a jinst (a Date is not a Timestamp on the JVM). clojure.edn/read over a reader (io.ss + post-prelude): the overlay edn.clj's drain-reader is janet/type-coupled, so Chez drains the jhost StringReader/ PushbackReader to a string and reads the first EDN form. Unblocks jolt-uicd. Native Chez throughout (no vendoring): Chez date arithmetic + string ports. zero-Janet 2688->2692, 0 new divergences; self-host + Janet gate + JVM cert green. jolt-cf1q.7 jolt-dcmm jolt-7t3l jolt-uicd
This commit is contained in:
parent
60b4bae105
commit
01f49f50c3
4 changed files with 46 additions and 7 deletions
|
|
@ -216,8 +216,10 @@
|
|||
# + ns runtime fns) -> 2600; arrays -> 2631; reader-features/reader-conditional/
|
||||
# re-matcher/macroexpand -> 2642; runtime-defmacro cases via top-level eval of
|
||||
# ACTUAL (matching certify.clj's eval-isolated) -> 2673; delay/force/realized? ->
|
||||
# 2685; deftype (P. args) constructor via host-new var fallback -> 2688.
|
||||
(def base-floor (scan-number (or (os/getenv "JOLT_CHEZ_ZJ_FLOOR") "2688")))
|
||||
# 2685; deftype (P. args) constructor via host-new var fallback -> 2688;
|
||||
# date/time (Date/Timestamp/SimpleDateFormat/TimeZone) + clojure.edn/read over a
|
||||
# reader -> 2692.
|
||||
(def base-floor (scan-number (or (os/getenv "JOLT_CHEZ_ZJ_FLOOR") "2692")))
|
||||
(def floor (if (os/getenv "JOLT_CORPUS_LIMIT") 0 base-floor))
|
||||
(when (or (> (length diverged) 0) (< pass floor))
|
||||
(printf "REGRESSION: pass %d < floor %d or %d new divergence(s)" pass floor (length diverged)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue