Scheme Programming/TinyScheme
Appearance
Developer(s) | Dimitrios Souflis, Kevin Cozens, Jonathan S. Shapiro |
---|---|
Stable release | 1.40 / Template:Release date |
Operating system | Cross-platform |
Type | Programming language |
License | BSD License |
Website | tinyscheme.sourceforge.net |
TinyScheme is a lightweight Scheme interpreter of a subset of the R5RS standard. It is meant to be used as an embedded scripting interpreter for other programs. Much of the functionality in TinyScheme is included conditionally, to allow developers to balance features and size/footprint.
TinyScheme is used by GIMP starting with version 2.4, released in 2007. GIMP previously used SIOD. [1]
TinyScheme was used as the core of Direct Revenue's adware, making it the world's most widely distributed Scheme runtime.[2]
Some Tutorials
[edit | edit source]Saving a textfile
[edit | edit source](define txt-output-file (open-output-file "file.txt"))
(display "text to write" txt-output-file)
(close-port txt-output-file)
The last line is especially important as elsewise the file would not be closed and could not be modified by other programs until e.g. GIMP is closed
References
[edit | edit source]- ↑ "GIMP - Script-Fu Migration Guide". gimp.org. Retrieved November 5, 2011.
- ↑ http://web.archive.org/web/20170606051321/http://philosecurity.org/2009/01/12/interview-with-an-adware-author
External links
[edit | edit source]- TinyScheme home page
- (link does not work)TinyScheme Documentation