Live data from Hacker News

Show HN: Xoscript

xoscript.com

51–53 of 53 posts

Re: Show HN: Xoscript

#51

The None object represents emptiness, or better still, the absence of information. On occasion, you will receive this object as an answer to a message, in case of the result being nothing. The most essential question you could ask the None object is: None?. The answer will always read True. I came for language documentation, I stayed for the existential crisis.

Wow, you weren't kidding > In Xoscript, the meaning of True and False is not fixed. In fact, a Xoscript program gets pretty shaken up over a statement like this: [True := False.] The result of such actions is undefined, however it remains a valid action and therefore formally allowed. Furthermore, there is a Boolean object, which is the root object of both True and False, as both are derivatives of the root object. T…

It's a side effect of pass-by-reference. In most languages you have to guess if something is passed by value/ref. In xoscript everything is always a reference.

Re: Show HN: Xoscript

#53

I like it. Is this related in anyway to your https://citrine-lang.org/ project? At a quick glance the syntax looks quite similar.

When looking at the git history, that suggests yes, that xoscript is a fork of citrine
Post reply on HN