Forum Discussion
djclements
Aug 12, 2026Silver Contributor
Braille Translator Challenge
Using the Braille Alphabet lookup table provided: Part 1 - convert the given phrase from Braille to words. Part 2 - convert the given phrase from words to Braille. ✅ Solutions should be in the f...
PeterBartholomew1
Sep 06, 2026Silver Contributor
I decided to look at the possibility of extending my conversion to Braille to cover multiline phrases.
The thing I like about using Lambda solutions is that such changes can sometimes be made based upon very localised edits.
WRITEλ = LAMBDA(message,
// This function reads a text message and return the corresponding Braille letters
LET(
chars, MAPλ(message, LAMBDA(line, REGEXEXTRACT(line,".",1))),
charLst, TILECHARλ(BrailleTable, 4, 2),
Braileϑ, TILEλ(BrailleTable, 4, 2),
return, XLOOKUP(chars,charLst,Braileϑ, THUNK("")),
EVALTHUNKARRλ(return)
)
);The changes required were to use MAPλ to allow REGEXEXTRACT to return multiple rows of characters and to allow for a null thunk to be returned for a missing matches.