Git Product home page Git Product logo

self's Introduction

Self

This is the main repository for the Self programming language and environment.

The Self homepage is at http://selflanguage.org

Please go there for prebuilt binaries for Mac OS X and Linux, documentation, blogs and forums.

Building a Self VM

To build a Self VM, you need CMake in at least version 2.8.

  • You can do an in-tree build with

    cmake .
    cmake --build . 
    

    or an out-of-tree build with

    mkdir -p $YOU_BUILD_DIRECTORY; cd $YOU_BUILD_DIRECTORY
    cmake $DIRECTORY_OF_SELF_CHECKOUT
    cmake --build $YOU_BUILD_DIRECTORY
    
  • Self builds with GCC ≥ 4.2 or Clang ≥ 2.0. CMake respects your environment variables, so to build Self with Clang, configure it like this:

    CC=clang CXX=clang++ cmake $DIRECTORY_OF_SELF_CHECKOUT
    
  • On Mac OS X with Xcode, you can use the Xcode generator of CMake like this:

    cmake -GXcode $DIRECTORY_OF_SELF_CHECKOUT
    
  • On 64bit Linux, you may want to explicitely use 32bit compilation:

    CC="gcc -m32" CXX="g++ -m32" cmake $DIRECTORY_OF_SELF_CHECKOUT
    

    The same holds for Clang.

  • You may whish to use ccmake or the CMake GUI (cmake-gui or the CMake .app on OS X) to configure available features like Release/Debug/Profiled builds or to enable experimental features.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.