Files
rose-ash/lib/ocaml/runtime.sx
giles 2f271fa6a6
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 48s
ocaml: phase 1+6 Buffer + parser !x in app args (+3 tests, 425 total)
Parser fix: at-app-start? and parse-app's loop recognise prefix !
as a deref of the next app arg. So 'List.rev !b' parses as
'(:app List.rev (:deref b))' instead of stalling at !.

Buffer module backed by a ref holding string list:
  create _ = ref []
  add_string b s = b := s :: !b
  contents b = String.concat "" (List.rev !b)
  add_char/length/clear/reset
2026-05-08 16:16:52 +00:00

15 KiB