Cool, it’s Shen! I became aware of this language years ago but have never really seen any content about it (I think it was closed source / not free for a while?)
I enjoyed this post, and I have one (probably stupid) question: do you actually have to type out lines of -------------- or =========== in the REPL when defining datatypes?
Yes, the _____ and ===== lines have to be typed in the REPL. You don’t need to match them to the length of the code, just one _ or = suffices. So these are equivalent:
N : number;
__________
N : integer;
N : number;
_
N : integer;
In the REPL I make it short for ease of typing, in files I make it long to look nicer.
Cool, it’s Shen! I became aware of this language years ago but have never really seen any content about it (I think it was closed source / not free for a while?)
I enjoyed this post, and I have one (probably stupid) question: do you actually have to type out lines of
--------------
or===========
in the REPL when definingdatatype
s?Yes, the
_____
and=====
lines have to be typed in the REPL. You don’t need to match them to the length of the code, just one_
or=
suffices. So these are equivalent:In the REPL I make it short for ease of typing, in files I make it long to look nicer.