BERT

From Esolang
Jump to navigation Jump to search

The esoteric programming language, BERT, stands for Boring Equation Rational(not really) Trinomial language. Made by Areallycoolusername, its based off of Polynomial.

Specifics

You can print things using ASCII decimal codes. However the code have to go through a "Rational" trinomial equation. The equation is as follows:

12n ÷ 69 × (-21)

Where n is the code you want printed.

So 33 which prints an exclamation mark will equal -120(including all numbers behind the decimal point). All code must start with BE, and end with RT.

Comments can be introduced with the @ sign. Their content ends immediately before the next mathematical sign (+ or ) or decimal digit.

Hello World Program

BE@This is a 
comment−262.9565217391−368.8695652174−394.4347826087−394.4347826087−405.3913043478−160.6956521739
−116.8695652174−434.6086956522−405.3913043478−416.347826087−394.4347826087−365.2173913043RT

Interpreter

  • Common Lisp implementation of the BERT programming language. Please note that the concrete character set deployed constitutes a dependency on the Common Lisp implementation; in corollary, Unicode support may or may not be a feature incorporated in the personal environment. The interpreter at hand has been developed and tested with Steel Bank Common Lisp (SBCL) version 1.1.4 as part of the Lisp Cabinet 0.3.5 bundle.