CJam-Flavored Underload

From Esolang
Jump to navigation Jump to search

CJam-Flavored Underload is a dialect of Underload that makes it a proper subset of CJam.

Instructions

Underload Command CFU Version
(x) "x"
: _
~ \
! ;
* +
S o
a `
^ ~

The first and sixth translations are not perfect matches; nested quotes and backslashes may need to be escaped.

Example

Here is the Fibonacci program from the Underload wiki page translated into CFU:

"\"\"\"+\"""\\_~_o+`\\~`\\;\\+\\_\"/\"o~"_~

Interpreter

Since CFU is a subset of CJam, any CJam interpreter can also interpret CFU. There is an interpreter located on cjam.aditsu.net, as well as on Try it Online!