,---------------. | Contributions | `---------------ยด ,------------------------------------------ | 2026-07-16 16:01:41 ruv wrote: | referenceImplementation - Fix FVALUE reference implementation | see: https://forth-standard.org/standard/float/FVALUE#contribution-436 `------------------------------------------ Since `TO` must parse the parse area, we should update the reference implementation in [E.12.6.2.1628](https://forth-standard.org/standard/implement#imp:floating:FVALUE). The minimal change is as follows. ```forth VARIABLE %var : TO \ ( ... "name" -- ) ' [: 1 %var ! ;] STATE @ IF COMPILE, COMPILE, ELSE EXECUTE EXECUTE THEN ; IMMEDIATE : FVALUE ( F: r -- ) ( "name" -- ) CREATE F, DOES> %var @ IF F! ELSE F@ THEN 0 %var ! ; : VALUE ( x "name" -- ) CREATE , DOES> %var @ IF ! ELSE @ THEN 0 %var ! ; ``` See also a testcase for `TO` in [contribution-360](https://forth-standard.org/standard/core/TO#contribution-360).