yyyyyyyan / rockstar-py

Python transpiler for the esoteric language Rockstar
MIT License
95 stars 26 forks source link

List arithmetic support #40

Open martinpetrovaj opened 4 years ago

martinpetrovaj commented 4 years ago

Hi, it would be awesome if rockstar-py supported list arithmetic (in other words, multiple expressions on the right side of the operator)

Example:

Let X be 1 with 2, 3, 4
Say X    (prints 10)

Could be transpiled to:

X = 10    # as result of 1 + 2 + 3 + 4
print(X)

See specification