Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 uid=99(nobody) gid=98(nobody) groups=98(nobody) Safe-mode: OFF (not secure) /usr/doc/slang-1.4.5/html/ drwxr-xr-x | |
| Viewing file: Select action/file-type: 1. Preface
S-Lang is an interpreted language that was designed from the start to be easily embedded into a program to provide it with a powerful extension language. Examples of programs that use S-Lang as an extension language include the jed text editor, the slrn newsreader, and sldxe (unreleased), a numerical computation program. For this reason, S-Lang does not exist as a separate application and many of the examples in this document are presented in the context of one of the above applications. S-Lang is also a programmer's library that permits a programmer to develop sophisticated platform-independent software. In addition to providing the S-Lang extension language, the library provides facilities for screen management, keymaps, low-level terminal I/O, etc. However, this document is concerned only with the extension language and does not address these other features of the S-Lang library. For information about the other components of the library, the reader is referred to the The S-Lang Library Reference.
1.1 A Brief History of S-Lang
I first began working on S-Lang sometime during the fall of 1992. At that time I was writing a text editor (jed), which I wanted to endow with a macro language. It occured to me that an application-independent language that could be embedded into the editor would prove more useful because I could envision embedding it into other programs. As a result, S-Lang was born. S-Lang was originally a stack language that supported a
postscript-like syntax. For that reason, I named it S-Lang, where
the S was supposed to emphasize its stack-based nature. About
a year later, I began to work on a preparser that would allow one to
write using a more traditional infix syntax making it easier to use
for those unfamiliar with stack based languages. Currently, the
syntax of the language resembles C, nevertheless some
postscript-like features still remain, e.g., the `
1.2 Acknowledgements
Since I first released S-Lang, I have received a lot feedback about the library and the language from many people. This has given me the opportunity and pleasure to interact with several people to make the library portable and easy to use. In particular, I would like to thank the following individuals: Luchesar Ionkov Mark Olesen John Burnell Darrel Hankerson Dominik Wujastyk Michael Elkins Ulli Horlacher Hunter Goatley, Andy Harper Dave Sims Lloyd Zusman I am also grateful to many other people who send in bug-reports and bug-fixes, for without such community involvement, S-Lang would not be as well-tested and stable as it is. Finally, I would like to thank my wife for her support and understanding while I spent long weekend hours developing the library.
Next Previous Contents |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0044 ]-- |