Poetic.BCT

From Esolang
Jump to navigation Jump to search

Poetic.BCT is a language made by Unname4798 and a member of the Poetic family.

Commands

This language encodes commands as the word length mod 2. Alphabetic characters are in the word, other characters act as delimiters.

All commands are the same as in BCT.

Converter to BCT

Written in JavaScript.

const poeticBctToBct = program => program.split(/\W+/g).filter(x => x).map(x => x.length % 2).join("");