2 ms·
Whoosh or not? It's definitely a humoristic language given some other ones: > To avoid confusion, the delete statement only works with primitive values like nu
by speps 3y ago
Whoosh or not? It's definitely a humoristic language given some other ones:
> To avoid confusion, the delete statement only works with primitive values like numbers, strings, and booleans.
> delete 3!
> print(2 + 1)! // Error: 3 has been deleted
Although the feature about prefixing a variable with "previous" to get its previous actually sounds quite useful!
But also to answer your question, it uses a semi-colon for NOT:
> You might be wondering what DreamBerd 2 uses for the 'not' operator, which is an exclamation mark in most other languages. That's simple - the 'not' operator is a semi-colon instead.
I love this kind of project as it can make you rethink some basic things we're used to work with in other languages.
- humbugtheman 3y agoHey thanks! For context, I am the creator of DreamBerd
- speps 3y agoHaha good one, makes the whole thing even better!