From 1f6aa4cac7af0e00c826d5348b06aed70cbcb3e3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Mar 2024 19:40:01 -0500 Subject: Add methods for text:clusters(), text:codepoints(), text:bytes() --- test/text.tm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/text.tm') diff --git a/test/text.tm b/test/text.tm index 33582a1c..690bb57a 100644 --- a/test/text.tm +++ b/test/text.tm @@ -14,3 +14,11 @@ >> \UE9 == \U65\U301 = yes + +>> amelie := "Amélie" +>> amelie:clusters() += ["A", "m", "é", "l", "i", "e"] : [Text] +>> amelie:codepoints() += [65_i32, 109_i32, 101_i32, 769_i32, 108_i32, 105_i32, 101_i32] : [Int32] +>> amelie:bytes() += [65_i8, 109_i8, 101_i8, -52_i8, -127_i8, 108_i8, 105_i8, 101_i8] : [Int8] -- cgit v1.2.3