Lex

From Esolang
Jump to navigation Jump to search

Introduction

Lex is a variant of pseudocode consisting of mainly letters and symbols. It was inspired by the P" (P double prime) primitive programming language created by Corrado Bohm. It is not meant to have be executed and is instead meant to illustrate the structure of (a) reality. Writing Lex involves abstract thought into the existence of objects in the fabric of time, space and movement.

Table

Character Description Origin
Ȳ Creates a new dimension. Livonian
ȲI Used as a parameter for Ȳ. It defines the size of the dimension. Roman
ȲII Used as a parameter for Ȳ. It defines the structure of space in the dimension. Roman
"For", used to connect a statement with a value to signify the amount of times said statement is executed. Azerbaijani
Creates an existent object. Roman
ↀI Used as a parameter for . This is used to signify it's position in space. Roman
ↀII Used as a parameter for . This is used to signify a metric of the object itself. Latin
𖩄 Used to separate opposite equations when defining a parameter. Mru


Examples

World A1

An object with a parameter [size] value of 92 existing in a single point in 1 infinite dimension.

Ȳ₼1
ȲI
 ∞
ȲII
-x = y - 1 𖩄 x = y + 1
ↀ
ↀI