The Shen Standard Library


 

 

You will find here a complete guide to the Standard Library. The download page allows you to download it.

The main features of the Standard Library are:

  1. Kλ consistent - only the instructions supported by Kλ are in the Standard Library
  2. no port specific functions are used in the Standard Library,
  3. no datatypes are introduced and kept using 'datatype' keeping the public namespace clean
  4. hence because of the above the Standard Library will run under all ports
  5. the Library code is BSD

This work was originally uploaded 13/12/2021.




(c) Mark Tarver, 2021

Contents

1 The Standard Library

1.1 History
1.2 Structure

2. Symbols

2.1 Symbols
2.2 Symbol Operations

3. Basic Number Functions

3.1 Introduction
3.2 Number Recognition
3.3 Number Construction

4. Trigonometric Functions

4.1 Trigonometric Functions
4.2 Trigonometric Constants

5. Higher Order Numeric Functions

5.1 Approximation & Convergence
5.2 Iteration Using 'for'
5.3 Mathematical Series

6. Higher Numbers

6.1 Rational Numbers
6.2 Complex Numbers <
6.3 Numerals and Radices

7. Lists

7.1 List Recognition
7.2 List Construction
7.3 List Measurement
7.4 Higher Order List Functions

8. Strings

8.1 Shadowing
8.2 Shadowing in the String Library
8.3 String Recognition
8.4 String Construction
8.5 String Measurement
8.6 Numbers to Strings
8.7 Higher Order String Functions
8.8 Smart Strings

9. Vectors

9.1 Dense and Porous Vectors
9.2 Shadowing
9.3 Vector Assignments
9.4 Populating Vectors
9.5 Arrays
9.6 Vector Recognition
9.7 Vector Construction
9.8 Higher Order Vector Functions

10. Tuples

10.1 Tuples in Shen

11. File Handling

11.1 Large File Handling
11.2 File Handling Functions
11.3 Reading Large Data Sets

12. Pretty Printing

13. The Calendar Program

14 Encryption

System and Standard Library Functions

Built by Shen Technology (c) Mark Tarver, September 2021