You Here : Home > Linux

Obfunae 0.5.2

OS Support:


Publisher Old version


August 10 2011


Obfunae 0.5.2


Obfunae is an Obfuna interpreter. Obfuna is an esoteric programming language designed to minimise the instruction set, the length of code necessary to express a program, and the readability while still remaining vaguely useful.To achieve these goals, all Obfuna operations are assigned one-character names and take exactly one argument. In fact, the name Obfuna is derived from 'obfuscated' (Obfuna code is, at least initially, difficult to read) and 'unary' (All operations have exactly one argument).There are twenty six variables and one random-access unbounded array. All variables are dynamically typed as this cuts down on the code length.Obfuna has 26 standard variables which are represented by the lower-case letters a to z.There is one random-access array which is infinitely extendable (well, in theory anyway; in practice this will be limited by your machine's memory) which is represented by a number (indicating the position in the array - starting at 0) or a function returning a number surrounded by round brackets, i.e. ( and ). For example, the first element in the array is represented by (0). The size of the array increases as you assign to higher locations. The initial size of the array is 0.There are two special 'variables' used to ascertain the current size of the array. $ holds the index number of the last element in the array and % holds the number of elements in the array. From above, it will be obvious that initially $ will be -1 and % will be 0. Assigning to these variables can grow or shrink (in which case you will lose data) the array to a specified size. These are of particular use as ($) can used to reference the last element in the array and (%) will reference one element beyond the end, allowing you to add a new element, treating the array like a stack.In addition, there are three special 'variables' which act as I/O pipes. Passing a value to ?, prints the value to the standard output. Assigning a variable from ?, reads from the standard input. ! acts similarly except that in the case of output, it appends a newline (return) character to the value, and in the case of input, it preserves the newline from standard input. # works in exactly the same way as ? but inputs and outputs from and to the currently open file.The syntax of Obfuna is extremely simple. There are only two types of instruction: function calls and assignments. Assigments take the form of and function calls look like or . Note you can nest functions in this way.As an example, to assign the number 10 to the variable n, you simply write n10. There is no = operator.Strings are quoted using the angle brackets, < and >. Anything between curly brackets, { and }, is considered a comment and will be ignored by Obfuna. These are particularly useful for naming variables more helpfully. Instead of just n10, you could write n{umber}10.The only other syntactic element of Obfuna is the square brackets, [ and ]. Any code between a pair of square brackets will be considered a block to be processed as one instruction. This is of particular use when using flow control functions which skip or repeat only the next instruction.

Related Downloads

  • Obfunae beta
  • Obfunae is an interpreter for the Obfuna esoteric programming...

    Software Tags

    Obfunae | Obfunae 0.5.2 | Obfunae Free Download | Obfunae Reviews | Download Obfunae

    Size :