Object (programming language)

From Esolang
Jump to navigation Jump to search

Object is the real object-oriented programming language, where everything is an Object, even YOU, created in 2007 by User:Pegasus (Erick Atencio).

There is a main object, the Program Code, and all the programming occurs around it.

Hello World Program

code.uses:iostudio ...IoStudio is the main I/O Library
code.writeline.params:"Hello World!"
code.writeline.execute

Adds 2 integers and prints the result

code.uses:iostudio
code.create.integer:i
code.i.assign:5
code.create.integer:j
code.j.assign:6
code.i.open                ....loads i to memory
code.j.add                 ...adds j
code.writeline.params.save ...saves result to the parameters
code.writeline.execute     ...prints 11

Interpreter

  • Not available yet