7 ms·
Homespring – A Metaphor Oriented Programming Language
- EvergreenTree 8y agoFor an example of code written in this language see this hello world program: https://codegolf.stackexchange.com/a/56009 https://codegolf.stackexchange.com/a/56009
- archgoon 8y agoThis seems to be the easiest interpreter to get up and running. https://github.com/quinkennedy/Homespring https://github.com/quinkennedy/Homespring `node homespring.js filename.hsg`
- AlexCoventry 8y agoBe careful, though. From the spec: > The sequences ‘ . ’ and ‘. .’ are required to cause a causality paradox in all conforming implementations. As such, there are no conforming implementations.
- Insanity 8y agoThere are some more examples here: http://bunny.xeny.net/linked/Homespring-Proposed-Language-Standard.pdf http://bunny.xeny.net/linked/Homespring-Proposed-Language-St...
- bitslayer 8y agoNot even once.
- atlasM 8y agoI don’t even know what I’m looking at... I love it!
- wfbarks 8y agodarmok and jalad at tanagra... darmok and jalad! at tanagra!
- dfischer 8y agoThis is what I thought of too. Haha. Thanks.
- matte_black 8y agoIf you’re going to write a language in metaphors why not just use emoji?
- westoncb 8y agoIf I understand correctly Homespring has chosen one metaphor, and you write programs exclusively in the terms of that metaphor. This is not really different from current languages except that the more common metaphor is of a kind of abstract machine, and theirs has to do with salmon moving in rivers (presumably the runtime is largely a simulation of the river, salmon, etc.). And in general metaphor oriented programming languages would choose some other metaphor (probably something strangely concrete), and you would express things in terms of its parts. Is that close?
- sshine 8y agoYes, I see it as a pun on e.g. object-oriented programming taken to absurdity. Ever since learning of Homespring I've wanted to create another metaphor-oriented language around a different metaphor. Clearly the learning curve for Homespring is caused by people not knowing enough about fish farming. The right metaphor for most cultures is clearly agriculture.
- westoncb 8y agoHeh, I suspect you are correct—agriculture would have been much easier for me to comprehend. I'm also reminded[0] of Slartibarfast's 'Starship Bistromath'; from Wikipedia: The ship is said to work by abusing the laws of 'bistromathics', which is the specific mathematics of values of various factors in restaurants, such as the bill, number of people attending, number of people said to be attending, number of people who leave and the time they all arrive. In the novel Life, the Universe and Everything, bistromathics is explained that "Just as Einstein observed that space was not an absolute, but depended on the observer's movement in space [...], so it is now realized that numbers are not absolute, but depend on the observer's movement in restaurants." [0] Actually it was my sister who reminded me about Starship Bistromath after I told her about this, not my own recollection.
- mchahn 8y agoI'm a little ticked off at how far I had to read and how much time was wasted before figuring out this was a joke. I guess I'm to blame for how long it took.
- pjc50 8y agoThis actually makes Intercal look intelligible.
- jmbinder 8y agoOriginal creator here. I hadn't thought about Homespring in years until a friend tipped me off about this post. Since it seems like people are still interested in this monstrosity, I created a web page with links to all the Homespring-related stuff that I am aware of: http://jeffreymbinder.net/208/homespring http://jeffreymbinder.net/208/homespring