MathScript

From Esolang
Jump to navigation Jump to search

Warning: This is upcoming work by me, TheH3llMachine (talk).

MathScript, shortened to MSScript

("Math-inspired and math language with script added behind it because all my programming languages must end on Assembly or Script")


Here is a look into MSScript:

  • Variables

x=5 // x = 5 (Compiler chooses type)

y=7Z // y = integer 7

z=9.5R // z = rational number 9.5

#a // a = input

  • Expressions

c = 7

b = 0

a = 2 + c

x = $a+b // x = dynamic value of a + current value of b

!x // output x

More to come...