roc/test/str
2025-11-29 22:15:05 +11:00
..
platform cleanup platform provides and requires fields 2025-11-29 22:15:05 +11:00
app.roc cleanup platform provides and requires fields 2025-11-29 22:15:05 +11:00
app_broken.roc Fix reporting errors 2025-10-24 08:11:41 -04:00
README.md Roc platform host shim (#8214) 2025-09-09 13:15:23 +02:00
simple_test.roc Use precompiled builtins in interpreter 2025-10-24 10:41:12 -04:00

Test Platform

This directory contains a primitive test platform for Roc and demonstrates passing a string to and from the host.

  • Function signature: Str -> Str
  • Description: Takes a string from the host and returns a processed string
zig build

# Run (ignore cached files)
./zig-out/bin/roc --no-cache test/str/app.roc