Red/System Libraries
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Core
DateTime
I64
LibTom
ShareAnalysis
UTF8
docs
README
path-to-red.txt
quick-test.reds
run-test.rb

README

I AM NOT CURRENTLY MAINTAING THESE LIBRARIES. 

This is a library of Red/System function collections. The collections that have been started are:
       
       Core          - Core functions to support other libs 
       DateTime      - Date and time functions
       I64         - Basic int64 arithmetic addition, subtraction, multiplication and division.
       LibTomMaths   - The start of a partial implementation of LibTom
       UTF8          - Functions for handling UTF-8 strings

They are all at a very early stage of development. 

By convention, the functions return an integer return code whilst their results are returned in a user supplied argument (or arguments). The exception to this are functions where the return value is either true or false. Typically the name of these functions end in a ?.

Each of the function and compiler definition names begins with the prefix PWAW- followed by a short mnenomic to indicate which library (e.g. PWAW-DT for Date-Time). The Lib Tom Maths library uses on LTM- as its prefix.

The script for compilation and testing is written in Ruby and requires the correct path to the Red compiler to be recorded in the file path-to-red.txt. (This will be replaced by a Red script once Red has relevant capabilities.)