Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this is a comment#
- var a = 2 #integer#
- var b = 3.5678 #floating-point#
- var c = "this is a string"
- #a boolean type will follow#
- loop(34): ... ; #loop, parameter is how often the loop runs#
- if(a>1): ... ; #normal 'if'#
- else: ... ; #also normal 'else'#
- in(a) #a simple input function#
- out(b) #a simple output function#
- #example program: #
- var a
- loop(10):
- in(a)
- if(a=="hi"):
- out("Hello")
- ;
- if(a=="help"):
- out("this is a new interpreter language")
- ;
- else:
- out("unknown input: '",a,"'")
- ;
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement