diff options
author | mifpasoti <46360451+mifpasoti@users.noreply.github.com> | 2019-01-17 16:30:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 16:30:44 -0500 |
commit | 15cbbb1a853019910e6928427113c9ee6b0fcfba (patch) | |
tree | 3438fd903107f268bf7d8096759569eff9120250 /intro | |
parent | 7d48098c0dc8fd6225865065635168fdb3a323c7 (diff) | |
download | gtk-demos-15cbbb1a853019910e6928427113c9ee6b0fcfba.tar.gz gtk-demos-15cbbb1a853019910e6928427113c9ee6b0fcfba.tar.bz2 gtk-demos-15cbbb1a853019910e6928427113c9ee6b0fcfba.zip |
Add files via upload
Diffstat (limited to 'intro')
-rw-r--r-- | intro | 39 |
1 files changed, 26 insertions, 13 deletions
@@ -1,13 +1,26 @@ -These demos demonstrate using Gtk directly from a higher level language. None of the demos have any low level code in them. -There is no need for any makefiles, C compilers, or any other low level stuff. There is probably no need to install Gtk, -because it's probably already used by your Linux. Any high level language can be used if it has the right features. Using -sbcl is just one example of how to do this. - -When a demo script gets invoked, the code gets compiled into memory, by sbcl, with a very fast compiler, so there will be -no object files, executable binaries, etc., unless those are desired. The only requirement is to download or copy and -paste the demos and demostuff and make each demo executable with "chmod +x demo". Then run the demos with -"./demo1 ; ./demo2 ; ./demo3". - -If there are error messages about not finding sbcl, it might be necessary to install that, or to add it to the path. -Installing sbcl is easy, usually via the Linux distro. In the rare circumstance that a particular Linux distro doesn't -have sbcl, simply go to sbcl.org to download the sources or binary. +These demos demonstrate using Gtk directly from a higher level language. +None of the demos have any low level code in them. There is no need for +any makefiles, C compilers, or any other low level stuff. There is +probably no need to install Gtk, because it's probably already used by +your Linux. + +To use a different high level language for these demos, it is of course +necessary to edit them to change the language. But they aren't very long +and that might not take very long. It's strongly advised to run the +present demos first, and make some minor changes to them, to see the +differences, to make sure to understand how they work, before starting to +change them to a different language. + +When a demo script gets invoked, the code gets compiled into memory, with +a very fast compiler, so there will be no object files, executable binaries, +etc., unless those are desired. The only requirement is to download or copy +and paste the demos and demostuff and make each demo executable with +"chmod +x demo[1-4]". Then run the demos with "./demo4". + +If there are error messages about not finding sbcl, it might be necessary +to install that, or to add it to the path. Installing sbcl is easy, usually +via the Linux distro. + +In the rare circumstance that a particular Linux distro doesn't have sbcl, +you could install, via sbcl.org, either a binary version, or the sources to +compile. |