Code Monkey home page Code Monkey logo

frutiger / legacy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smlnj/legacy

0.0 0.0 0.0 8.22 MB

This project is the old version of Standard ML of New Jersey that continues to support older systems (e.g., 32-bit machines).

License: BSD 3-Clause "New" or "Revised" License

Shell 0.56% C++ 0.19% Python 0.11% Perl 0.21% C 5.88% Scala 0.01% C# 0.02% Assembly 1.08% Standard ML 82.62% OpenEdge ABL 0.09% CSS 0.07% Pascal 0.01% TeX 5.56% GAP 0.17% Makefile 0.39% HTML 2.11% Batchfile 0.03% Yacc 0.08% Lex 0.64% M4 0.18%

legacy's Introduction

SML/NJ Legacy

This project is the old version of Standard ML of New Jersey that continues to support older systems (e.g., 32-bit machines). We will continue to fix bugs and make minor improvements while the main development branch matures. We will also backport additions to the SML/NJ Library and other components.

Building from Source

The preferred way to build the system is to follow the installation instructions for your platform. If, however, you want to compile the current source from GitHub, the following steps should usually work.

  1. Start with a fresh clone of the repository (let ROOT be the root directory of the clone.

    % git clone [email protected]:smlnj/legacy.git $ROOT
  2. Configure and install the corresponding release in the $ROOT:

    % cd $ROOT
    % config/install.sh
  3. Use this compiler to recompile from sources

    % cd base/system
    % ./cmb-make ../../bin/sml
    % ./makeml

    The "../bin/sml" argument is optional; if omitted, then the sml command in the user's PATH will be used. Once can also specify a different path to an sml command, when appropriate.

    Also note that because of a flaw in the way that CM handles conditionals in CM files, it is necessary that the ml-yacc and ml-ulex commands be available in the PATH. If you do not have an installation of SML/NJ available, then use the following steps:

    % cd base/system
    % PATH=$PATH:$PWD/../../bin ./cmb-make ../../bin/sml
    % ./makeml
  4. At this point, you can test the compiled code while in the system directory.

    % ./testml
  5. To finish the build process, you have to install the new compiler heap image and rebuild the libraries.

    % ./installml -clean
    % cd ../..
    % config/install.sh

You should now have a version of the system in $ROOT/bin/sml that corresponds to the latest version of the source on GitHub. If you subsequently pull changes from the repository, you can rebuild starting at Step 3.

These instructions are for Unix-like systems (including macOS). We do not have scripts (e.g., makeml) to support this process on Windows.

legacy's People

Contributors

johnreppy avatar dmacqueen avatar zbyrn avatar atupone avatar p-ouellette avatar barracuda156 avatar

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.