Next Previous Contents

# S-Lang Library C Programmer's Guide, V2.0.4

## John E. Davis, `davis@space.mit.edu`

Jun 18, 2005

## 1. Preface

- 1.1 A Brief History of S-Lang
- 1.2 Acknowledgements

## 2. Introduction

## 3. Error Handling

## 4. Unicode Support

## 5. Interpreter Interface

- 5.1 Embedding the Interpreter
- 5.2 Calling the Interpreter
- 5.3 Intrinsic Functions
- 5.4 Intrinsic Variables
- 5.5 Aggregate Data Objects
- 5.6 Signals
- 5.7 Exceptions

## 6. Keyboard Interface

- 6.1 Initializing the Keyboard Interface
- 6.2 Resetting the Keyboard Interface
- 6.3 Initializing the `SLkp` Routines
- 6.4 Setting the Interrupt Handler
- 6.5 Reading Keyboard Input with SLang_getkey
- 6.6 Reading Keyboard Input with SLkp_getkey
- 6.7 Buffering Input
- 6.8 Global Variables

## 7. Screen Management

- 7.1 Initialization
- 7.2 Resetting SLsmg
- 7.3 Handling Screen Resize Events
- 7.4 SLsmg Functions
- 7.5 Variables
- 7.6 Hints for using SLsmg

## 8. Signal Functions

## 9. Searching Functions

- 9.1 Simple Searches
- 9.2 Regular Expressions

## Appendix

## 10. S-Lang 2 API NEWS and UPGRADE information

- 10.1 SLang_Error
- 10.2 SLsmg/SLtt Functions
- 10.3 SLsearch Functions
- 10.4 Regular Expression Functions
- 10.5 Readline Functions
- 10.6 Preprocessor Interface
- 10.7 Functions dealing with the interpreter C API
- 10.8 Modules

## 11. Copyright

- 11.1 The GNU Public License

Next Previous Contents