From 6f33859f7f4a2b953681992fbcc7af3ba7b2285c Mon Sep 17 00:00:00 2001 From: lloyd konneker Date: Fri, 25 Oct 2024 07:46:23 -0400 Subject: [PATCH] Add ScriptFu language overview --- content/resource/script-fu/_index.md | 6 ++- .../resource/script-fu/language-overview.md | 45 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 content/resource/script-fu/language-overview.md diff --git a/content/resource/script-fu/_index.md b/content/resource/script-fu/_index.md index 28f548f..ecbda1e 100644 --- a/content/resource/script-fu/_index.md +++ b/content/resource/script-fu/_index.md @@ -8,7 +8,11 @@ show_subs = false * [Script-Fu Programmer's Reference](programmers-reference/) * [Debugging Script-Fu Plugins](debug-script-fu/) -* [Support for type byte in Script-Fu](scriptfu-byte-support/) * [ScriptFu Tools](scriptfu-tools/) + +Language Features + +* [Language Overview](language-overview/) +* [Support for type byte](scriptfu-byte-support/) * [Messaging functions](scriptfu-messaging/) diff --git a/content/resource/script-fu/language-overview.md b/content/resource/script-fu/language-overview.md new file mode 100644 index 0000000..811a5a9 --- /dev/null +++ b/content/resource/script-fu/language-overview.md @@ -0,0 +1,45 @@ ++++ +title = "Script-Fu Language Overview" +description = "The ScriptFu language, it's ancestry and features" +date = "2024-10-24" +weight = 3 +author = "Lloyd Konneker" ++++ + +ScriptFu is a system and a language. +This is an overview of the language. + +### Ancestry + +The language descends from TinyScheme from Scheme from Lisp. + +### Standards Conformance + +There are many dialects of Scheme. +There are standards specifying language features. +ScriptFu more or less conforms to the R5RS standard, +with the notable exception that it lacks hygenic macros. + +### Extra features + +The ScriptFu language has extra features not in any +other dialect of Scheme. +The main feature of ScriptFu language is that it defines the functions +of the GIMP PDB. +That is, you can call GIMP from a script. +Use the *PDB Browser* of the GIMP app to see the GIMP procedures you can call. + +There are a few other extra features: + + * Unicode strings using UTF-8 encoding + * the byte type + +### Summary + +Another way of saying this is: + +ScriptFu is an interpreter that embeds the TinyScheme interpreter. + +The TinyScheme interprets a subset of Scheme R5RS language. + +ScriptFu adds extra language features on top of TinyScheme. \ No newline at end of file -- GitLab