[self-interest] RE: Are there any libraries available for the self language?

Russell Allen mail at russell-allen.com
Mon Mar 3 08:05:36 UTC 2014


Hi Stephen,

Self stores its source code in .self files using what it calls the Transporter. You can read a technical description of how the Transporter works at 

http://handbook.selflanguage.org/4.5/howtoprg.html#the-transporter

but in short it writes out sets of slots as text files, which can then be read back in.

The standard Self world is build from the GitHub sources at github.com/russellallen/self

You can read how to build your own world at

http://handbook.selflanguage.org/4.5/buildworld.html

The GitHub repo has other code/libraries in it which aren't part of the standard world. If you have cloned the repo, you can load these from the Shell with 'Do It' with the message runScript sent to the path, eg

'path/to/webserver.self' runScript

This will probably load something interesting into the Applications category of the 'globals' object.

At this point almost all of the interesting Self code is in the main GitHub repository rather than third party repositories. 

Russell

On 3 Mar 2014, at 6:38 pm, <spdegabrielle at gmail.com> <spdegabrielle at gmail.com> wrote:

> I found an earlier post and a now deleted handbook entry that mentioned the bootstrap object as the means to do this: >Reading Modules - Self >selflanguage.org/_.../ReadingModules.ht... Or use the bootstrap object: bootstrap read: 'accounts' From: 'applications' Or use the _RunScript primitive directly (this ... Sadly but attempts to do this from the self shell ('Do it'/'Run it') just give me an error...
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20140303/669d2691/attachment.html>


More information about the Self-interest mailing list