We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Class

From Esolang
Jump to navigation Jump to search

Class is a "semi-esolang"
Add:

crc.var.int.a.set.5  /$this is one-line comment
crc.var.int.b.set.2
crc.var.int.result.set.(cnc.math.add.a.b)
crc.io.var.say.result /$returns 7

also, it uses crc.goto.<label> and crc.if.<var>.<gt/eq/lt>.<value>.goto.<label>

the Tree (not completed)

crc:
 var:
  (int/str/bool/list):
   ([str]<name>):
    set:
     ([{name}]<value>):
 io:
  say:
   ([str/int/bool]<value>):
  var:
   say:
    ([str]<name>):
   input:
    ([str]<name>):

Page made by User:Timm