You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So my first idea was to make formatting less strict.
it should really read int a=0 and stuff. Also, I am thinking of adding a new opperator which is ``. if a literal is wrapped with backticks, then they are considered as "equations" and equation literal is good for writing mathmatical things.
For example, instead of using
ZS.Math.Sin(x)
sin(x)
and instead of calculating the factorial one by one, x!
I also thought about bringing back semicolons. because they are cool.
for example it could be used as,
{argument1; argument2; foo; bar;}
or
{
aregument1
argument2
foo
bar
}
And it also detects newline as a start of a new command
however, in order to connect multiple lines as "one line"
we could use connect
for example,
int a = 0
can be also worked as
connect{
int
a
0
};
this is useful on printing long text. for example,
connect{
Printl("This is a very long
text and very very long
can you believe this length")
};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So my first idea was to make formatting less strict.
it should really read int a=0 and stuff. Also, I am thinking of adding a new opperator which is ``. if a literal is wrapped with backticks, then they are considered as "equations" and equation literal is good for writing mathmatical things.
For example, instead of using
ZS.Math.Sin(x)
sin(x)
and instead of calculating the factorial one by one,
x!
I also thought about bringing back semicolons. because they are cool.
for example it could be used as,
{argument1; argument2; foo; bar;}
or
{
aregument1
argument2
foo
bar
}
And it also detects newline as a start of a new command
however, in order to connect multiple lines as "one line"
we could use connect
for example,
int a = 0
can be also worked as
connect{
int
a
0
};
this is useful on printing long text. for example,
connect{
Printl("This is a very long
text and very very long
can you believe this length")
};
Beta Was this translation helpful? Give feedback.
All reactions