Taktentus

From Esolang
Jump to navigation Jump to search

Taktentus is an simple language with equal. Author is Jacek Szewczyk. Language was created in 2015.

Syntax

if @ is zero then run <variable1> op <variable2>
   copy variable2 into variable1 with some modifications

op is:

   := assignment
   += add
   -= subtract
   *= multiply
   /= divide
   <= less-than
   >= greater-than
   == equal
<variable> ++ is short <variable> += 1
-- is -= 1
!* is *= -1


literal = variable, now always integer
_       = next instructions
@       = if this variable is 0 instruction is running
@wy_n   = print variable as number
@wy     = print integer as char
@we     = input char as integer
@spacja = space
@n      = new line
@losowe = random number
#       =

Comments appear to be denoted by %%[citation needed].

Examples

   %% sum two values 15 + (-2)
   a := 15
   a += -2
   %% print space
   @wy := @spacja
   %% print 'a' as integer (13)
   @wy_n := a
   %% print 'a' as char
   @wy := a

External resources

Binary executables for Linux,Mac Os X ,Haiku, Windows, examples

Docker